Skip to content

Commit

Permalink
More robust biblatex version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dcpurton committed Nov 16, 2017
1 parent f842e3c commit 8d3ac9b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions latex/biblatex-sbl.def
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
\RequireBibliographyStyle{standard}
\RequireBiber[3]

% BibLaTeX version 3.5 or greater required
\newdimen \biblatex@version
\biblatex@version = \abx@version pt
\ifdim \biblatex@version < 3.45pt
\PackageError{biblatex-sbl}{BibLaTeX v3.5 or greater is required}
\fi
% BibLaTeX version 2017/11/05 v3.8a or greater required
\@ifpackagelater{biblatex}{2017/11/05}
{}
{\PackageError{biblatex-sbl}
{BibLaTeX v3.8a or greater is required}
{You need to update your TeX distribution to use biblatex-sbl.}}

% Require xparse
\RequirePackage{xparse}
Expand Down

0 comments on commit 8d3ac9b

Please sign in to comment.