Minimal example: \starttext \input tufte \startfootnote \input ward \stopfootnote \stoptext (works OK if one replaces \startfootnote \stopfootnote with \footnote{ }) Alan Runaway argument? \input ward \stopfootnote \stoptext ! File ended while scanning use of \strc_pickup_nop. system > tex > error on line 4 in file /usr/local/context/beta/tex/texmf-context/tex/context/base/cont-yes.mkiv: File ended while scanning use of \strc_pickup_nop ... 1 %D \module 2 %D [ file=cont-yes, 3 %D version=2012.06.01, 4 >> %D title=\CONTEXT\ Miscellaneous Macros, 5 %D subtitle=Startup Stub, 6 %D author=Hans Hagen, 7 %D date=\currentdate, 8 %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9 %C 10 %C This module is part of the \CONTEXT\ macro||package and is 11 %C therefore copyrighted by \PRAGMA. See mreadme.pdf for 12 %C details. 13 14 % At some point I will reconsider the \starttext .. \stoptext <inserted text> \par l.4 } } context.finishjob() \luat_start_lua_code_indeed ...ua \zerocount {#1}} l.78 \stopluacode Is this a scoop? Will we really eventually do away with \starttext \stoptext? I can't admit the number of times where I mistakenly write \startext \stoptext and of course generate an error! Alan
Am 19.10.2012 um 11:30 schrieb Alan BRASLAU
Minimal example:
\starttext \input tufte \startfootnote \input ward \stopfootnote \stoptext
Replace in strc-not.mkvi for the following block the named arguments with numbered arguments. This doesn’t work \unexpanded\def\strc_notations_start#tag#stoptag% {\begingroup \edef\currentnote{#tag}% \strc_constructions_initialize{#tag}% \strc_notes_synchronize \ifnotesenabled \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel \fi \normalexpanded % not that efficient but also not that frequently used {\def\noexpand\strc_pickup_yes[##1]##2\csname\e!stop#stoptag\endcsname{\strc_notations_command_yes[##1]{##2}}% \def\noexpand\strc_pickup_nop ##1\csname\e!stop#stoptag\endcsname{\strc_notations_command_nop {##1}}}% \doifnextoptionalelse\strc_pickup_yes\strc_pickup_nop} but this does \unexpanded\def\strc_notations_start#1#2% {\begingroup \edef\currentnote{#1}% \strc_constructions_initialize{#1}% \strc_notes_synchronize \ifnotesenabled \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel \fi \normalexpanded % not that efficient but also not that frequently used {\def\noexpand\strc_pickup_yes[##1]##2\csname\e!stop#2\endcsname{\strc_notations_command_yes[##1]{##2}}% \def\noexpand\strc_pickup_nop ##1\csname\e!stop#2\endcsname{\strc_notations_command_nop {##1}}}% \doifnextoptionalelse\strc_pickup_yes\strc_pickup_nop} Wolfgang
participants (2)
-
Alan BRASLAU
-
Wolfgang Schuster