[OS X TeX] HTML 2 LaTeX script and Tinderbox

Adam R. Maxwell amaxwell at mac.com
Sat Dec 4 22:14:03 CET 2004


On Dec 4, 2004, at 08:40, Robert Ullrey wrote:

> My question: Is there a script to run that can replace html code with
> LaTeX code, e.g., <h1> foo</h1> replaced with \chapter{foo} etc. ?

Frans Faase's html2tex program 
<http://home.planet.nl/~faase009/html2tex.html> might do what you want. 
  It compiles cleanly on OS X (you need the developer tools installed).  
Brief instructions follow.

hth,
Adam

To download the source, use Terminal:

`curl http://home.planet.nl/~faase009/html2tex_c.txt -o html2tex.c`

to compile:

cc -o html2tex html2tex.c

to run:

/path/to/html2tex file.html
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list