PointsOfOrder/pass-options.tex.txt

12 lines
388 B
Plaintext
Raw Normal View History

2021-02-10 17:34:38 +11:00
% Colours/formatting by output mode
\newif\ifpoprint\poprintfalse
\makeatletter
\edef\@tempa{\jobname}
\def\@tempb{PointsOfOrder_Print}
\@onelevel@sanitize\@tempb % https://tex.stackexchange.com/questions/243591/comparing-strings-extracted-from-jobname
\ifx\@tempa\@tempb % Compare \jobname with "PointsOfOrder_Print"
\poprinttrue
\PassOptionsToPackage{cmyk}{xcolor}
\fi
\makeatother