add error message if LuaTex is not used

This commit is contained in:
Benjamin Kellermann 2013-07-31 11:08:03 +02:00
parent 97ef55ccf6
commit 964ed839a8
1 changed files with 11 additions and 0 deletions

View File

@ -57,6 +57,17 @@
\else
\newcommand{\DSLogoFont}{\fontspec{FFNetwork}}
\fi
\else
\ClassError{Datenschleuder}{%
You need LuaTeX in order to compile \MessageBreak
a Datenschleuder%
}{%
Instead of running "pdflatex \jobname" type:\MessageBreak
lualatex \jobname\MessageBreak
\MessageBreak
Remember to cross two fingers and praise Eris before compiling.\MessageBreak
Unpredictable things will happen with your computer otherwise...
}
\fi
\RequirePackage{fmtcount}