Re: [NTG-context] bug in modes

2008-03-30 Thread Hans Hagen
Hans van der Meer wrote:

 I guess the pairing of \startnotallmodes with \stopnotallmodes is at  
 fault.
 In core-var.tex 234-235 I see:
 \long\def\dostartnotallmodes[#1]%
{\docheckforallmodes\dostopallmodes\donothing{#1}}
 should be:
 \long\def\dostartnotallmodes[#1]%
{\docheckforallmodes\dostopnotallmodes\donothing{#1}}

indeed, fixed now

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bug in modes

2008-03-29 Thread Hans van der Meer
The following works mirabile dictu:

\enablemode[b,c]
\startallmodes[b,c]
\type{\startallmodes[b,c]} done
\stopallmodes
\startnotallmodes[c]
\type{\startallmodes[b,c]} not done
\stopallmodes %  

But the following gives an error:

\enablemode[b,c]
\startallmodes[b,c]
\type{\startallmodes[b,c]} done
\stopallmodes
\startnotallmodes[c]
\type{\startallmodes[b,c]} not done
\stopnotallmodes %  
Runaway argument?
  \type {\startallmodes [b,c]} not done \stopnotallmodes \blank \par  
\stoptext
! File ended while scanning use of \dostopallmodes.
inserted text
 \par
* testmodes.tex
   \emergencyend

I guess the pairing of \startnotallmodes with \stopnotallmodes is at  
fault.
In core-var.tex 234-235 I see:
\long\def\dostartnotallmodes[#1]%
   {\docheckforallmodes\dostopallmodes\donothing{#1}}
should be:
\long\def\dostartnotallmodes[#1]%
   {\docheckforallmodes\dostopnotallmodes\donothing{#1}}

I checked this patch: ConTeXt  ver: 2008.03.24 23:24 MKII  fmt:  
2008.3.29  int: english/english


Hans van der Meer




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___