Re: [NTG-context] python parse/formatter example on the wiki

2013-05-11 Thread seasoul
Yes, it is solved.



On Sun, May 12, 2013 at 12:48 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

>
> Am 11.05.2013 um 16:22 schrieb seasoul :
>
> > I was trying the example of "writing a parse/formatter" under "Verbatim
> text".
> >
> > The python formatter runs successfully. But when I compile the text file
> with all the definitions included,  an error occurs.
> >
> >
> > 
> > }
> > 
> > \endgroup
> > \buff_verbatim_type_block_verbatim_indeed ...ines
> > \dostoptagged \csname #2\e...
> >
> >
> > It could be implemented forcefully, but definitely not an excuse to
> ignore this error.
>
> You have to change the color settings from
>
>   {\color[…]…}
>
> to
>
>   \color[…]{…}
>
> because the command expects the text as argument.
>
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>



-- 
Yours Sincerely
Ba Te
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] python parse/formatter example on the wiki

2013-05-11 Thread Wolfgang Schuster

Am 11.05.2013 um 16:22 schrieb seasoul :

> I was trying the example of "writing a parse/formatter" under "Verbatim text".
> 
> The python formatter runs successfully. But when I compile the text file with 
> all the definitions included,  an error occurs.
> 
> 
> 
> }
> 
> \endgroup
> \buff_verbatim_type_block_verbatim_indeed ...ines
> \dostoptagged \csname #2\e...
> 
> 
> It could be implemented forcefully, but definitely not an excuse to ignore 
> this error.

You have to change the color settings from

  {\color[…]…}

to

  \color[…]{…}

because the command expects the text as argument.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] python parse/formatter example on the wiki

2013-05-11 Thread seasoul
I was trying the example of "writing a parse/formatter" under "Verbatim
text".

The python formatter runs successfully. But when I compile the text file
with all the definitions included,  an error occurs.




}



\endgroup

\buff_verbatim_type_block_verbatim_indeed ...ines

\dostoptagged \csname #2\e...



It could be implemented forcefully, but definitely not an excuse to ignore
this error.


Any solutions?
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___