[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debiandoc-sgml and psgml mode in (x)emacs


The DebianDoc-SGML DTD has an <example> with properties similar to the 
<pre> tag in HTML.  However, normalizing a DebianDoc-SGML based source
file using the psgml mode in (X)emacs has the rather inconvenient side 
effect that everything between <example> and </example> is not nicely
left aligned which makes the resulting output being less than optimal. 
Doing the same normalizing with HTML based source code has everything
between <pre> and </pre> nicely left aligned.

I've already looked in the source code of psgml and found the variable
"sgml-inhibit-indent-tags" which in HTML is set to ("pre").  Setting
this in the local variables in a DebianDoc-SGML based source file to
("example") should take care of this.  Unfortunately, it still doesn't 
work as expected.  Checking the value of the variable inside emacs
reveals that it's set to ("example"), but somehow psgml doesn't pick
it up.  Could anybody with more knowledge of this help out?

Ardo van Rangelrooij
home email: avrangel@flevonet.nl, ardo@debian.org
home page:  http://www.tip.nl/users/ardo.van.rangelrooij
PGP fp:     3B 1F 21 72 00 5C 3A 73  7F 72 DF D9 90 78 47 F9

Reply to: