On Mon, Jul 19, 2010 at 7:56 PM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
 Am 19.07.10 19:37, schrieb luigi scarso:

#> context mydocument.tex && context --mode=LAST mydocument.tex

ensure that the code inside \startmode[LAST]...\stopmode  is really seen the "last " pass

It is seen at the last run but also the first, second ... because you enable just a self defined mode 'LAST'.

yes but the second "context", ie
context --mode=LAST mydocument.tex
should change nothing from the first  "context", so it's really the last  (run only one time)
I mean that in 
#> context mydocument.tex && context mydocument.tex && context mydocument.tex && context mydocument.tex

all but the first run exactly one time, while the first can be 5 runs and so *last  is not the last one.

(of course one can put nasty things inside \startmode[LAST]...\stopmode etc etc etc)


--
luigi