Protected \crossrefenum against early expansion.
It occured in ConTeXt in a \footnote with \setupinteraction[state=start].'
This commit is contained in:
parent
9838ed6166
commit
1e9b8c33d8
|
@ -524,13 +524,22 @@
|
||||||
|
|
||||||
%%% \crossrefenum: Public macro with optional arguments %%%
|
%%% \crossrefenum: Public macro with optional arguments %%%
|
||||||
|
|
||||||
|
\crfnm@case[\fmtname]
|
||||||
|
\crfnm@context: {
|
||||||
|
\unexpanded\def\crossrefenum{\crfnm@crossrefenum}
|
||||||
|
}
|
||||||
|
\crfnm@latex: {
|
||||||
|
\protected\def\crossrefenum{\crfnm@crossrefenum}
|
||||||
|
}
|
||||||
|
\crfnm@endCases
|
||||||
|
|
||||||
% \crossrefenum has two optional arguments.
|
% \crossrefenum has two optional arguments.
|
||||||
% See the definition of \crfnm@enum below for the recognized values.
|
% See the definition of \crfnm@enum below for the recognized values.
|
||||||
|
|
||||||
\def\crfnm@firstArg@default{page}
|
\def\crfnm@firstArg@default{page}
|
||||||
\def\crfnm@secondArg@default{withprefix}
|
\def\crfnm@secondArg@default{withprefix}
|
||||||
|
|
||||||
\def\crossrefenum{%
|
\def\crfnm@crossrefenum{%
|
||||||
\futurelet\crfnm@nextToken\crfnm@setEnumMacro
|
\futurelet\crfnm@nextToken\crfnm@setEnumMacro
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user