From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82456 Path: news.gmane.org!not-for-mail From: seasoul Newsgroups: gmane.comp.tex.context Subject: Re: python parse/formatter example on the wiki Date: Sun, 12 May 2013 01:14:39 +0800 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0720717050==" X-Trace: ger.gmane.org 1368292496 24967 80.91.229.3 (11 May 2013 17:14:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 May 2013 17:14:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 11 19:14:57 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UbDNp-0005yr-Ll for gctc-ntg-context-518@m.gmane.org; Sat, 11 May 2013 19:14:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CFC24101E0; Sat, 11 May 2013 19:14:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2bo51EgyleJ1; Sat, 11 May 2013 19:14:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 37DEA101E7; Sat, 11 May 2013 19:14:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2DBA1101E7 for ; Sat, 11 May 2013 19:14:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7Fzew2mAiOLJ for ; Sat, 11 May 2013 19:14:52 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 4C0E5101E0 for ; Sat, 11 May 2013 19:14:42 +0200 (CEST) Original-Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [IPv6:2607:f8b0:400c:c02::22d]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4BHEf37004247 for ; Sat, 11 May 2013 19:14:41 +0200 Original-Received: by mail-vb0-f45.google.com with SMTP id 12so4256553vbf.18 for ; Sat, 11 May 2013 10:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=aDW9c0lfcyid6hby26WvcazP/jjrLzVRED43drgmD3g=; b=Rqaa4EHPQAn//dzO5U/fBR900M2mpgG13l5qPF+phdDjMdv3LQ+ijxiZCYyb6vcKHr 9X0JTfcI3jiUtqcw4rTghVrIGgycADIu0UVhVrLr5jBz/ScBa15mnI9oc2oUhDo7nHhj U1AP6PsJU9WwEUTRZQwkRj0apsl0vjth3c2rgBP3rzOMrKSgv1ZvYhgYjklVFfvoDFyw uo11YNhqkCzcTk1UuNf71nhRhZqJiBTP0bBbL/H6GCMn+eMBOSc6LWTukDfWeS8eA1G9 /FUokbgOpHCVvNh0WkSyPscpQxwmjyeKxRUWkRtz4XTDAx+VCDWdNfHusn/ZYDWUe2YX 8WOw== X-Received: by 10.220.194.5 with SMTP id dw5mr14237776vcb.47.1368292479398; Sat, 11 May 2013 10:14:39 -0700 (PDT) Original-Received: by 10.220.160.71 with HTTP; Sat, 11 May 2013 10:14:39 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c02::22d; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JyFeFDr - 8cd4662e2b54 - 20130511 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82456 Archived-At: --===============0720717050== Content-Type: multipart/alternative; boundary=001a11c1bbf22ef85104dc746bdd --001a11c1bbf22ef85104dc746bdd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Yes, it is solved. On Sun, May 12, 2013 at 12:48 AM, Wolfgang Schuster < schuster.wolfgang@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 fil= e > 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[=85]=85} > > to > > \color[=85]{=85} > > 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 > > _________________________________________________________________________= __________ > --=20 Yours Sincerely Ba Te --001a11c1bbf22ef85104dc746bdd Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Yes, it is solved.



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

Am 11.05.2013 um 16:22 schrieb seasoul <bioseasoul@gmail.com>:

> I was trying the example of "writing a parse/formatter" unde= r "Verbatim text".
>
> The python formatter runs successfully. But when I compile the text fi= le with all the definitions included, =A0an error occurs.
>
>
> <inserted text>
> }
> <to be read again>
> \endgroup
> \buff_verbatim_type_block_verbatim_indeed ...ines
> \dostoptagged \csname #2\e...
>
>
> It could be implemented forcefully, but definitely not an excuse to ig= nore this error.

You have to change the color settings from

=A0 {\color[=85]=85}

to

=A0 \color[=85]{=85}

because the command expects the text as argument.

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________



--
Yours Sincer= ely
Ba Te
--001a11c1bbf22ef85104dc746bdd-- --===============0720717050== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0720717050==--