From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: Hans Hagen <pragma@wxs.nl>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Trouble with # character in TABLE environment...& trouble with \starttyping environment too
Date: Wed, 25 Aug 2010 12:07:25 +0200 [thread overview]
Message-ID: <4C74EB5D.2050503@gyza.cz> (raw)
In-Reply-To: <4C74E66F.5040104@wxs.nl>
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
> -----------------------------------------------------------------
>
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-08-25 10:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-24 13:53 Trouble with percent character in ConTeXt text (programm code typing) Jaroslav Hajtmar
2010-08-24 14:15 ` Wolfgang Schuster
2010-08-24 14:30 ` Jaroslav Hajtmar
2010-08-25 7:27 ` Trouble with # character in TABLE environment Jaroslav Hajtmar
2010-08-25 9:46 ` Hans Hagen
2010-08-25 10:07 ` Jaroslav Hajtmar [this message]
2010-08-25 11:34 ` Trouble with # character in TABLE environment...& trouble with \starttyping environment too Hans Hagen
2010-08-25 18:49 ` Jaroslav Hajtmar
2010-08-25 18:55 ` Hans Hagen
2010-08-25 18:59 ` Aditya Mahajan
2010-08-25 19:03 ` Hans Hagen
2010-08-25 10:42 ` [***SPAM***] Re: Trouble with # character in TABLE environment Peter Münster
2010-08-25 11:26 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C74EB5D.2050503@gyza.cz \
--to=hajtmar@gyza.cz \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).