summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3experimental/xgalley/l3galley.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3experimental/xgalley/l3galley.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3experimental/xgalley/l3galley.dtx18
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/l3experimental/xgalley/l3galley.dtx b/Master/texmf-dist/source/latex/l3experimental/xgalley/l3galley.dtx
index f22931ea3b9..f162ca679e2 100644
--- a/Master/texmf-dist/source/latex/l3experimental/xgalley/l3galley.dtx
+++ b/Master/texmf-dist/source/latex/l3experimental/xgalley/l3galley.dtx
@@ -36,8 +36,22 @@
%%
%
%<*driver|package>
-\RequirePackage{xparse}
-\GetIdInfo$Id: l3galley.dtx 4728 2014-05-04 13:25:37Z joseph $
+% The version of expl3 required is tested as early as possible, as
+% some really old versions do not define \ProvidesExplPackage.
+\RequirePackage{expl3}[2014/08/25]
+%<package>\@ifpackagelater{expl3}{2014/08/25}
+%<package> {}
+%<package> {%
+%<package> \PackageError{l3galley}{Support package l3kernel too old}
+%<package> {%
+%<package> Please install an up to date version of l3kernel\MessageBreak
+%<package> using your TeX package manager or from CTAN.\MessageBreak
+%<package> \MessageBreak
+%<package> Loading l3galley will abort!%
+%<package> }%
+%<package> \endinput
+%<package> }
+\GetIdInfo$Id: l3galley.dtx 5378 2014-08-25 10:59:48Z joseph $
{L3 Experimental galley code}
%</driver|package>
%<*driver>