From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68087 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: t-filter: no table created when Unicode characters are included Date: Sat, 30 Apr 2011 23:00:22 +0200 Message-ID: <20110430210022.GB17753@aides> References: <1304111382.5256.20.camel@mattotaupa> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0906085905==" X-Trace: dough.gmane.org 1304197311 16443 80.91.229.12 (30 Apr 2011 21:01:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2011 21:01:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 30 23:01:45 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QGHIP-0003S3-Fp for gctc-ntg-context-518@m.gmane.org; Sat, 30 Apr 2011 23:01:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7BE42CAC6E; Sat, 30 Apr 2011 23:01:44 +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 aPPHK26Zs+Rt; Sat, 30 Apr 2011 23:01:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6D18CAC77; Sat, 30 Apr 2011 23:01:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E571CAC77 for ; Sat, 30 Apr 2011 23:01:40 +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 tNOV3DR8H0Wi for ; Sat, 30 Apr 2011 23:01:29 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 12464CAC6E for ; Sat, 30 Apr 2011 23:01:29 +0200 (CEST) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3UKQtMA011003 for ; Sat, 30 Apr 2011 22:26:56 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p3UL1Q8Q026907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 30 Apr 2011 23:01:27 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p3UL1PN1026065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 30 Apr 2011 23:01:25 +0200 Original-Received: from localhost (dslb-188-110-124-074.pools.arcor-ip.net [188.110.124.74]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id p3UL0XOh015525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 30 Apr 2011 23:00:42 +0200 In-Reply-To: <1304111382.5256.20.camel@mattotaupa> X-Operating-System: Linux aides 2.6.38-ARCH X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.210.211; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aEBUqTd5 - 905eaa9ad985 - 20110430 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68087 Archived-At: --===============0906085905== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline --XWOWbaMNXpFDWE00 Content-Type: multipart/mixed; boundary="/WwmFnJnmDyWGHa4" Content-Disposition: inline --/WwmFnJnmDyWGHa4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-04-29 <23:09:42>, Paul Menzel wrote: > Dear ConTeXt folks, >=20 >=20 > the filter module installed using >=20 > $ ./first-setup.sh --extras=3D"t-filter" >=20 > does not work with the following example, which is also attached. >=20 > \usemodule[filter] > \defineexternalfilter[rest][filtercommand=3D{pandoc -f rst -t con= text -o \externalfilteroutputfile\space \externalfilterinputfile}] > \starttext > There should be a table here. > \startrest > =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D > test table > =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D > =CE=B1 b > c d > =3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D > \stoprest > \stoptext Hi Paul, this should now work ootb as inline code with the reST module[1]. (There was some catcode inconsistency concerning spaces that I just wiped out.) Usage example appended. Best regards Philipp [1] https://bitbucket.org/phg/context-rst >=20 > The output file `minimal-temp-rest.tex` is just empty. >=20 > Replacing =C2=BB=CE=B1=C2=AB by =C2=BBa=C2=AB solves the problem. >=20 > Running `filtercommand` in a terminal produces the *correct* output > though and no empty file. >=20 > Is that a known problem? >=20 > I also include a patch adding this example into `tests/` in [1]. >=20 >=20 > Thanks, >=20 > Paul >=20 >=20 > [1] https://github.com/adityam/filter > \usemodule[filter] > \defineexternalfilter[rest][filtercommand=3D{pandoc -f rst -t context -o = \externalfilteroutputfile\space \externalfilterinputfile}] > \starttext > There should be a table here. > \startrest > =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D > test table > =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D > =CE=B1 b > c d > =3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D > \stoprest > \stoptext > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --/WwmFnJnmDyWGHa4 Content-Type: text/x-tex; charset=utf-8 Content-Disposition: attachment; filename="rstX.tex" Content-Transfer-Encoding: quoted-printable \usemodule[rst] \setupTABLE[column][1][background=3Dcolor,backgroundcolor=3Dgray:2] \starttext There will be a table here. \startRST =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D test table =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D =CE=B1 b c d =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D \stopRST \stoptext --/WwmFnJnmDyWGHa4-- --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk28eGYACgkQ02lYlJYWs9LFsACfcpKltRATcOlbE+cPODW0NXhT 13kAoJsxbjPz1L3tDmAoy7dh3YtC6Xoh =tKuv -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00-- --===============0906085905== 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 ___________________________________________________________________________________ --===============0906085905==--