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}
|
||||
|
||||
%%% Crucial versions
|
||||
% This one introduces \textsubscript
|
||||
\TestLaTeXVersion{2005/12/01}
|
||||
% This one introduces path encoding changes
|
||||
\TestLaTeXVersion{2019/10/01}
|
||||
% This introduces all math and text spaces
|
||||
|
@ -1511,7 +1511,8 @@ string const LaTeXFeatures::getPackages() const
|
||||
}
|
||||
|
||||
// fixltx2e provides subscript
|
||||
if (mustProvide("subscript") && !isRequired("fixltx2e"))
|
||||
if (mustProvide("subscript") && !isRequired("fixltx2e")
|
||||
&& !isAvailable("LaTeX-2005/12/01"))
|
||||
packages << "\\usepackage{subscript}\n";
|
||||
|
||||
// footmisc must be loaded after setspace
|
||||
|
Loading…
Reference in New Issue
Block a user