From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68078 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: t-filter: no table created when Unicode characters are included Date: Fri, 29 Apr 2011 18:13:57 -0400 (EDT) Message-ID: 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="8323328-62417984-1304115241=:13168" X-Trace: dough.gmane.org 1304115289 9313 80.91.229.12 (29 Apr 2011 22:14:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2011 22:14:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 30 00:14: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 1QFvxV-0006pr-9A for gctc-ntg-context-518@m.gmane.org; Sat, 30 Apr 2011 00:14:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 271B8CAC73; Sat, 30 Apr 2011 00:14: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 2L7Z-gU8VQqT; Sat, 30 Apr 2011 00:14:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 824AFCAC70; Sat, 30 Apr 2011 00:14:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7027CAC70 for ; Sat, 30 Apr 2011 00:14:39 +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 MZVIyIaz-D1q for ; Sat, 30 Apr 2011 00:14:28 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 6E3D6CAC6E for ; Sat, 30 Apr 2011 00:14:28 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3TMEP1f001661 for ; Sat, 30 Apr 2011 00:14:27 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096682363.dsl.bell.ca [65.94.11.123]) By hellskitchen.mr.itd.umich.edu ID 4DBB3840.4C619.25279 ; Authuser adityam; 29 Apr 2011 18:14:24 EDT In-Reply-To: <1304111382.5256.20.camel@mattotaupa> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05EByepdU - 90bdccd3d506 - 20110430 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:68078 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-62417984-1304115241=:13168 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 29 Apr 2011, Paul Menzel wrote: > Dear ConTeXt folks, > > > the filter module installed using > > =09$ ./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 cont= ext -o \externalfilteroutputfile\space \externalfilterinputfile}] > \starttext > There should be a table here. > \startrest > =3D=3D=3D=3D=3D=3D=3D=3D=3D=09=3D=3D=3D=3D=3D=3D=3D=3D=3D > test table > =3D=3D=3D=3D=3D=3D=3D=3D=3D=09=3D=3D=3D=3D=3D=3D=3D=3D=3D > =CE=B1 b > c d > =3D=3D=3D=3D=3D=3D=3D=3D=09=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. Weird. > Running `filtercommand` in a terminal produces the *correct* output > though and no empty file. > > Is that a known problem? No. The content of the file should not affect whether the filter is run or= =20 not. Can you add \traceexternalfilters on the top and check the output=20 (look for lines starting with t-filter). > I also include a patch adding this example into `tests/` in [1]. Thanks. I added it to the test suite. The file works correctly on my=20 machine. Which version of pandoc are you using? Does the error also occur= =20 if you use the dev branch from github? $git checkout dev $context tests/rest Aditya --8323328-62417984-1304115241=:13168 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 ___________________________________________________________________________________ --8323328-62417984-1304115241=:13168--