![]()
(The Qwertz system or its descendant / perversion Sgml-Tools [nee
Linuxdoc] handles code snippets quite well -- you just put the code
inside <code> or <verb> tags. And they both translate into various
other formats. Qwertz is more limited for all I know, mainly LaTeX and
*roff, whereas Sgml-Tools includes downtranslators for HTML and
Texinfo and a couple more as well. I suppose you could try to retrofit
the Sgml-Tools additional translators back onto the original Qwertz
and end up with something more elegant than the current Stml-Tools.
Disclaimer: I have tried LaTeX, then Qwertz, then Linuxdoc, then
Sgml-Tools but never been satisfied with any of them enough to stop
looking for something better, preferrably still SGML based.
I have archived some pointers to other SGML systems from this
mailing list; mail me in private if you want me to dig them up. I
think mainly there was Docbook and then this apparently partly
homegrown thing the Amiga TCP FAQ writer uses which is described at
<http://www.phone.net/ATCPFAQ/FAQ.html>.)
Hope this helps,
/* era */
(Personally, I'd just write a simple preprocessor if some details in
the input formalism were bothersome to me. I currently do this for all
the HTML I produce; in quick paraphrase:
perl -pe 's/\&([^#])/\&\1/g; s/</\</g; s/>/\>/g;'
The actual preprocessor I use has an escape hatch so that <>:s are
only substituted inside actual example snippets. I use A like
entities when I have to. [The above example will politely leave &#
sequences untouched.]
The tool is too specific to be of any use to anybody but me, but if
you want to look at it [yes, it's in Perl], maybe you can try to bribe
me :-)
-- Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/> * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>
[
Usenet Hypertext FAQ Archive |
Search Mail Archive |
Authors |
Usenet
]
[
1993 |
1994 |
1995 |
1996 |
1997
]
![]()
© Copyright The Landfield Group, 1997
All rights reserved