mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Add babelbib, bibgerm, chscite, and opcit to LaTeXFeatures.
This way they can be Required by layout or module files and LyX will insert them in the appropriate location in the preamble.
This commit is contained in:
parent
a6f6f79eb1
commit
9e50872e50
@ -742,7 +742,10 @@ char const * bibliofeatures[] = {
|
||||
"apalike",
|
||||
"astron",
|
||||
"authordate1-4",
|
||||
"babelbib",
|
||||
"bibgerm",
|
||||
"chicago",
|
||||
"chscite",
|
||||
"harvard",
|
||||
"mslapa",
|
||||
"named"
|
||||
@ -971,6 +974,14 @@ string const LaTeXFeatures::getPackages() const
|
||||
if (mustProvide("jurabib"))
|
||||
packages << "\\usepackage{jurabib}[2004/01/25]\n";
|
||||
|
||||
// opcit -- we pass custombst as we output \bibliographystyle ourselves
|
||||
if (mustProvide("opcit")) {
|
||||
if (isRequired("hyperref"))
|
||||
packages << "\\usepackage[custombst,hyperref]{opcit}\n";
|
||||
else
|
||||
packages << "\\usepackage[custombst]{opcit}\n";
|
||||
}
|
||||
|
||||
// xargs -- we need version 1.09 at least
|
||||
if (mustProvide("xargs"))
|
||||
packages << "\\usepackage{xargs}[2008/03/08]\n";
|
||||
|
Loading…
Reference in New Issue
Block a user