mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Only load subscript package with LaTeX < 2005/12/01 (#12387)
This commit is contained in:
parent
ac3562dbc9
commit
d4d4654d63
@ -235,6 +235,8 @@
|
|||||||
\AddVariable{fmtversion}{\fmtversion}
|
\AddVariable{fmtversion}{\fmtversion}
|
||||||
|
|
||||||
%%% Crucial versions
|
%%% Crucial versions
|
||||||
|
% This one introduces \textsubscript
|
||||||
|
\TestLaTeXVersion{2005/12/01}
|
||||||
% This one introduces path encoding changes
|
% This one introduces path encoding changes
|
||||||
\TestLaTeXVersion{2019/10/01}
|
\TestLaTeXVersion{2019/10/01}
|
||||||
% This introduces all math and text spaces
|
% This introduces all math and text spaces
|
||||||
|
@ -1511,7 +1511,8 @@ string const LaTeXFeatures::getPackages() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// fixltx2e provides subscript
|
// fixltx2e provides subscript
|
||||||
if (mustProvide("subscript") && !isRequired("fixltx2e"))
|
if (mustProvide("subscript") && !isRequired("fixltx2e")
|
||||||
|
&& !isAvailable("LaTeX-2005/12/01"))
|
||||||
packages << "\\usepackage{subscript}\n";
|
packages << "\\usepackage{subscript}\n";
|
||||||
|
|
||||||
// footmisc must be loaded after setspace
|
// footmisc must be loaded after setspace
|
||||||
|
Loading…
Reference in New Issue
Block a user