mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Load bibtopic after hyperref (bug #8005)
This commit is contained in:
parent
158b398d28
commit
9fc92f783c
@ -1781,6 +1781,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;
|
||||
|
||||
|
@ -786,11 +786,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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user