[l2h] latex2html doesn't work anymore with tetex 3.0?

Ross Moore ross at ics.mq.edu.au
Sat Mar 5 15:40:54 CET 2005


Hello Mike,

On 05/03/2005, at 6:34 AM, Mike FABIAN wrote:

> latex2html seems to have stopped working with tetex 3.0.
>
> I made a very small test file which works fine with tetex-2.0.2 (as
> available on SuSE Linux 9.2) but fails with tetex-3.0 (in the current
> beta version of SuSE Linux).


> When trying to compile this file with "latex" from the tetex-3.0
> distribution, I get the error message:
>
>     mfabian at magellan:/tmp$ latex test.tex
>     This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
>     entering extended mode
>     (./test.tex
>     LaTeX2e <2003/12/01>
>     Babel <v3.8d> and hyphenation patterns for american, french, 
> german, ngerman, b
>     ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
> esperanto, e
>     stonian, finnish, greek, icelandic, irish, italian, latin, magyar, 
> norsk, polis
>     h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
> swedish, tur
>     kish, ukrainian, nohyphenation, loaded.
>     (/usr/share/texmf/tex/latex/base/article.cls
>     Document Class: article 2004/02/16 v1.4f Standard LaTeX document 
> class
>     (/usr/share/texmf/tex/latex/base/size10.clo))
>     (/usr/share/texmf/tex/latex/html/html.sty
>     (/usr/share/texmf/tex/latex/hyperref/hyperref.sty
>     (/usr/share/texmf/tex/latex/graphics/keyval.sty)
>     (/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
>     (/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
>     Implicit mode ON; LaTeX internals redefined
>     (/usr/share/texmf/tex/latex/html/url.sty))
>     *hyperref using default driver hdvips*
>     (/usr/share/texmf/tex/latex/hyperref/hdvips.def
>     (/usr/share/texmf/tex/latex/hyperref/pdfmark.def)))
>     No file test.aux.
>     (/usr/share/texmf/tex/latex/hyperref/nameref.sty)
>     ! Missing \endcsname inserted.
>     <to be read again>
>                        \color at endgroup

I don't see anything here that loads  color.sty .

Try adding  \usepackage{color}
to the preamble of your test document.
Hopefully that will bypass the problem.


>     l.6 \end
>             {document}
>     ? x
>     No pages of output.
>     Transcript written on test.log.
>     mfabian at magellan:/tmp$
>
> Do you have any idea what is wrong? Does latex2html need to be adapted
> to tetex-3.0?
>
> Or am I doing something stupid?

No, you haven't done anything stupid.

It looks to me like something is using color
without having ensured that color is loaded.

It could be that something needs to be changed
in  html.sty  to adapt to whatever is forcing
this use of (or checking for) color, perhaps due
to recent changes in some of the other packages.


Please let me know if loading the color package
has any effect.


Hmm; now I see a different problem.
  teTeX 3.0  now uses  pdfeTeX  as the typesetting engine,
rather than the older traditional LaTeX.

Hyperref is being loaded above with the  'hdvips'  driver.
This is wrong. It should now be the  hpdftex  driver.

Your  hyperref.cfg  file should detect this.

> /usr/share/texmf/tex/latex/hyperref/hyperref.cfg

and load the correct driver.

Can you show me the contents of this file please.


Best regards,

	Ross Moore


>
> -- 
> Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
> 睡眠不足はいい仕事の敵だ。
>
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------



More information about the latex2html mailing list