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 close <- ']' =eq ']' / . <close> ]], {void = function () return true end}) \stoptyping But when I add last row, then stop work and get error message: \starttyping c = re.compile([[ longstring <- ('[' {:eq: '='* :} '[' <close>) => void close <- ']' =eq ']' / . <close> ]], {void = function () return true end}) print(c:match'[==[]]===]]]]==]===[]') --> 17 \stoptyping Message error surprised me: systems : begin file lpeg.tex at line 32 ! LuaTeX error <main ctx instance>:7: ')' expected (to close '(' at line 1) near ']'. \dododowithbuffer ...!!bs \detokenize {#1}\!!es )} \dododowithbuffer \nododo... l.46 \stoptyping What system controlling inside \starttyping \ stoptyping environment? Thanx Jaroslav Dne 25.8.2010 11:46, Hans Hagen napsal(a):
On 25-8-2010 9:27, Jaroslav Hajtmar wrote:
Hello, all
Why is a problem with character # inside TABLE?? \type{#XXX} is without problem but inside TABLE is a problem with compilation
It works: \bTABLE \bTR \bTD \type{\#patt}\eTD \eTR \eTABLE
Isnt works: \bTABLE \bTR \bTD \type{#patt}\eTD \eTR \eTABLE
Is there solving the problem??
the next version will have \asciimode which will make all those chars regular characters (apart from % \ { })
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------