\fullexpandtwoargsafter in MkIV
\fullexpandtwoargsafter is not defined in MkIV. As a result, \processpage does not work. Minimal example: \setuphead[section][before={\pagetype[section]}, page=yes] \processpage[section][yes] \starttext \dorecurse{10}{\section {Test \recurselevel} \dorecurse{10}{\input knuth \endgraf}} \stoptext This works in MkII but not in MkIV. Aditya
Am 08.06.2011 um 19:53 schrieb Aditya Mahajan:
\fullexpandtwoargsafter is not defined in MkIV. As a result, \processpage does not work.
The command isn’t needed in MkIV because you can use \normalexpanded: \unprotected\def\dopagetype[#1]% {\edef\desoortpagina{#1}% \ifx\desoortpagina\empty \else \@EA\doglobal\@EA\addtocommalist\@EA{\desoortpagina}\currentpageselection \ifselectingpages %\fullexpandtwoargsafter\doifcommon\desoortpagina\pageselection \normalexpanded{\noexpand\doifcommon{\desoortpagina}{\pageselection}}% {\global\pageselectedtrue}% \fi \gdef\beforeshipout{\dobeforeshipout}% \gdef\aftershipout {\doaftershipout}% \fi} Wolfgang
participants (2)
-
Aditya Mahajan
-
Wolfgang Schuster