Tag Info

New answers tagged


Any existing tex-to-html or tex-to-xml convertor will be doing this already but if you are rolling your own code the easiest place to get the table of replacements that you need is in the file used by the utf8 inputenc option, which is doing the same job. utf8enc.dfu will be in your distribution in the same directory as article.cls, latex.ltx and the rest ...


If it is Document type definitions that you want, Pygments has support for it and produces a very neat output imo. For LaTeX documents you can harness it easily with the minted-package, e.g.: \documentclass{article} \usepackage{minted} \usemintedstyle{autumn} \begin{document} \begin{minted}{dtd} <!-- TEI P4 DTD. Generated 2004-07-15T16:23:29-04:00 ...

Top 50 recent answers are included