// 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;
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";