Skip to content

Commit

Permalink
Introduce check of TeX engine used
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Oct 29, 2020
1 parent 8141adf commit de2a293
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cookbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{cookbook}[2020-06-09 v1.1.1 cookbook class]

% Fail early and give useful information on the required engine.
% This helps users who do not read the documentation beforehand, by promoting the
% requirement from some statement in the docs to actual code that errors out.
\RequirePackage{iftex}
\RequireLuaTeX{}

\newcommand*{\@baseclass}{scrbook}% Name of class this one is based on

% If option 'language' is not given at all, use initialization 'english' as a fallback.
Expand Down

0 comments on commit de2a293

Please sign in to comment.