summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7b6bb23)
amsmath no longer required here.
%%% Crucial versions
% This one introduces path encoding changes
\TestLaTeXVersion{2019/10/01}
%%% Crucial versions
% This one introduces path encoding changes
\TestLaTeXVersion{2019/10/01}
+% This introduces all math and text spaces
+% previously only available via amsmath
+\TestLaTeXVersion{2020/10/01}
%%% And now, the list of available languages
% The trick is to know that \the\everyjob contains something like
%%% And now, the list of available languages
% The trick is to know that \the\everyjob contains something like
void InsetSpace::validate(LaTeXFeatures & features) const
{
void InsetSpace::validate(LaTeXFeatures & features) const
{
+ if (features.isAvailable("LaTeX-2020/10/01"))
+ // As of this version, the LaTeX kernel
+ // includes all spaces.
+ return;
+
+ // In earlier versions, we require amsmath
+ // for some text and math spaces
if ((params_.kind == InsetSpaceParams::NEGMEDIUM
|| params_.kind == InsetSpaceParams::NEGTHICK)
|| (!params_.math
if ((params_.kind == InsetSpaceParams::NEGMEDIUM
|| params_.kind == InsetSpaceParams::NEGTHICK)
|| (!params_.math