Wolfgang Engelmann wrote:
Am Mittwoch, 17. September 2008 12:21 schrieb rgheck:
Wolfgang Engelmann wrote:
I do not get a html export file, instead the following error message:
t4ht.c (2006-09-13-14:28 kpathsea)
t4ht -f/nuernberg2008e-pubB.tex
(/usr/share/texmf/tex4ht/tex4ht.env)
--- warning --- Can't find/open file `nuernberg2008e-pubB.lg'
what is the .lg file doing?
I think this is a file generated by t4ht itself that is supposed to give
it information it uses in generating the html. Why it's missing, I have
no idea.
As usual, the best way to start debugging this is to do everything
manually: Export your LyX file to LaTeX; mkdir /tmp/test/ and move the
LaTeX file there (to give you a fresh directory); run LaTeX itself (and
bibtex, and whatever else needs running); then run htlatex (or whatever)
manually, and watch the outcome.
Richard
Thanks, Richard
I followed your advice and found out I had to remove
\usepackage[pdftex,pagebackref=true,hyperindex=true]{hyperref}
and
\usepackage{url}
from the preamble.
I furthermore had to change in koma-script (article) latin modern roman, sans
and typewriter to standard roman, sans and typewriter
otherwise the latex run would not produce a dvi file
bibtex run is ok
However, htlatex does not produce the html file. error:
tex4ht.c (2006-09-13-14:27 kpathsea)
tex4ht -f/nuernberg2008e-pubB.tex
-i/usr/share/texmf/tex4ht/ht-fonts/
--- warning --- Can't find/open file `tex4ht.env | .tex4ht'
--- error --- Illegal storage address
This is presumably the problem: It's crashing the tex4ht run, which of
course means the next program doesn't find the file it needs to do its work.
----------------------------
t4ht.c (2006-09-13-14:28 kpathsea)
t4ht -f/nuernberg2008e-pubB.tex
(/usr/share/texmf/tex4ht/tex4ht.env)
--- warning --- Can't find/open file `nuernberg2008e-pubB.lg'
Is this the culprit? -> Can't find/open file `tex4ht.env | .tex4ht'
and what to do?
I think you'll need to raise this with the t4ht people. I don't know
nearly enough about that program to have much of an idea why it's crashing.
You might also try plastex, which does tex-->html, as well as other
things. If you get it working, you can add it to LyX as a converter.
(I've been thinking about doing this myself, too.)
Richard