mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-27 02:19:10 +00:00
Load bibtopic after hyperref (bug #8005)
This commit is contained in:
parent
7740226c9f
commit
daf44909c0
@ -1787,6 +1787,11 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
|
||||
// hyperref loads this automatically
|
||||
lyxpreamble += "\\usepackage{nameref}\n";
|
||||
|
||||
// bibtopic needs to be loaded after hyperref.
|
||||
// the dot provides the aux file naming which LyX can detect.
|
||||
if (features.mustProvide("bibtopic"))
|
||||
lyxpreamble += "\\usepackage[dot]{bibtopic}\n";
|
||||
|
||||
// Will be surrounded by \makeatletter and \makeatother when not empty
|
||||
docstring atlyxpreamble;
|
||||
|
||||
|
@ -767,11 +767,6 @@ string const LaTeXFeatures::getPackages() const
|
||||
if (mustProvide("xargs"))
|
||||
packages << "\\usepackage{xargs}[2008/03/08]\n";
|
||||
|
||||
// bibtopic -- the dot provides the aux file naming which
|
||||
// LyX can detect.
|
||||
if (mustProvide("bibtopic"))
|
||||
packages << "\\usepackage[dot]{bibtopic}\n";
|
||||
|
||||
if (mustProvide("xy"))
|
||||
packages << "\\usepackage[all]{xy}\n";
|
||||
|
||||
|
@ -124,6 +124,9 @@ What's new
|
||||
|
||||
- Fix generation of a lyx archive when included files have spaces embedded
|
||||
in their names (bug 8164).
|
||||
|
||||
- Load bibtopic after hyperref, thus preventing a LaTeX error when back
|
||||
references are used (bug 8005).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
Loading…
x
Reference in New Issue
Block a user