From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82453 Path: news.gmane.org!not-for-mail From: seasoul Newsgroups: gmane.comp.tex.context Subject: python parse/formatter example on the wiki Date: Sat, 11 May 2013 22:22:35 +0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0819217451==" X-Trace: ger.gmane.org 1368282171 26209 80.91.229.3 (11 May 2013 14:22:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 May 2013 14:22:51 +0000 (UTC) To: ntgcontext Original-X-From: ntg-context-bounces@ntg.nl Sat May 11 16:22:52 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 1UbAhI-0007Ug-Oa for gctc-ntg-context-518@m.gmane.org; Sat, 11 May 2013 16:22:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 81F25101E7; Sat, 11 May 2013 16:22:51 +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 yfk967+Zp9AP; Sat, 11 May 2013 16:22:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 023C3101EB; Sat, 11 May 2013 16:22:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E9697101EB for ; Sat, 11 May 2013 16:22:47 +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 hLlmQ+iLi0Sz for ; Sat, 11 May 2013 16:22:47 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 4DAD5101E7 for ; Sat, 11 May 2013 16:22:37 +0200 (CEST) Original-Received: from mail-ve0-x22c.google.com (mail-ve0-x22c.google.com [IPv6:2607:f8b0:400c:c01::22c]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4BEkDhD019937 for ; Sat, 11 May 2013 16:46:14 +0200 Original-Received: by mail-ve0-f172.google.com with SMTP id b10so4648234vea.17 for ; Sat, 11 May 2013 07:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=0Hc8tGSwmpxOsBs1bvJlN0BJurvcxeKqW89LoeaDcuU=; b=bzeNy6PoDJjRcTt/okbImoyKVLZSbIzBSakemdjIy2eJ0LWlw0+wKdiNGy96VQoUDl 6ss0mWoKvVDmpNcgIYDCg/iJFwrBoBRTSeIaRH1LF0eFNhED+OQaPqUX03VNrZERnSZJ dZwAf+BuZS/WmaV55EhNEPnNalNRJ9p24pzdKZ/3c1RQLbpSGNeXHnRABF2Q0JIQtgvD RoDDuA0kzepPpy9PXKPzvSsmEI86DSMgQWvt5yTjPPae4bqQbCND2Eouzuxi4QIoC6EC jhXRE1jOzTMdOUsgzO8bsnh3/w7HCIs0s2wZUlxMrwJfxxJE8q6FT1FByzzaD74ELoHA xR8Q== X-Received: by 10.52.37.196 with SMTP id a4mr12004417vdk.82.1368282155852; Sat, 11 May 2013 07:22:35 -0700 (PDT) Original-Received: by 10.220.160.71 with HTTP; Sat, 11 May 2013 07:22:35 -0700 (PDT) X-Bayes-Prob: 0.0036 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c01::22c; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JyCKd9G - 3de6e3aa5294 - 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:82453 Archived-At: --===============0819217451== Content-Type: multipart/alternative; boundary=bcaec51a8b86da28d004dc7203b0 --bcaec51a8b86da28d004dc7203b0 Content-Type: text/plain; charset=ISO-8859-1 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? --bcaec51a8b86da28d004dc7203b0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I was trying the example of "writing a parse/formatte= r" under "Verbatim text".

The python form= atter runs successfully. But when I compile the text file with all the defi= nitions included, =A0an error occurs.


<inserted text>

}

<to be read again>

\endgroup

\buff_verbatim_type_block_verbatim_indeed ...ines <= /p>

\= dostoptagged \csname #2\e...



It could be implemented forcef= ully, but definitely not an excuse to ignore this error.


Any solutions?

<= div>
--bcaec51a8b86da28d004dc7203b0-- --===============0819217451== 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 ___________________________________________________________________________________ --===============0819217451==--