1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339
|
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/TR/xhtml1/transitional"
>
<head>
<title>mn.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
<!--xhtml,th4,index-->
<meta name="src" content="mn.tex" />
<meta name="date" content="2001-02-28 17:02:00" />
<link rel="stylesheet" type="text/css" href="mn.css" />
</head><body
>
<h1 class="PartHead"><a
name="QQ1-1-1"></a>TeX4ht: LaTeX and TeX for Hypertext</h1>
<!--l. 1133--><p class="noindent">TeX4ht is a highly configurable TeX-based authoring system for producing hypertext. It interacts with TeX-based
applications through style files and postprocessors, leaving the processing of the source files to the native TeX
compiler. Consequently, TeX4ht can handle the features of TeX-based systems in general, and of the LaTeX and
AMS style files in particular.
</p><!--l. 1140--><p class="indent"> The examples of this document relate mainly to configurations tailored for HTML transitional 4.0, XHTML,
HTML 3.2, HTML for Microsoft Word, MathML, DocBook, TEI, and CSS. The document itself is available for
downloading in zipped format (<a
href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/tex4ht.zip" >osu</a>, <a
href="http://www.tug.org/applications/tex4ht/tex4ht.zip" >tug</a>).<sup>[<a
href="ftp://ftp.freesoftware.com/pub/infozip/zip.html" >unzip</a>]</sup>
</p>
<div class="TableOfContents"><span
class="cmsy-10">•</span><a
href="#QQ1-1-2" name="QQ2-1-2">Using the System</a> <span
class="cmsy-10">•</span><a
href="mn3.html#QQ1-3-4" name="QQ2-3-4">Features</a> <span
class="cmsy-10">•</span><a
href="#QQ1-1-28" name="QQ2-1-28">Installation</a> <span
class="cmsy-10">•</span><a
href="#QQ1-1-55" name="QQ2-1-55">Resources</a> <span
class="cmsy-10">•</span><a
href="#QQ1-1-70" name="QQ2-1-70">License</a>
<span
class="cmsy-10">•</span><a
href="#QQ1-1-71" name="QQ2-1-71">Acknowledgment</a> <span
class="cmsy-10">•</span><a
href="mn69.html#QQ1-69-73" name="QQ2-69-73">Index</a>
</div>
<h2 class="ChapterHead"><a
name="QQ1-1-2"></a>Using the System</h2>
<!--l. 1159--><p class="noindent">Typical LaTeX source files can be compiled into standard HTML and XML formats in a manner similar to the way
they are compiled into print formats, namely, through variations of the command <a
name="index1-2001"></a>‘<span
class="cmtt-10">htlatex </span><span
class="cmti-10">filename </span><span
class="cmtt-10">"</span><span
class="cmti-10">options1</span><span
class="cmtt-10">"</span>
<span
class="cmtt-10">"</span><span
class="cmti-10">option2</span><span
class="cmtt-10">" "</span><span
class="cmti-10">options3</span><span
class="cmtt-10">"</span>’. For instance,
</p><pre class="Verbatim"><span
class="cmtt-10">htlatex</span> <span
class="cmtt-10">foo</span>
<span
class="cmtt-10">htlatex</span> <span
class="cmtt-10">foo</span> <span
class="cmtt-10">"html,2,info"</span>
<span
class="cmtt-10">htlatex</span> <span
class="cmtt-10">foo</span> <span
class="cmtt-10">""</span> <span
class="cmtt-10">"dbcs/!"</span>
<span
class="cmtt-10">htlatex</span> <span
class="cmtt-10">foo</span> <span
class="cmtt-10">"foo,frames"</span> <span
class="cmtt-10">""</span> <span
class="cmtt-10">"-p"</span>
<span
class="cmtt-10">wlatex</span> <span
class="cmtt-10">foo</span>
</pre>
<!--l. 1173--><p class="indent"> In some platforms the double quotes should be replaced with single right-quotes, and in some cases they might
be omitted.
</p>
<h3 class="SubSectionHead"><a
name="QQ1-1-3"></a>References</h3>
<!--l. 1185--><p class="noindent">The main features of TeX4ht are described in:
</p><ul >
<li><img
src="http://www.awl.com/coverimage/0201433117.jpg" alt="[Picture]"
align="right" /> M. Goosen and S. Rahtz with E. Gurari, R. Moore, and R. Sutor, <a
href="http://cseng.aw.com" ><span
class="cmti-10">The LaTeX Web Companion</span></a>,
Addison-Wesley, 1999 (<a
href="http://www.addison-wesley.de/" >German translation</a>; <a
href="mn2.html" name="mn2.html" >changes</a> in recent distributions). </li>
<li>Fabrice Popineau, <a
href="http://www.gutenberg.eu.org/pub/GUTenberg/publicationsPDF/37-popineau.pdf" ><span
class="cmti-10">Affichez vos documents LaTeX sur le Web avec TeX4ht</span></a>, Cahiers GUTenberg 37-38, December
2000, 5-43 (French, PDF). </li>
<li><a
href="mn3.html" name="mn3.html" >Within</a> the current document. </li>
<li>In the .log files of the compilations. </li></ul>
<!--l. 4319--><p class="indent"> The documents <a
href="http://www.cis.ohio-state.edu/~gurari/docs/mml-00/mml-00.html" >From LaTeX to MathML and Back with TeX4ht and PassiveTeX</a>, <a
href="http://www.cis.ohio-state.edu/~gurari/tug99/" >LaTeX to XML/MathML</a>,
and <a
href="http://www.cis.ohio-state.edu/~gurari/tug97/tug97-h.html" >A demonstration of TeX4ht</a> may provide additional insight into the system (and some outdated
details).
</p>
<h2 class="ChapterHead"><a
name="QQ1-1-28"></a>Installation</h2>
<!--l. 4333--><p class="noindent">To be installed, the system needs a port made up of native utilities of TeX4ht and of non-native utilities (see
<a
href="mn29.html" name="mn29.html" >overview</a>). The <a
href="http://www.tug.org/tex-live.html" >TeX Live</a> and <a
href="http://4tex.ntg.nl/" >4allTeX</a> CD-ROM distributions, the <a
href="ftp://ftp.suse.com/" >SuSE</a> package management (<a
href="http://www.rpm.org/" >RPM</a>) directory, and the
<a
href="ftp://ftp.debian.org/" >Debian Linux</a>, <a
href="http://www.ese-metz.fr/~popineau/fptex/wwwfptex.html" >fpTeX</a> , and <a
href="ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2apps/tex/" >simtelnet</a> distributions, include installed versions of these utilities. Hence, users having
no need for the latest version of TeX4ht might be well served by getting the system from the above
distributions.
</p><!--l. 4514--><p class="indent"> The current document gives instructions on how to establish ports for <a
href="mn30.html" name="mn30.html" >Unix</a> and <a
href="mn34.html" name="mn34.html" >MS Windows</a>. Alternative ports for these and other platforms can be tailored in a <a
href="mn38.html" name="mn38.html" >similar manner</a>.
</p><!--l. 6469--><p class="indent"> Philip A. Viton discusses in details issues of installing TeX4ht under <a
href="http://www.arch.ohio-state.edu/crp/faculty/pviton/support/tex4ht.html" >MikTeX</a> and <a
href="http://www.arch.ohio-state.edu/crp/faculty/pviton/support/swpht.html" >Scientific Word/WorkPlace</a>,
but many of the topics apply also to other platforms. The <a
href="http://www.cis.ohio-state.edu/~gurari/dosports/readme.html" >port</a> Gertjan Klein proposed for an older version of
TeX4ht suggests alternative ways to conduct the translation of pictures into gif’s. Steven Zeil offers <a
href="http://www.cs.odu.edu/~zeil/tex4ht/tex4ht_discussion.html" target="_blank" >improvements</a>
for the above settings.
</p><!--l. 6490--><p class="indent"> Steve Mayer programmed a <a
href="http://www.mayer.dial.pipex.com/tex.htm" >graphical user interface</a> for a set of converters on MS Windows, supporting also
TeX4ht.
</p><!--l. 6496--><p class="noindent"><a
href="mn48.html" name="mn48.html" >trouble shooting</a> <span class="cmtt-10">| </span><a
href="mn50.html" name="mn50.html" >Q/A</a> <span class="cmtt-10">| </span><span class="bugfixes"><a
href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/bugfixes.html" >bug fixes</a></span>
</p>
<h2 class="ChapterHead"><a
name="QQ1-1-55"></a>Resources</h2>
<table id="TBL-23"
><tr valign="top" >
<td
> Languages: </td><td
><a
href="mn51.html" name="mn51.html" >LaTeX</a>, <a
href="mn52.html" name="mn52.html" >TeX</a>, <a
href="mn53.html" name="mn53.html" >HTML</a>, <a
href="mn54.html" name="mn54.html" >XML</a>, <a
href="mn55.html" name="mn55.html" >MathML</a>, <a
href="mn56.html" name="mn56.html" >DocBook</a>, <a
href="mn57.html" name="mn57.html" >TEI</a>, <a
href="mn58.html" name="mn58.html" >Style Sheets</a>, <a
href="mn59.html" name="mn59.html" >DTDs</a>, <a
href="mn60.html" name="mn60.html" >Validators</a> </td></tr><tr valign="top" >
<td
>Converters<br />into<br />HTML/XML: </td><td
>
<div class="converters">
<a
href="http://rikblok.cjb.net/scripts/" target="_blank" >Bbl2HTML</a> <sup><a
href="mn61.html#mn61-1" name="mn61-1" >1</a></sup>, <a
href="http://www.astro.gla.ac.uk/users/norman/distrib/bibhtml.html" target="_blank" >BibHTML</a>
<sup><a
href="mn61.html#mn61-2" name="mn61-2" >2</a></sup>, <a
href="http://www.softseek.com/authors/GALLAND__S_index.html" target="_blank" >Bib2HTML</a> <sup><a
href="mn61.html#mn61-3" name="mn61-3" >3</a></sup>, <a
href="http://eame.ethics.ubc.ca/users/rikblok/scripts/" target="_blank" >Bib2HTML</a>
<sup><a
href="mn61.html#mn61-4" name="mn61-4" >4</a></sup>, <a
href="http://www.lri.fr/~filliatr/bibtex2html/index.en.html" target="_blank" >BibTeX2HTML</a>
<sup><a
href="mn61.html#mn61-5" name="mn61-5" >5</a></sup>, <a
href="http://www.mostang.com/%7Edavidm/dlh.html" target="_blank" >Dlh</a>
<sup><a
href="mn61.html#mn61-6" name="mn61-6" >6</a></sup>, <a
href="http://www.dcs.fmph.uniba.sk/~emt/EmSystem.html" target="_blank" >Euromath</a>
<sup><a
href="mn61.html#mn61-7" name="mn61-7" >7</a></sup>, <a
href="http://math.albany.edu:8000/math/pers/hammond/igl.html" target="_blank" >GELLMU</a> <sup><a
href="mn61.html#mn61-8" name="mn61-8" >8</a></sup>,
<a
href="http://para.inria.fr/~maranget/hevea" target="_blank" >HEVEA</a> <sup><a
href="mn61.html#mn61-9" name="mn61-9" >9</a></sup>, <a
href="http://nash.colorado.edu/tomruth/htex.htm" target="_blank" >HTeX</a>
<sup><a
href="mn61.html#mn61-10" name="mn61-10" >10</a></sup>, <a
href="http://www-db.stanford.edu/~sergey/htmltex/" target="_blank" >HtmlTeX</a>
<sup><a
href="mn61.html#mn61-11" name="mn61-11" >11</a></sup>, <a
href="ttp://www.math.uic.edu/~fields/htmx/" target="_blank" >HTMX</a> <sup><a
href="mn61.html#mn61-12" name="mn61-12" >12</a></sup>,
<a
href="http://www.cs.uu.nl/~otfried/Hyperlatex" target="_blank" >HyperLaTeX</a> <sup><a
href="mn61.html#mn61-13" name="mn61-13" >13</a></sup>,
<a
href="http://xxx.lanl.gov/hypertex/" target="_blank" >HyperTeX</a> <sup><a
href="mn61.html#mn61-14" name="mn61-14" >14</a></sup>, <a
href="http://www-texdev.mpce.mq.edu.au/l2h/docs/manual/" target="_blank" >LaTeX2HTML</a>
<sup><a
href="mn61.html#mn61-15" name="mn61-15" >15</a></sup>, <a
href="http://sunsite.sut.ac.jp/pub/archives/ctan/support/latex2hyp/" target="_blank" >LaTeX2hyp</a>
<sup><a
href="mn61.html#mn61-16" name="mn61-16" >16</a></sup>, <a
href="http://ctan.tug.org/tex-archive/support/latex2man/latex2man.html" target="_blank" >LaTeX2man</a> <sup><a
href="mn61.html#mn61-17" name="mn61-17" >17</a></sup>, <a
href="http://www.best.com/~quong/" target="_blank" >Ltoh</a> <sup><a
href="mn61.html#mn61-18" name="mn61-18" >18</a></sup>, <a
href="ftp://ftp.dante.de/tex-archive/support/ltx2x/ltx2x.html" target="_blank" >Ltx2x</a>
<sup><a
href="mn61.html#mn61-19" name="mn61-19" >19</a></sup>,
<a
href="http://www.go.dlr.de/fresh/unix/src/www/.warix/math2html-1.3.tar.gz.html" target="_blank" >Math2HTML</a> <sup><a
href="mn61.html#mn61-20" name="mn61-20" >20</a></sup>,
<a
href="http://www.stilo.com/stiloandmathematics.htm" target="_blank" >MathWriter</a> <sup><a
href="mn61.html#mn61-21" name="mn61-21" >21</a></sup>, <a
href="http://www.micropress-inc.com/webb/wbstart.htm" target="_blank" > MicroPress TeXpider</a> <sup><a
href="mn61.html#mn61-22" name="mn61-22" >22</a></sup>, <a
href="http://www.maths.tcd.ie/pub/openmath/" target="_blank" >Ml2om</a>
<sup><a
href="mn61.html#mn61-23" name="mn61-23" >23</a></sup>, <a
href="http://www.igd.fhg.de/~zach/vim/index.html" target="_blank" >TeX2HTML</a> <sup><a
href="mn61.html#mn61-24" name="mn61-24" >24</a></sup>, <a
href="http://www.cs.rice.edu/~dorai/tex2page/tex2page.html" target="_blank" >TeX2Page</a>
<sup><a
href="mn61.html#mn61-25" name="mn61-25" >25</a></sup>, <a
href="http://web.ukonline.co.uk/julian.smart/tex2rtf" target="_blank" >TeX2RTF</a>
<sup><a
href="mn61.html#mn61-26" name="mn61-26" >26</a></sup>, <a
href="http://www.mathematik.uni-kl.de/~obachman/Texi2html/" target="_blank" >Texi2HTML</a> <sup><a
href="mn61.html#mn61-27" name="mn61-27" >27</a></sup>, <a
href="http://sunland.gsfc.nasa.gov/info/texi2www/" target="_blank" >Texi2www</a>
<sup><a
href="mn61.html#mn61-28" name="mn61-28" >28</a></sup>
, <a
href="http://www.ktalk.com/texport-web.html" target="_blank" >TeXPort WEB</a> <sup><a
href="mn61.html#mn61-29" name="mn61-29" >29</a></sup>, <a
href="http://www-unix.mcs.anl.gov/~gropp/manuals/tohtml/tohtml.html" target="_blank" >Tohtml</a>
<sup><a
href="mn61.html#mn61-30" name="mn61-30" >30</a></sup>, <a
href="http://hutchinson.belmont.ma.us/tth/" target="_blank" >Tth</a> <sup><a
href="mn61.html#mn61-31" name="mn61-31" >31</a></sup>, <a
href="http://www.plover.com/~mjd/vulcanize.html" target="_blank" >Vulcanize</a> <sup><a
href="mn61.html#mn61-32" name="mn61-32" >32</a></sup></div></td></tr><tr valign="top" >
<td
>Backward<br />Converters: </td><td
>
<div class="converters">
<a
href="http://www.chemie.fu-berlin.de/chemnet/use/gf.html" target="_blank" >Gf</a> <sup><a
href="mn62.html#mn62-1" name="mn62-1" >1</a></sup>, <a
href="http://www.wildfire.dircon.co.uk/htex.html" target="_blank" >Htex</a> <sup><a
href="mn62.html#mn62-2" name="mn62-2" >2</a></sup>, <a
href="http://www.lib.rpi.edu/dept/acs/rpinfo/filters/GChtml2latex/" target="_blank" >HTML2LaTeX</a> <sup><a
href="mn62.html#mn62-3" name="mn62-3" >3</a></sup>, <a
href="ftp://ftp.dante.de/tex-archive/support/html2latex/" target="_blank" >HTML2LaTeX</a> <sup><a
href="mn62.html#mn62-4" name="mn62-4" >4</a></sup>, <a
href="http://www.igd.fhg.de/~zach/vim/" target="_blank" >HTML2TeX</a> <sup><a
href="mn62.html#mn62-5" name="mn62-5" >5</a></sup>, <a
href="http://www.tug.org/applications/jadetex/" target="_blank" >JadeTeX</a>
<sup><a
href="mn62.html#mn62-6" name="mn62-6" >6</a></sup>, <a
href="http://users.ox.ac.uk/~rahtz/passivetex/" target="_blank" >Passive TeX</a> <sup><a
href="mn62.html#mn62-7" name="mn62-7" >7</a></sup>, <a
href="http://www.ucc.ie/info/TeX/sgml2tex.html" target="_blank" >SGML2TeX</a> <sup><a
href="mn62.html#mn62-8" name="mn62-8" >8</a></sup>,
<a
href="http://www.active-tex.demon.co.uk" target="_blank" >SGMLbase</a> <sup><a
href="mn62.html#mn62-9" name="mn62-9" >9</a></sup>, <a
href="http://www.alphaworks.ibm.com/aw.nsf/techreqs/texml" target="_blank" >TeXML</a> <sup><a
href="mn62.html#mn62-10" name="mn62-10" >10</a></sup>, <a
href="ftp://ftp.tex.ac.uk://tex-archive/macros/latex/contrib/supported/carlisle/" target="_blank" >TypeHTML</a>
<sup><a
href="mn62.html#mn62-11" name="mn62-11" >11</a></sup>, <a
href="http://www.tex.ac.uk/tex-archive/macros/passivetex/" target="_blank" >TypeXML</a> <sup><a
href="mn62.html#mn62-12" name="mn62-12" >12</a></sup>, <a
href="ftp://ftp.tex.ac.uk:/tex-archive/macros/xmltex/base/manual.html" target="_blank" >XMLTeX</a> <sup><a
href="mn62.html#mn62-13" name="mn62-13" >13</a></sup>, <a
href="http://www.jclark.com/xml/xt.html" target="_blank" >XT</a> <sup><a
href="mn62.html#mn62-14" name="mn62-14" >14</a></sup>, <a
href="http://www.cis.ohio-state.edu/~gurari/tug99/indexSl57.html" target="_blank" >Brute Force</a> <sup><a
href="mn62.html#mn62-15" name="mn62-15" >15</a></sup></div></td></tr><tr valign="top" >
<td
>Converters for<br />other formats: </td><td
>
<div class="converters">
<a
href="http://www.astro.gla.ac.uk/users/norman/star/dvi2bitmap/" target="_blank" >Dvi2bitmap</a> <sup><a
href="mn63.html#mn63-1" name="mn63-1" >1</a></sup>, <a
href="http://gaspra.kettering.edu/dvipdfm/" target="_blank" >Dvipdfm</a> <sup><a
href="mn63.html#mn63-2" name="mn63-2" >2</a></sup>, <a
href="http://pantheon.yale.edu/~pmm34/leq.html" target="_blank" >LEQ</a> <sup><a
href="mn63.html#mn63-3" name="mn63-3" >3</a></sup>, <a
href="http://tug.org/applications/pdftex/" target="_blank" >PdfTeX</a> <sup><a
href="mn63.html#mn63-4" name="mn63-4" >4</a></sup>, <a
href="http://shika.aist-nara.ac.jp/products/plain2/plain2.html" target="_blank" >Plain2</a> <sup><a
href="mn63.html#mn63-5" name="mn63-5" >5</a></sup>, LaTeX to ... <sup><a
href="mn63.html#mn63-6" name="mn63-6" >6</a></sup></div></td></tr><tr valign="top" >
<td colspan="2"
align="left"
> <a
href="mn64.html" name="mn64.html" >Conversion to Bitmaps</a> <span class="cmtt-10">| </span><a
href="mn65.html" name="mn65.html" >math on the web</a> <span class="cmtt-10">| </span><a
href="mn66.html" name="mn66.html" >web publishing with LaTeX</a> <span class="cmtt-10">| </span><a
href="mn67.html" name="mn67.html" >conversion services</a> </td></tr></table>
<h2 class="ChapterHead"><a
name="QQ1-1-70"></a>License</h2>
<!--l. 8129--><p class="noindent">TeX4ht is provided under the <a
href="ftp://tug.ctan.org/tex-archive/macros/latex/base/lppl.txt" >LaTeX Project Public License</a> (LPPL). However, it is allowed to modify the files
without changing their names, if the signatures of the files are modified (see copyright notices within the
files).
</p>
<h2 class="ChapterHead"><a
name="QQ1-1-71"></a>Acknowledgment</h2>
<!--l. 8139--><p class="noindent">I am very grateful for the suggestions, contributions, and bug reports offered by many people. In particular, thanks
go to Gertjan Klein and Sebastian Rahtz who got deeply involved in the project for long periods of time, and to
Philip Viton for his documentation.
</p>
<div class="SIGN"><span class="cmti-10">Eitan M. Gurari</span><br /><a
href="mailto:gurari@cis.ohio-state.edu" ><span class="cmti-10">gurari@cis.ohio-state.edu</span></a><br /><span class="cmti-10">February 28, 2001</span></div>
</body></html>
|