mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Load covington later
This solves a loading order conflict with beamer-article.
This commit is contained in:
parent
17e2ad927e
commit
00ee54e694
@ -55,9 +55,11 @@ Style Numbered_Example_(multiline)
|
|||||||
Preamble
|
Preamble
|
||||||
% Backwards compatibility with covington < 1.1
|
% Backwards compatibility with covington < 1.1
|
||||||
% This code can be removed eventually
|
% This code can be removed eventually
|
||||||
\@ifundefined{covexample}{%
|
\AtBeginDocument{%
|
||||||
\newenvironment{covexample}{\begin{example}}{\end{example}}%
|
\@ifundefined{covexample}{%
|
||||||
}{}
|
\newenvironment{covexample}{\begin{example}}{\end{example}}%
|
||||||
|
}{}
|
||||||
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
Category Linguistics
|
Category Linguistics
|
||||||
End
|
End
|
||||||
@ -88,9 +90,11 @@ Style Numbered_Examples_(consecutive)
|
|||||||
Preamble
|
Preamble
|
||||||
% Backwards compatibility with covington < 1.1
|
% Backwards compatibility with covington < 1.1
|
||||||
% This code can be removed eventually
|
% This code can be removed eventually
|
||||||
\@ifundefined{covexamples}{%
|
\AtBeginDocument{%
|
||||||
\newenvironment{covexamples}{\begin{examples}}{\end{examples}}%
|
\@ifundefined{covexamples}{%
|
||||||
}{}
|
\newenvironment{covexamples}{\begin{examples}}{\end{examples}}%
|
||||||
|
}{}
|
||||||
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
End
|
End
|
||||||
|
|
||||||
@ -105,16 +109,18 @@ Style Subexample
|
|||||||
Preamble
|
Preamble
|
||||||
% Backwards compatibility with covington < 1.6
|
% Backwards compatibility with covington < 1.6
|
||||||
% This code can be removed eventually
|
% This code can be removed eventually
|
||||||
\@ifundefined{covsubexamples}{%
|
\AtBeginDocument{%
|
||||||
\newenvironment{covsubexamples}{%
|
\@ifundefined{covsubexamples}{%
|
||||||
\addtolength{\examplenumbersep}{-0.5em}%
|
\newenvironment{covsubexamples}{%
|
||||||
\begin{covexample}%
|
\addtolength{\examplenumbersep}{-0.5em}%
|
||||||
\begin{enumerate}
|
\begin{covexample}%
|
||||||
\renewcommand\theenumi{\alph{enumi}}
|
\begin{enumerate}
|
||||||
\renewcommand\labelenumi{(\theenumi)}
|
\renewcommand\theenumi{\alph{enumi}}
|
||||||
\renewcommand\p@enumi{\theequation\,}}%
|
\renewcommand\labelenumi{(\theenumi)}
|
||||||
{\end{enumerate}\end{covexample}}
|
\renewcommand\p@enumi{\theequation\,}}%
|
||||||
}{}
|
{\end{enumerate}\end{covexample}}
|
||||||
|
}{}
|
||||||
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -2303,6 +2303,10 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
|
|||||||
os << "\\usepackage{xunicode}\n";
|
os << "\\usepackage{xunicode}\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// covington must be loaded after beamerarticle
|
||||||
|
if (features.isRequired("covington"))
|
||||||
|
os << "\\usepackage{covington}\n";
|
||||||
|
|
||||||
// Polyglossia must be loaded last ...
|
// Polyglossia must be loaded last ...
|
||||||
if (use_polyglossia) {
|
if (use_polyglossia) {
|
||||||
// call the package
|
// call the package
|
||||||
|
@ -971,7 +971,6 @@ char const * simplefeatures[] = {
|
|||||||
// "cancel",
|
// "cancel",
|
||||||
"ascii",
|
"ascii",
|
||||||
"url",
|
"url",
|
||||||
"covington",
|
|
||||||
"csquotes",
|
"csquotes",
|
||||||
"enumitem",
|
"enumitem",
|
||||||
"endnotes",
|
"endnotes",
|
||||||
|
Loading…
Reference in New Issue
Block a user