Fixed #7.

parent eefa090a
......@@ -162,6 +162,18 @@
\fi
\RequirePackage[\ifiseries@babelOptions]{babel}
% To avoid a possible error with TeXLive 2015 (at least on Mac), we
% include floatrow as early as possible.
\ExplSyntaxOn
\renewcommand{\ifiseries@temp}[1]{
\str_case:nnn{#1}{
{} {\relax}
{floatrow} {\RequirePackage{floatrow}\DeclareCaptionSubType[alph]{figure}}
{subfig} {\RequirePackage[\ifiseries@subfigOptions]{subfig}\RequirePackage{sidecap}\sidecaptionvpos{figure}{t}}
}{\PackageError{ifiseries}{Unknown~figure~system:~#1}\@ehc}}
\expandafter\ifiseries@temp\expandafter{\ifiseries@figure}
\ExplSyntaxOff
\RequirePackage{amsmath}
\ififiseries@mathabx
\RequirePackage[matha]{mathabx}
......@@ -296,16 +308,6 @@
\RequirePackage{changes}
\normalem
\ExplSyntaxOn
\renewcommand{\ifiseries@temp}[1]{
\str_case:nnn{#1}{
{} {\relax}
{floatrow} {\RequirePackage{floatrow}\DeclareCaptionSubType[alph]{figure}}
{subfig} {\RequirePackage[\ifiseries@subfigOptions]{subfig}\RequirePackage{sidecap}\sidecaptionvpos{figure}{t}}
}{\PackageError{ifiseries}{Unknown~figure~system:~#1}\@ehc}}
\expandafter\ifiseries@temp\expandafter{\ifiseries@figure}
\ExplSyntaxOff
\RequirePackage[\ifiseries@acronymOptions]{acronym}
\RequirePackage{xspace}
\RequirePackage[\ifiseries@hyphenatOptions]{hyphenat}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment