A quick hack to convert a commented XML DTD to LaTeX source for printing.


dtd2latex filename(s)
Convert the DTDs to LaTeX source and write it to stdout. If no filenames are given, dtd2latex reads from stdin.


The latest version is 0.1.2. This should work under perl5.6 without complaining.


This program is in the public domain. This means there are no copyright restrictions, you may do what you wish with it. Of course, giving credit would be appreciated (but not required).

It is offered as-is with no warranty whatsoever.


Probably lots. In particular DTDs or their comments might contain characters which LaTeX cannot handle - being new to LaTeX, I don't have a definitive list of which ASCII characters are not allowed and how to quote them.


Please contact me, Ed Avis <ed@membled.com> with any suggestions or bug reports.

Dtd2latex has a web page at http://membled.com/work/apps/dtd2latex/.

Edward Avis

Stop software patents in the EU
Last modified: Mon Jan 22 12:59:21 GMT 2001