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.9 --- 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 28 Feb 2003 05:36:05 -0000 1.9 @@ -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