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.44.2.1 -r1.44.2.2 --- openacs-4/packages/acs-core-docs/www/psgml-mode.html 18 Jun 2010 21:29:35 -0000 1.44.2.1 +++ openacs-4/packages/acs-core-docs/www/psgml-mode.html 12 Dec 2010 00:07:02 -0000 1.44.2.2 @@ -1,5 +1,10 @@ +<<<<<<< psgml-mode.html Using PSGML mode in Emacs

Using PSGML mode in Emacs

By David Lutterkort

+======= + +Using PSGML mode in Emacs

Using PSGML mode in Emacs

By David Lutterkort

+>>>>>>> 1.46 OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.

Note: nxml mode replaces and/or complements psgml mode. More information.

What it is

PSGML Mode is a mode for editing, umm, SGML and XML documents in emacs. It @@ -78,9 +83,18 @@ -->

Which says that the parent of this document can be found in the file +<<<<<<< psgml-mode.html 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.

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 Section , “OpenACS Documentation Guide”

($Id$)
View comments on this page at openacs.org
+======= +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.

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$)
View comments on this page at openacs.org
+>>>>>>> 1.46