manual: Add workaround for older KOMAscript versions.
KOMAscript 3.28 changes \ifpdfoutput to \Ifpdfoutput. Add a check and redefine the new command as the old one if it's missing since only the name was changed. Not all Linux distros have a recent enough version yet. Change-Id: Ie709a1c85f10e1ddebb703ae50d3539f1aeee8bb
This commit is contained in:
parent
c302c157d5
commit
356133d321
1 changed files with 8 additions and 0 deletions
|
@ -77,6 +77,14 @@
|
|||
\usepackage{makeidx}
|
||||
\usepackage{fancyvrb}
|
||||
\usepackage{color}
|
||||
|
||||
% Ifpdfoutput is part of KOMAscript 3.28, in earlier versions it's ifpdfoutput.
|
||||
% We use Ifpdfoutput, so redefine it here for old KOMAscript versions.
|
||||
% See also https://ctan.org/ctan-ann/id/mailman.2801.1577740444.2586.ctan-ann@ctan.org
|
||||
\ifdefined\Ifpdfoutput%
|
||||
\else\newcommand{\Ifpdfoutput}{\ifpdfoutput}%
|
||||
\fi
|
||||
|
||||
\Ifpdfoutput{\usepackage{booktabs}}%
|
||||
{\newcommand{%
|
||||
\toprule}{}\newcommand{\midrule}{\hline}\newcommand{\bottomrule}{}%
|
||||
|
|
Loading…
Reference in a new issue