[texhax] problems with backward references

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Fri Mar 25 18:41:23 CET 2005


> I am puzzled by hypersetup here. I load the package as
> follows:
> 
> \RequirePackage[pdftex,hyperref,svgnames]{xcolor}%
> titlepage
> \GetGinDriver% requires xcolor
> \RequirePackage[plainpages=false,pdfpagelabels,\GinDriver]{hyperref}
> \RequirePackage{backref}
> \hypersetup{backref=true}
> 
> Again, the first run of pdflatex goes smoothly. The
> second run stops with the following error:

i made myself a job with just that lot, plus: 

\bibliographystyle{plain}

and document text:

here's a reference to \cite{DY20.1}; nice, isn't it?
\clearpage
\bibliography{1}

it runs quite happily.  this is not surprising; the simple problems
are always ironed out long before a package has achieved the maturity
that hyperref.

i expect you're observing an interaction with your bibliography style
and/or the package that comes with your bibliography style.  since you
don't say what either is, i can't analyse the situation any further.

before posting an issue like this, it's very often a good plan to work
out a "minimal example" -- something that runs as a real example text,
except that it crashes.  start from an absolute minimum
(\bibliographystyle, a \cite command a \bibliography command), and
then start adding things (hyperref, backref packages, obviously, then
whatever else you have

so, for example, do we need xcolor in the above? -- if not, it
shouldn't be in the example.  (if you're producing pdf output from
pdftex, hyperref will spot the fact: you really don't need to give
hyperref a driver name.  the driver name seems to be the only thing
xcolor actually provides, here...)



More information about the texhax mailing list