Login | Register
My pages Projects Community openCollabNet

argouml
Wiki: Diff for "Docbook editing For Emacs Users"

Edit this page | Links to this page | Page information | Attachments | Refresh page

 

Differences between revisions 1 and 2 (spanning 2 versions)

Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
    *

     
Emacs' local variables appear in a few lines of comment at the bottom of each XML file. Please don't delete these!
    *

     
Adding {{{(setq sgml-set-face t)}}} to your .emacs file will cause all tags and entities to appear in boldface.
    *

      Adding {{{(setq sgml-auto-activate-dtd t)}}} to your .emacs file will ensure the
DocBook DTD is parsed as soon as the file is loaded.
    * Emacs' local variables appear in a few lines of comment at the bottom of each XML file. Please don't delete these!
    * Adding {{{(setq sgml-set-face t)}}} to your .emacs file will cause all tags and entities to appear in boldface.
    * Adding {{{(setq sgml-auto-activate-dtd t)}}} to your '''.emacs''' file will ensure the !DocBook DTD is parsed as soon as the file is loaded.

If you use the psgml library within emacs, then editing and verifying XML gets easier. Information on using this facility is inluded with psgml.

  • Emacs' local variables appear in a few lines of comment at the bottom of each XML file. Please don't delete these!
  • Adding (setq sgml-set-face t) to your .emacs file will cause all tags and entities to appear in boldface.

  • Adding (setq sgml-auto-activate-dtd t) to your .emacs file will ensure the DocBook DTD is parsed as soon as the file is loaded.


CategoryFromCookbook

Docbook editing For Emacs Users (last edited 2010-01-03 16:58:37 -0800 by linus)