From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68076 Path: news.gmane.org!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: t-filter: no table created when Unicode characters are included Date: Fri, 29 Apr 2011 23:09:42 +0200 Message-ID: <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="===============0621348150==" X-Trace: dough.gmane.org 1304111408 21465 80.91.229.12 (29 Apr 2011 21:10:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2011 21:10:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 29 23:10:04 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 1QFuwu-0004NF-7h for gctc-ntg-context-518@m.gmane.org; Fri, 29 Apr 2011 23:10:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E894CAC75; Fri, 29 Apr 2011 23:10:03 +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 gnLjcprFUYBM; Fri, 29 Apr 2011 23:09:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8C0ACAC70; Fri, 29 Apr 2011 23:09:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BECD3CAC70 for ; Fri, 29 Apr 2011 23:09:57 +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 09w59chUrEzm for ; Fri, 29 Apr 2011 23:09:46 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 8D698CAC6E for ; Fri, 29 Apr 2011 23:09:46 +0200 (CEST) Original-Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3TL9jQS015936 for ; Fri, 29 Apr 2011 23:09:46 +0200 Original-Received: from f053041114.adsl.alicedsl.de ([78.53.41.114] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QFuxR-00011Y-Ar; Fri, 29 Apr 2011 21:10:37 +0000 X-Mailer: Evolution 2.32.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=188.40.100.199; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08EBx9JqH - 1d106e478956 - 20110429 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:68076 Archived-At: --===============0621348150== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-8yteORkhueK5SEbTB4JY" --=-8yteORkhueK5SEbTB4JY Content-Type: multipart/mixed; boundary="=-IQ3GoQ1E2ckWtwogEYSr" --=-IQ3GoQ1E2ckWtwogEYSr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear ConTeXt folks, the filter module installed using $ ./first-setup.sh --extras=3D"t-filter" does not work with the following example, which is also attached. \usemodule[filter] \defineexternalfilter[rest][filtercommand=3D{pandoc -f rst -t conte= xt -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 The output file `minimal-temp-rest.tex` is just empty. Replacing =C2=BB=CE=B1=C2=AB by =C2=BBa=C2=AB solves the problem. Running `filtercommand` in a terminal produces the *correct* output though and no empty file. Is that a known problem? I also include a patch adding this example into `tests/` in [1]. Thanks, Paul [1] https://github.com/adityam/filter --=-IQ3GoQ1E2ckWtwogEYSr Content-Disposition: attachment; filename="minimal.tex" Content-Type: text/x-tex; name="minimal.tex"; charset="UTF-8" Content-Transfer-Encoding: base64 XHVzZW1vZHVsZVtmaWx0ZXJdDQpcZGVmaW5lZXh0ZXJuYWxmaWx0ZXJbcmVzdF1bZmlsdGVyY29t bWFuZD17cGFuZG9jIC1mIHJzdCAtdCBjb250ZXh0IC1vIFxleHRlcm5hbGZpbHRlcm91dHB1dGZp bGVcc3BhY2UgXGV4dGVybmFsZmlsdGVyaW5wdXRmaWxlfV0NClxzdGFydHRleHQNClRoZXJlIHNo b3VsZCBiZSBhIHRhYmxlIGhlcmUuDQpcc3RhcnRyZXN0DQo9PT09PT09PT0JPT09PT09PT09DQog IHRlc3QJCQl0YWJsZQ0KPT09PT09PT09CT09PT09PT09PQ0KzrEJCQkJCQliDQpjCQkJCQkJZA0K PT09PT09PT0JPT09PT09PT0NClxzdG9wcmVzdA0KXHN0b3B0ZXh0DQo= --=-IQ3GoQ1E2ckWtwogEYSr-- --=-8yteORkhueK5SEbTB4JY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk27KRYACgkQPX1aK2wOHVgi+gCggvwdzYaiWDmday5vTJk9UYfL Pp0An2T2gS5UCZLzwmgGVfnzEUgdkGtr =tZb2 -----END PGP SIGNATURE----- --=-8yteORkhueK5SEbTB4JY-- --===============0621348150== 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 ___________________________________________________________________________________ --===============0621348150==--