Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread luigi scarso
On Fri, Apr 10, 2009 at 12:56 PM, Hans Hagen pra...@wxs.nl wrote:

 luigi scarso wrote:

 \def\@@FOO{FOO}
 \starttext
 \@@FOO
 \stoptext

 works in mkiv minimals ,
 but not in an old mkii context of mine
 (inaccessible control sequence)  .

 I suppose that it's ok .


 no, it means that we have a missing \protect .. upto you to figure out
 where so that we can fix it



This compiles ok in luatex

test-inaccesible-luatex.tex
\immediate\write16{===catcode of @ is:\the\numexpr\catco...@\relax}
\def\@@FOO{FOO}
\@@FOO
\bye


test-inaccesible-luatex.log:
This is LuaTeX, Version snapshot-0.38.0-2009041013 (Web2C 7.5.7)
(format=plain 2009.4.14)  14 APR 2009 14:43
 \write18 enabled.
**test-inaccesible-luatex.tex
(test-inaccesible-luatex.tex
===catcode of @ is:12
[1] )
Output written on test-inaccesible-luatex.dvi (1 page, 216 bytes).




-- 
luigi
___
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
___


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread Wolfgang Schuster


Am 14.04.2009 um 14:47 schrieb luigi scarso:


On Fri, Apr 10, 2009 at 12:56 PM, Hans Hagen pra...@wxs.nl wrote:
luigi scarso wrote:
\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext

works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .

I suppose that it's ok .

no, it means that we have a missing \protect .. upto you to figure  
out where so that we can fix it



This compiles ok in luatex

test-inaccesible-luatex.tex
\immediate\write16{===catcode of @ is:\the\numexpr\catco...@\relax}
\def\@@FOO{FOO}
\@@FOO
\bye


Can you also explain why it did work and also why this is a very bad  
idea!


Wolfgang

___
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
___


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread luigi scarso
On Tue, Apr 14, 2009 at 3:53 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 14.04.2009 um 14:47 schrieb luigi scarso:

  On Fri, Apr 10, 2009 at 12:56 PM, Hans Hagen pra...@wxs.nl wrote:
 luigi scarso wrote:
 \def\@@FOO{FOO}
 \starttext
 \@@FOO
 \stoptext

 works in mkiv minimals ,
 but not in an old mkii context of mine
 (inaccessible control sequence)  .

 I suppose that it's ok .

 no, it means that we have a missing \protect .. upto you to figure out
 where so that we can fix it

 I have checked another old release .

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=cont-en
2006.3.2)  14 APR 2009 15:28
entering extended mode

and it's also ok .





 This compiles ok in luatex

 test-inaccesible-luatex.tex
 \immediate\write16{===catcode of @ is:\the\numexpr\catco...@\relax}
 \def\@@FOO{FOO}
 \@@FOO
 \bye






-- 
luigi
___
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
___


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread Wolfgang Schuster


Am 10.04.2009 um 12:56 schrieb Hans Hagen:


luigi scarso wrote:

\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext
works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .
I suppose that it's ok .


no, it means that we have a missing \protect .. upto you to figure  
out where so that we can fix it


The culprit is type-siz.tex

Wolfgang

___
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
___


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 10.04.2009 um 12:56 schrieb Hans Hagen:


luigi scarso wrote:

\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext
works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .
I suppose that it's ok .


no, it means that we have a missing \protect .. upto you to figure out 
where so that we can fix it


The culprit is type-siz.tex


ok, thanks for nailing it down, will be fixed

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
___


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread luigi scarso
On Tue, Apr 14, 2009 at 4:31 PM, Hans Hagen pra...@wxs.nl wrote:

 Wolfgang Schuster wrote:


 Am 10.04.2009 um 12:56 schrieb Hans Hagen:

  luigi scarso wrote:

 \def\@@FOO{FOO}
 \starttext
 \@@FOO
 \stoptext
 works in mkiv minimals ,
 but not in an old mkii context of mine
 (inaccessible control sequence)  .
 I suppose that it's ok .


 no, it means that we have a missing \protect .. upto you to figure out
 where so that we can fix it


 The culprit is type-siz.tex


 ok, thanks for nailing it down, will be fixed

If I change the last \unprotect to  \protect
in type-siz.tex
example compile again without error .


-- 
luigi
___
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
___


Re: [NTG-context] inaccessible control sequence

2009-04-10 Thread Wolfgang Schuster


Am 10.04.2009 um 12:02 schrieb luigi scarso:


\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext

works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .

I suppose that it's ok .



Not a good style but it's OK. The following is not what I expected.

\starttext
\number\catcode`@
\stoptext

Wolfgang

___
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
___


Re: [NTG-context] inaccessible control sequence

2009-04-10 Thread Hans Hagen

luigi scarso wrote:

\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext

works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .

I suppose that it's ok .


no, it means that we have a missing \protect .. upto you to figure out 
where so that we can fix it


-
  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
___


Re: [NTG-context] inaccessible control sequence

2009-04-10 Thread luigi scarso
On Fri, Apr 10, 2009 at 12:56 PM, Hans Hagen pra...@wxs.nl wrote:
 luigi scarso wrote:

 \def\@@FOO{FOO}
 \starttext
 \@@FOO
 \stoptext

 works in mkiv minimals ,
 but not in an old mkii context of mine
 (inaccessible control sequence)  .

 I suppose that it's ok .

 no, it means that we have a missing \protect .. upto you to figure out where
 so that we can fix it

hmmm , my Eastern homework ...:)



-- 
luigi
___
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
___