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

Ross Moore ross at ics.mq.edu.au
Sun Mar 6 01:58:04 CET 2005


Hi Mike,

On 06/03/2005, at 11:40 AM, Mike FABIAN wrote:

> Ross Moore <ross at ics.mq.edu.au> さんは書きました:
>
>> 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
>
> After changing the file to look like this:
>
> mfabian at magellan:/tmp$ cat 
> /usr/share/texmf/tex/latex/hyperref/hyperref.cfg
> \ProvidesFile{hyperref.cfg}%
>   [2002/06/06 v1.2 hyperref configuration of TeXLive and teTeX]
     ^^^^^ ---------
This is very, very old now. It should be much more complicated than
what your file contains, including tests for different typesetting
engines and versions.

I don't know why it wasn't updated automatically with your
latest install.

Search for the latest  hyperref.cfg  that you can find on your
system, and/or the installation disks or archive.


> % Change default driver to "dvips" instead of "hypertex",
> % requires hyperref 2002/06/05 v6.72s
> \providecommand*{\Hy at defaultdriver}{hpdftex}%
> \endinput
> mfabian at magellan:/tmp$
>
> latex compiles the test file without error message:

Excellent!

However...

>
> 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/graphics/color.sty
> (/usr/share/texmf/tex/latex/graphics/color.cfg)
> (/usr/share/texmf/tex/latex/graphics/dvips.def)

   Your  color.cfg  must be out-of-date too.
   That should be loading  pdftex.def  or  pdfetex.def .


> (/usr/share/texmf/tex/latex/graphics/dvipsnam.def))
> (/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 hpdftex*
> (/usr/share/texmf/tex/latex/hyperref/hpdftex.def
> (/usr/share/texmf/tex/latex/psnfss/pifont.sty
> (/usr/share/texmf/tex/latex/psnfss/upzd.fd)
> (/usr/share/texmf/tex/latex/psnfss/upsy.fd)))) (./test.aux)
> (/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./test.out) 
> (./test.out)
> [1



> Non-PDF special ignored!
> Non-PDF special 
> ignored!{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}
> Non-PDF special ignored!
> Non-PDF special ignored!]

Those bad \special s are doubtless caused by the wrong color driver.

Leave out  \usepackage{color}  to check whether this is so.

But sometimes you will need/want color, so there is still a problem
to be fixed.


Have a look at the dates in these files:

> (/usr/share/texmf/tex/latex/graphics/color.sty
> (/usr/share/texmf/tex/latex/graphics/color.cfg)
> (/usr/share/texmf/tex/latex/graphics/dvips.def)

and also in these:

> (/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)

If they are not 2004 or later, then your recent
install may not have worked properly.

At least, that's my guess.



> (./test.aux) )</usr/share/texmf/fonts/type1/bluesky/c
> m/cmr10.pfb>
> Output written on test.pdf (1 page, 4840 bytes).
> Transcript written on test.log.
> mfabian at magellan:/tmp$
>
> I'll try some bigger test files now ...


Best of luck,

	Ross


>
> -- 
> Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
> 睡眠不足はいい仕事の敵だ。
>
>
------------------------------------------------------------------------
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