Using PSGML mode in Emacs
By David Lutterkort
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.
PSGML Mode is a mode for editing, umm, SGML and XML documents in emacs. It
@@ -13,7 +13,7 @@
you if it found it or not.
If you don't have PSGML preinstalled in your Emacs, there are two
things you can do:
The easiest way to teach PSGML mode about a DTD is by adding it to your
own CATALOG
. Here is an example of how you can set that up for the
Docbook XML DTD.
Get the Docbook XML DTD
@@ -81,6 +81,6 @@
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
.
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: