Hello, \FlushStep eats all kind of breakable spaces (" ", "\ " and "\space"): \usemodule[pre-stepwise] \setupinteraction[state=start] \starttext \StartSteps bla \FlushStep bla\FlushStep \StopSteps \page \StartSteps bla\ \FlushStep\ bla\FlushStep \StopSteps \page \StartSteps bla\space\FlushStep\space bla\FlushStep \StopSteps \page Workaround:\blank \StartSteps bla\FlushStep\relax\ bla\FlushStep \StopSteps \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Am 05.02.2009 um 20:03 schrieb Peter Münster:
Hello,
\FlushStep eats all kind of breakable spaces (" ", "\ " and "\space"):
\usemodule[pre-stepwise] \setupinteraction[state=start]
Here is a ConTeXt version of LaTeX's \g@addto@macro macro. \long\def\addmacro#1\to#2% better name needed {\begingroup \scratchtoks\expandafter{#2#1}% \xdef#2{\the\scratchtoks}% \endgroup} \addmacro\relax\to\FlushStep Wolfgang
On Thu, 5 Feb 2009, Wolfgang Schuster wrote:
Here is a ConTeXt version of LaTeX's \g@addto@macro macro.
\long\def\addmacro#1\to#2% better name needed {\begingroup \scratchtoks\expandafter{#2#1}% \xdef#2{\the\scratchtoks}% \endgroup}
\addmacro\relax\to\FlushStep
This seems to be just another work-around. Wouldn't it be better, to adjust the definition of FlushStep in s-pre-60.tex? Like this for example: \def\FlushStep{\iftrialtypesetting\else\StopStep\NextStep\StartStep\fi\relax} Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Am 05.02.2009 um 21:49 schrieb Peter Münster:
On Thu, 5 Feb 2009, Wolfgang Schuster wrote:
Here is a ConTeXt version of LaTeX's \g@addto@macro macro.
\long\def\addmacro#1\to#2% better name needed {\begingroup \scratchtoks\expandafter{#2#1}% \xdef#2{\the\scratchtoks}% \endgroup}
\addmacro\relax\to\FlushStep
This seems to be just another work-around. Wouldn't it be better, to adjust the definition of FlushStep in s-pre-60.tex?
Like this for example: \def\FlushStep{\iftrialtypesetting\else\StopStep\NextStep\StartStep \fi\relax}
1. Only Hans can do this. 2. This is also what happens with my macro. 3. I think it's better to use my macro than to use manual patched \FlushStep in your file. Wolfgang
On Thu, 5 Feb 2009, Wolfgang Schuster wrote:
Like this for example: \def\FlushStep{\iftrialtypesetting\else\StopStep\NextStep\StartStep\fi\relax}
1. Only Hans can do this. 2. This is also what happens with my macro. 3. I think it's better to use my macro than to use manual patched \FlushStep in your file.
Of course, I've only thought of option 1 (hopefully Hans reads this)! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
participants (2)
-
Peter Münster
-
Wolfgang Schuster