The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 9e50872e5084655f1f819330f5964af3a4a0f3bf Author: Julien Rioux <[email protected]> Date: Mon May 20 20:29:15 2013 +0200 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. diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index e4f563a..4cbdea6 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -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"; ----------------------------------------------------------------------- Summary of changes: src/LaTeXFeatures.cpp | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
