[l2h] latex2html doesn't work anymore with tetex 3.0?
Ross Moore
ross at ics.mq.edu.au
Sun Mar 6 03:35:53 CET 2005
Hi Mike, and Werner,
On 06/03/2005, at 12:38 PM, Mike FABIAN wrote:
> Ross Moore <ross at ics.mq.edu.au> さんは書きました:
>
>> 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.
>>
>> Search for the latest hyperref.cfg that you can find on your
>> system, and/or the installation disks or archive.
I've done a bit of searching and found that it's not the
age of the hyperref.cfg file that matters.
On my system --- MacOS X, but that's not really relevant ---
there are two of them, as follows.
This one works, and is the default:
[GlenLivet:]% more
/usr/local/teTeX/share/texmf/tex/latex/texlive/hyperref.cfg
\ProvidesFile{hyperref.cfg}%
[2001/06/04 v1.0 hyperref configuration of TeXLive]
%\@ifundefined{pdfoutput}{\ExecuteOptions{dvips}}{\ExecuteOptions{pdftex
}}
\@ifundefined{pdfliteral}{\ExecuteOptions{dvips}}{\ExecuteOptions{pdftex
}}
\endinput
This one is later, but isn't being used:
[GlenLivet:]% more /usr/TeX/texmf/tex/latex/texlive/hyperref.cfg
\ProvidesFile{hyperref.cfg}%
[2002/06/06 v1.2 hyperref configuration of TeXLive]
% Change default driver to "dvips" instead of "hypertex",
% requires hyperref 2002/06/05 v6.72s
\providecommand*{\Hy at defaultdriver}{hdvips}%
\endinput
Note that both of these have come from TeXLive distributions,
which may be slightly different to the teTeX distributed
by fink .
Since hyperref.sty contains coding to work out which driver is
correct, given just the hint of the kind of engine being used,
then the older 2001 version is preferred.
The 2002 version is just setting a bad default of 'hdvips'
without employing the extra logic that would come with use of
\ExecuteOptions{pdftex} .
There is *no later version* of hyperref.cfg supplied with the
hyperref.dtx and hyperref.ins bundle, currently at CTAN.
Indeed hyperref.cfg is not supplied that way at all.
I understand that the philosophy is that individual distributors
of (La)TeX software are supposed to devise appropriate .cfg
files that meet the needs of the typesetting engine that they
distribute. (e.g. VTeX and Textures and Lyx and Scientific
Workplace would each need customised versions, quite different
from what comes with teTeX ).
It may once have been appropriate (back in 2002) to have 'hdvips'
as the driver when using TeXLive --- e.g. running from the CD
itself, rather than installing it first, as fink would do.
Now that the typesetting engine can produce PDF directly, this is
no longer appropriate.
Reverting to the 2001 version of hyperref.cfg allows for more
flexibility, so is my recommendation.
Alternatively, 'fink' could distribute it's own .cfg file,
that says something like:
\ProvidesFile{hyperref.cfg}%
[2005/03/06 hyperref configuration for fink and teTeX 3.0]
% Change default driver to "pdftex" instead of "hypertex",
% requires hyperref 2002/06/05 v6.72s
\@ifundefined{pdfliteral}{\ExecuteOptions{dvips}}{\ExecuteOptions{pdftex
}}
\endinput
Similar considerations may apply to color.cfg .
I've not explored that recently.
>
> Werner Fink <werner at suse.de> added to CC:.
>
> Werner, do you have any idea why these files are so old in our
> tetex-3.0 packages?
I hope the above adequately explains the situation,
and helps you to decide the best course of action
for your own circumstances.
Regards,
Ross Moore
>
> --
> 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