This is the mail archive of the
davenport@berkshire.net
mailing list for the Davenport project.
Re: DAVENPORT: DocBook for documenting Python code
> solve. PSGML-mode also has a "hide markup" option in the menus
No default key binding, it seems; "m-x sgml-hide-markup" (and the
related "m-x sgml-hide-attributes".)
If you're using XML, you might want to
(setq sgml-tag-regexp
"\\(</?>\\|</?[_A-Za-z][---_:A-Za-z0-9.]*\\(\\([^'\"></]\\|'[^']*'\\|\"[^\"]*\"\\)*\\)/?>?\\)")
so that <foo/> tags don't leave behind /> characters; I've submitted a
bug report (via debian) on that one.
If you're having trouble reading through the markup, though, you might
consider using "m-x customize" to change the colors used in markup to
something dimmer. However, for plain reading (as opposed to "reading
with intent to edit" :-) I more often downconvert to HTML (via jade)
and use lynx or whatever browser is handy.
(I am also quite facile with emacs+PSGML, using it for HTML, DocBook,
and a few little custom DTDs, but I'm the sort that does *everything*
in emacs...)
_Mark_ <eichin@thok.org>
The Herd Of Kittens