Index: openacs-4/packages/acs-core-docs/www/psgml-mode.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/psgml-mode.adp,v diff -u -r1.1.2.5 -r1.1.2.6 --- openacs-4/packages/acs-core-docs/www/psgml-mode.adp 9 Jun 2016 08:44:50 -0000 1.1.2.5 +++ openacs-4/packages/acs-core-docs/www/psgml-mode.adp 23 Jun 2016 08:32:46 -0000 1.1.2.6 @@ -18,8 +18,8 @@

What it is

PSGML Mode is a mode for editing, umm, SGML and XML documents in emacs. It can parse a DTD and help you insert the right tags in the -right place, knows about tags' attributes and can tell you in which -contexts a tag can be used. If you give it the right DTD, that is. +right place, knows about tags' attributes and can tell you in +which contexts a tag can be used. If you give it the right DTD, that is. But even without a DTD, it can save you some typing since pressing C-c/ will close an open tag automatically.

@@ -29,10 +29,9 @@ find out whether your emacs has it with the locate-library command. In Emacs, type M-x locate-library and enter psgml. Emacs will tell you if -it found it or not.

If you don't have PSGML preinstalled in your Emacs, there are -two things you can do:

    -
  1. On Linux: Get the psgml rpm from RedHat's -docbook-tools and install it as usual.

  2. On other systems: Get the tarball from the PSGML Website. Unpack it and follow the install +it found it or not.

    If you don't have PSGML preinstalled in your Emacs, there +are two things you can do:

      +
    1. On Linux: Get the psgml rpm from RedHat's docbook-tools and install it as usual.

    2. On other systems: Get the tarball from the PSGML Website. Unpack it and follow the install instructions.

@@ -57,8 +56,8 @@ get from W3C ? The DTD is in the zip archives and tarballs available on the site.)

-

That's it. Now you are ready to tell emacs all about PSGML mode -and that funky CATALOG +

That's it. Now you are ready to tell emacs all about PSGML +mode and that funky CATALOG

@@ -117,7 +116,7 @@ file top.xml, that the element in the parent that will enclose the current document is a book and that the current -file's topmost element is a sect1.

+file's topmost element is a sect1.

How to use it

Of course, you should read the emacs texinfo pages that come @@ -134,7 +133,7 @@ C-c C-aEdit attributes of enclosing element. -C-c C-x C-iShow information about the document's DTD. +C-c C-x C-iShow information about the document's DTD. C-c C-x C-eDescribe element. Shows for one element which elements can be parents, what its contents can be and lists its attributes. @@ -146,8 +145,8 @@ Further reading

Start with the the section called “OpenACS Documentation Guide” -

($‌Id: psgml-mode.xml,v 1.8 2006/07/17 05:38:37 -torbenb Exp $)
+

($‌Id: psgml-mode.html,v 1.48.2.10 2016/06/21 +07:44:36 gustafn Exp $)