summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expl3/l3names.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3names.sty')
-rw-r--r--Master/texmf-dist/tex/latex/expl3/l3names.sty58
1 files changed, 29 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/expl3/l3names.sty b/Master/texmf-dist/tex/latex/expl3/l3names.sty
index 9c6fd97f716..0c475563656 100644
--- a/Master/texmf-dist/tex/latex/expl3/l3names.sty
+++ b/Master/texmf-dist/tex/latex/expl3/l3names.sty
@@ -48,7 +48,7 @@
%%
%% -----------------------------------------------------------------------
\begingroup
-\def\GetIdInfo$#1${%
+\protected\def\GetIdInfo$#1${%
\begingroup
\def\GetIdInfoString{#1}%
\def\IdInfoStringUnexp{Id}%
@@ -59,35 +59,35 @@
\fi
\next
}
-\def\GetIdInfoFull$#1 #2.#3 #4 #5 #6 #7${%
+\protected\def\GetIdInfoFull$#1 #2.#3 #4 #5 #6 #7${%
\GetIdInfoAux #5\relax{#2}#5\relax{#4}%
}
-\def\GetIdInfoAux #1#2#3#4#5#6\relax{%
+\protected\def\GetIdInfoAux #1#2#3#4#5#6\relax{%
\ifx#5/%
\expandafter\GetIdInfoAuxCVS
\else
\expandafter\GetIdInfoAuxSVN
\fi
}
-\def\GetIdInfoAuxCVS #1#2\relax#3#4{%
+\protected\def\GetIdInfoAuxCVS #1#2\relax#3#4{%
\gdef\fileversion{#3}%
\gdef\filedate{#2}%
\gdef\filedescription{#4}%
\ProvidesPackage{#1}[#2 v#3 #4]%
}
-\def\GetIdInfoAuxSVN #1#2-#3-#4\relax#5#6{%
+\protected\def\GetIdInfoAuxSVN #1#2-#3-#4\relax#5#6{%
\gdef\fileversion{#5}%
\gdef\filedate{#2/#3/#4}%
\gdef\filedescription{#6}%
\ProvidesPackage{#1}[#2/#3/#4 v#5 #6]
}
-\def\GetIdInfoMissing#1{%
+\protected\def\GetIdInfoMissing#1{%
\gdef\fileversion{000}%
\gdef\filedate{0000/00/00}%
\gdef\filedescription{#1}%
\ProvidesPackage{[unknown package]}[0000/00/00 v0.0 #1]
}
-\GetIdInfo$Id: l3names.dtx 1751 2009-11-26 08:36:12Z joseph $
+\GetIdInfo$Id: l3names.dtx 1853 2010-03-21 09:11:08Z joseph $
{L3 Experimental Naming Scheme for TeX Primitives}
\endgroup
\begingroup
@@ -106,7 +106,7 @@
\endgroup
\endinput
}
-\edef\ExplSyntaxOff{
+\protected\edef\ExplSyntaxOff{
\unexpanded{\ifodd \ExplSyntaxStatus\relax
\def\ExplSyntaxStatus{0}
}
@@ -635,10 +635,10 @@
\name_primitive:NN \strcmp \pdf_strcmp:D
\tex_fi:D
\tex_fi:D
-\tex_def:D \ExplSyntaxOn {
+\etex_protected:D \tex_def:D \ExplSyntaxOn {
\tex_ifodd:D \ExplSyntaxStatus \tex_relax:D
\tex_else:D
- \tex_edef:D \ExplSyntaxOff {
+ \etex_protected:D \tex_edef:D \ExplSyntaxOff {
\etex_unexpanded:D{
\tex_ifodd:D \ExplSyntaxStatus \tex_relax:D
\tex_def:D \ExplSyntaxStatus{0}
@@ -661,24 +661,24 @@
\tex_fi:D
}
\tex_def:D \ExplSyntaxStatus { 1 }
-\tex_def:D \ExplSyntaxNamesOn {
+\etex_protected:D \tex_def:D \ExplSyntaxNamesOn {
\tex_catcode:D `\_=11\tex_relax:D
\tex_catcode:D `\:=11\tex_relax:D
}
-\tex_def:D \ExplSyntaxNamesOff {
+\etex_protected:D \tex_def:D \ExplSyntaxNamesOff {
\tex_catcode:D `\_=8\tex_relax:D
\tex_catcode:D `\:=12\tex_relax:D
}
-\tex_def:D \GetIdInfo {
+\etex_protected:D \tex_def:D \GetIdInfo {
\tex_begingroup:D
\tex_catcode:D 32=10 \tex_relax:D % needed? Probably for now.
\GetIdInfoMaybeMissing:w
}
-\tex_def:D\GetIdInfoMaybeMissing:w$#1$#2{
- \tex_def:D \l_tmpa_tl {#1}
- \tex_def:D \l_tmpb_tl {Id}
- \tex_ifx:D \l_tmpa_tl \l_tmpb_tl
- \tex_def:D \l_tmpa_tl {
+\etex_protected:D \tex_def:D\GetIdInfoMaybeMissing:w$#1$#2{
+ \tex_def:D \l_kernel_tmpa_tl {#1}
+ \tex_def:D \l_kernel_tmpb_tl {Id}
+ \tex_ifx:D \l_kernel_tmpa_tl \l_kernel_tmpb_tl
+ \tex_def:D \l_kernel_tmpa_tl {
\tex_endgroup:D
\tex_def:D\filedescription{#2}
\tex_def:D\filename {[unknown~name]}
@@ -689,11 +689,11 @@
\tex_def:D\filetimestamp {[unknown~timestamp]}
}
\tex_else:D
- \tex_def:D \l_tmpa_tl {\GetIdInfoAuxi:w$#1${#2}}
+ \tex_def:D \l_kernel_tmpa_tl {\GetIdInfoAuxi:w$#1${#2}}
\tex_fi:D
- \l_tmpa_tl
+ \l_kernel_tmpa_tl
}
-\tex_def:D\GetIdInfoAuxi:w$#1~#2.#3~#4~#5~#6~#7~#8$#9{
+\etex_protected:D \tex_def:D\GetIdInfoAuxi:w$#1~#2.#3~#4~#5~#6~#7~#8$#9{
\tex_endgroup:D
\tex_def:D\filename{#2}
\tex_def:D\fileversion{#4}
@@ -702,34 +702,34 @@
\GetIdInfoAuxii:w #5\tex_relax:D
#3\tex_relax:D#5\tex_relax:D#6\tex_relax:D
}
-\tex_def:D\GetIdInfoAuxii:w #1#2#3#4#5#6\tex_relax:D{
+\etex_protected:D \tex_def:D\GetIdInfoAuxii:w #1#2#3#4#5#6\tex_relax:D{
\tex_ifx:D#5/
\tex_expandafter:D\GetIdInfoAuxCVS:w
\tex_else:D
\tex_expandafter:D\GetIdInfoAuxSVN:w
\tex_fi:D
}
-\tex_def:D\GetIdInfoAuxCVS:w #1,v\tex_relax:D
+\etex_protected:D \tex_def:D\GetIdInfoAuxCVS:w #1,v\tex_relax:D
#2\tex_relax:D#3\tex_relax:D{
\tex_def:D\filedate{#2}
\tex_def:D\filenameext{#1}
\tex_def:D\filetimestamp{#3}
}
-\tex_def:D\GetIdInfoAuxSVN:w #1\tex_relax:D#2-#3-#4
+\etex_protected:D \tex_def:D\GetIdInfoAuxSVN:w #1\tex_relax:D#2-#3-#4
\tex_relax:D#5Z\tex_relax:D{
\tex_def:D\filenameext{#1}
\tex_def:D\filedate{#2/#3/#4}
\tex_def:D\filetimestamp{#5}
}
-\tex_def:D \ProvidesExplPackage#1#2#3#4{
+\etex_protected:D \tex_def:D \ProvidesExplPackage#1#2#3#4{
\ProvidesPackage{#1}[#2~v#3~#4]
\ExplSyntaxOn
}
-\tex_def:D \ProvidesExplClass#1#2#3#4{
+\etex_protected:D \tex_def:D \ProvidesExplClass#1#2#3#4{
\ProvidesClass{#1}[#2~v#3~#4]
\ExplSyntaxOn
}
-\tex_def:D \ProvidesExplFile#1#2#3#4{
+\etex_protected:D \tex_def:D \ProvidesExplFile#1#2#3#4{
\ProvidesFile{#1}[#2~v#3~#4]
\ExplSyntaxOn
}
@@ -749,7 +749,7 @@
\tex_fi:D
}
}
-\tex_def:D\ExplSyntaxPopStack#1#2\q_nil{
+\etex_protected:D\tex_def:D\ExplSyntaxPopStack#1#2\q_nil{
\tex_def:D\ExplSyntaxStack{#2}
\tex_ifodd:D#1\tex_relax:D
\ExplSyntaxOn
@@ -798,7 +798,7 @@
\tex_fi:D}
\tex_fi:D
\tex_futurelet:D\name_tmp:\name_pop_stack:w
-\tex_def:D \package_check_loaded_expl: {
+\etex_protected:D\tex_def:D \package_check_loaded_expl: {
\@ifpackageloaded{expl3}{}{
\PackageError{expl3}{Cannot~load~the~expl3~modules~separately}{
The~expl3~modules~cannot~be~loaded~separately;\MessageBreak