Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Jaroslav Hajtmar
Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works OK... \starttyping c = re.compile([[ longstring - ('[' {:eq: '='* :} '[' close) = void

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works OK... \starttyping c = re.compile([[ longstring -

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Jaroslav Hajtmar
Thanx Hans, I did not think that inside \starttyping -- \stoptyping environment ConTeXt could do such a check this thing. Thanks so much. Health Jaroslav Dne 25.8.2010 13:34, Hans Hagen napsal(a): On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Aditya Mahajan
On Wed, 25 Aug 2010, Hans Hagen wrote: On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 8:49, Jaroslav Hajtmar wrote: Thanx Hans, I did not think that inside \starttyping -- \stoptyping environment ConTeXt could do such a check this thing. Well, the captured content is passed to the lua end using long strings so nothing is processed at that stage. Of course I

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 8:59, Aditya Mahajan wrote: Is there a more robust way to do this? Perhaps making the number of equal signs user configurable? redefining \!!bs and \!!es is ok as they will not disappear after all, how often does one use [===[ and ]===] in lua code (in a non symmetrical way).