Bugs item #1822272, was opened at 2007-10-29 18:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422030&aid=1822272&group_id=38414
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nicolas Girard (ngirard)
Assigned to: Nobody/Anonymous (nobody)
Summary: latex writer should include hyperref only at the end
Initial Comment:
In latex2e/__init__.py, line 696 generates
\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
The problem is, hyperref is included before many extensions, among which the one that the user may specify using the --stylesheet command-line option.
This is highly likely to trigger incompatibilities.[1]_
>From hyperref's manual:
"Make sure it comes last of your loaded packages,
to give it a fighting chance of not being
over-written, since its job is to redefine many
LATEX commands."
So this is all a matter of moving the abovementioned line to the end of the preamble generation.
I'd also recommend to check out what the "new" latex writer does with hyperref.
.. [1] and the fact is, it *does*, with the stylesheet I want to use !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422030&aid=1822272&group_id=38414
|