Index: openacs-4/packages/acs-core-docs/www/psgml-mode.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/psgml-mode.html,v diff -u -r1.8 -r1.8.2.1 --- openacs-4/packages/acs-core-docs/www/psgml-mode.html 10 Aug 2002 20:07:21 -0000 1.8 +++ openacs-4/packages/acs-core-docs/www/psgml-mode.html 24 Nov 2002 21:29:18 -0000 1.8.2.1 @@ -1,9 +1,9 @@ -Using PSGML mode in Emacs

Using PSGML mode in Emacs

+Using PSGML mode in Emacs

Using PSGML mode in Emacs

By David Lutterkort
- OpenACS docs are written by the named authors, but may be edited - by OpenACS documentation staff. -

What it is

PSGML Mode is a mode for editing, umm, SGML and XML documents in emacs. It + OpenACS docs are written by the named authors, but may be edited + by OpenACS documentation staff. +

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. But even without a DTD, @@ -84,6 +84,4 @@ element is a sect1.

How to use it

Of course, you should read the emacs texinfo pages that come with PSGML mode from start to finish. Barring that, here are some handy commands:

KeyCommand
C-c C-eInsert an element. Uses completion and only lets you insert elements that are valid
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-eDescribe element. Shows for one element which elements can be parents, -what its contents can be and lists its attributes.

Further reading

Start with the OpenACS Documentation Guide

($Id$)
+what its contents can be and lists its attributes.

Further reading

Start with the OpenACS Documentation Guide

($Id$)
View comments on this page at openacs.org