[NTG-context] tex4ht

Steffen Wolfrum context at st.estfiles.de
Tue Nov 16 14:45:19 CET 2004


Hi,

I wanted to try to convert a context's tex file to xml.
What exactly do I have to do (using tex4ht)?

Could someone give me some advice/example?

(Btw.: While looking for information I saw that there are two different m-tex4ht.tex files in cont-tmf - see below - is this correct?)


Steffen







/usr/local/teTeX/share/texmf.local/tex/context/base/m-tex4ht.tex

\input tex4ht.sty

\appendtoks
  \Preamble{\env{ht-1},\env{ht-2},html}\EndPreamble
\to \everystarttext

\endinput


AND


/usr/local/teTeX/share/texmf.local/tex/generic/tex4ht/m-tex4ht.tex

\immediate\write-1{version 2004-10-08-03:40}

\input tex4ht.sty
\appendtoks
   \Preamble{\env{opt-arg},,xhtml}\EndPreamble
\to \everystarttext
\endinput


More information about the ntg-context mailing list