X-Git-Url: https://git.distorted.org.uk/~mdw/doc/wrestlers/blobdiff_plain/4fdc72d46d80b88358fce82c7bba83879d172ea6..b12a993f2d35076dfc7dd515b8d8f2f5ef1a42dc:/wrestlers.tex

diff --git a/wrestlers.tex b/wrestlers.tex
index 2807644..63e428e 100644
--- a/wrestlers.tex
+++ b/wrestlers.tex
@@ -5,8 +5,14 @@
 %%% (c) 2006 Mark Wooding
 %%%
 
-\ifx\iffancystyle\xxundefined\newif\iffancystyle\fancystyletrue\fi
-\ifx\ifshort\xxundefined\newif\ifshort\shortfalse\fi
+\makeatletter
+\def\@doit#1{#1}
+\ifx\iffancystyle\xxundefined\expandafter\@doit\else\expandafter\@gobble\fi
+{\newif\iffancystyle\fancystyletrue}
+\ifx\ifshort\xxundefined\expandafter\@doit\else\expandafter\@gobble\fi
+{\newif\ifshort\shortfalse}
+\iffancystyle\expandafter\@gobble\else\expandafter\@doit\fi{\newif\ifpdfing}
+\makeatother
 
 \typeout{Options:}
 \typeout{  Fancy style:   \iffancystyle ON\else OFF\fi}
