Hyperlatex learns LyX
You can download here the .hlx files I am using,
to convince hyperlatex to not bail out, when compiling a LyX file.
You have to put them into the directory
-
.hyperlatex
in your home directory, or in the global hyperlatex "macro"
directory. Then you can edit a document at your pleasure in LyX,
put something like the following into the Format->LaTeX Preamble
dialog box.
-
\usepackage{hyperlatex}
\htmltitle{Jorge Leon}
\htmladdress{Autor:\xlink{Jorge.Lehner}{mailto:Jorge.Lehner@gmx.net} \xlink{homepage}{/}}
\htmldirectory{html}
\htmlname{index}
and get your Document converted into html by issueing:
-
$ lyx -e latex filename.lyx
$ hyperlatex filename.tex
- Notes:
-
- I have to fumble around with init.hlx, because LyX uses some TeX
constructs in the preamble, which would not be understood by hyperlatex
afterwards.
- The files are a real, unstructered mess. I write them in a completely
caotic manner, just when a compiling error pops up. Feel free to re-order
them and update me.
- Each documentclass has its own constructs, which are not understood
by hyperlatex. I use Koma Script Articles all the time, so this is
all I got so far... contributions are really welcome.
Jorge.Lehner@gmx.net