diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx b/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx index 1fb3ac9454f..fc1ae68b7c2 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx @@ -119,7 +119,7 @@ % \end{macrocode} % \end{macro} % \end{macro} -\GetIdInfo$Id: l3bootstrap.dtx 3986 2012-07-15 19:23:51Z joseph $ +\GetIdInfo$Id: l3bootstrap.dtx 3991 2012-07-16 19:00:35Z joseph $ {L3 Bootstrap code} %</driver|package> %<*driver> @@ -190,7 +190,7 @@ % % \begin{function}[updated = 2012-06-04]{\GetIdInfo} % \begin{syntax} -% |\RequirePackage{l3names}| +% |\RequirePackage{l3bootstrap}| % \cs{GetIdInfo} |$Id:| \meta{SVN info field} |$| \Arg{description} % \end{syntax} % Extracts all information from a SVN field. Spaces are not @@ -459,10 +459,24 @@ % not to need \cs{ExplSyntaxOn} each time. % \begin{macrocode} %<*package> -\protected\def\ProvidesExplPackage#1#2#3#4% +\protected\def\ProvidesExplPackage {% - \ProvidesPackage{#1}[#2 v#3 #4]% - \ExplSyntaxOn + \@ifpackageloaded{expl3} + {} + {% + \PackageError{expl3} + {Cannot load the expl3 modules separately} + {% + The expl3 modules cannot be loaded separately;\MessageBreak + please \string\usepackage\string{expl3\string} instead.% + }% + }% + \protected\def\ProvidesExplPackage##1##2##3##4% + {% + \ProvidesPackage{##1}[##2 v##3 ##4]% + \ExplSyntaxOn + }% + \ProvidesExplPackage } \protected\def\ProvidesExplClass#1#2#3#4% {% |