From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89700 Path: news.gmane.org!not-for-mail From: Mark Szepieniec Newsgroups: gmane.comp.tex.context Subject: Re: filter module's inline command and supressed spacing Date: Thu, 1 Jan 2015 23:14:33 +0100 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="===============1204777145==" X-Trace: ger.gmane.org 1420150528 27286 80.91.229.3 (1 Jan 2015 22:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2015 22:15:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 01 23:15:22 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y6o1a-0002pH-5b for gctc-ntg-context-518@m.gmane.org; Thu, 01 Jan 2015 23:15:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E8BD101EC for ; Thu, 1 Jan 2015 23:15:21 +0100 (CET) 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 MhustwFMNlaO for ; Thu, 1 Jan 2015 23:15:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 680AE10230 for ; Thu, 1 Jan 2015 23:14:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9FD06101EA for ; Thu, 1 Jan 2015 23:14:44 +0100 (CET) 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 VALHQSUZWxip for ; Thu, 1 Jan 2015 23:14:43 +0100 (CET) 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 1941A101E8 for ; Thu, 1 Jan 2015 23:14:37 +0100 (CET) Original-Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t01MEYNT006414 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 1 Jan 2015 23:14:34 +0100 Original-Received: by mail-qg0-f54.google.com with SMTP id l89so12604745qgf.13 for ; Thu, 01 Jan 2015 14:14:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UWi7pP+PtYCJ7XZs8BisU4bhzqa9PITA78DfH7aHkec=; b=p9iFDf8d1YyZNIad7T0be6CL078/rGHP+1lbNctlWqcdwJwRm1ip5LkymBfugbTpS5 0s1xODeMBjNkj+3UibeFrmXqVZxCXLihZoI7XkbC6/jlNq7Qf+XxYvS0p4XmVZDhoX95 EnmPYCekCnxy+nDXImREM+zbnbaXT9rleoyUM4aXIo9R4pl1GtDjUN26AWvql143hBDk JiMmC+GSqgHyCDz6kWvZplqNhQXYrC1b02YaKKvMxc1M/0QXe8wDU+KAA1x0Zkgs7IU+ W34Rncy8I6kN4xUes8CwSt3oyg5+nHeaZ7Omem46hyr1REuuPzAPvJjOqljrDvE/Proz SltA== X-Received: by 10.140.100.248 with SMTP id s111mr4926898qge.44.1420150473632; Thu, 01 Jan 2015 14:14:33 -0800 (PST) Original-Received: by 10.229.203.67 with HTTP; Thu, 1 Jan 2015 14:14:33 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c04::236; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NyKeyDH - a7fa7fab8203 - 20150101 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of mszepien@gmail.com designates 2607:f8b0:400d:c04::236 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2607:f8b0:400d:c04::236; envelope-from=; helo=mail-qg0-x236.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:89700 Archived-At: --===============1204777145== Content-Type: multipart/alternative; boundary=001a1134f2d68234b2050b9e8c19 --001a1134f2d68234b2050b9e8c19 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Piotr, maybe you can try opening an issue in the code's repository: https://github.com/adityam/filter/issues On Tue, Dec 30, 2014 at 10:28 AM, Piotr Kopszak wrote: > P.S. > > Silly of me not to check ConTeXt version first. Anyway, the problem > persists with most recent ConTeXt although different errors are > produced. The space is supressed > in 'Januszkiewicza)"Notatki' and html entities are not interpreted > properly when using \inlinepandoc. > > 2014-12-30 10:00 GMT+01:00 Piotr Kopszak : > > Hello list, > > > > It looks like a bug in the filter module, but maybe I'm doing > > something wrong. Any help will be greatly appreciated. When using the > > \inlinepandoc command in the first paragraph below the space at the > > end of the paragraph in "=C5=BCyciaA. Mickiewicza" is supressed when it > > should be "=C5=BCycia A. Mickiewicza". This does not happen when using > > pandoc environment. If you want to run the minimal example you have to > > make sure you got the recent pandoc which supports twiki input format > > and create the "output" subdirectory in your working directory. > > > > Best > > > > Piotr > > > -------------------------------------------------------------------------= --- > > \usemodule[filter] > > \defineexternalfilter > > [pandoc] > > [ > > filter=3D{pandoc -f \externalfilterparameter{format} -t context > > -o \externalfilteroutputfile}, > > format=3Dtwiki, > > directory=3Doutput, > > ] > > \starttext > > Inne tyt.: Wizyta pana Franciszka Grzyma=C5=82y, Exegi monumentum aere > > perennius.... Powst. Pary=C5=BC, na autografie podpis: "Pary=C5=BC, 12= marca > > 1833. Wiersze natchnione wizyt=C4=85 Fr. Grzyma=C5=82y". Pdr: {\it Cz= as} 1859 > > nr nr 118 s. 2. (\inlinepandoc{w artykule L*** (E. > > Januszkiewicza) "Notatki wspomnie=C5=84 z =C5=BCycia A. Mickiewicza"})= . > > > > \startpandoc > > Inne tyt.: Wizyta pana Franciszka Grzyma=C5=82y, Exegi monumentum aere > > perennius.... Powst. Pary=C5=BC, na autografie podpis: "Pary=C5=BC, 12= marca > > 1833. Wiersze natchnione wizyt=C4=85 Fr. Grzyma=C5=82y". Pdr: {\it Cz= as} 1859 > > nr nr 118 s. 2. (w artykule L*** (E. Januszkiewicza) > > "Notatki wspomnie=C5=84 z =C5=BCycia A. Mickiewicza"). > > \stoppandoc > > \stoptext > > > -------------------------------------------------------------------------= -------- > > > > -- > > http://okle.pl > > > > -- > http://okle.pl > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --001a1134f2d68234b2050b9e8c19 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Piotr,

maybe you can try opening an = issue in the code's repository:=C2=A0https://github.com/adityam/filter/issues
=

On Tue, Dec 30, 2= 014 at 10:28 AM, Piotr Kopszak <kopszak@gmail.com> wrote:
P.S.

Silly of me not to check ConTeXt version first. Anyway, the problem
persists with most recent ConTeXt although different errors are
produced. The space is supressed
in 'Januszkiewicza)"Notatki' and html entities are not interpr= eted
properly when using \inlinepandoc.

2014-12-30 10:00 GMT+01:00 Piotr Kopszak <kopszak@gmail.com>:
> Hello list,
>
> It looks like a bug in the filter module, but maybe I'm doing
> something wrong. Any help will be greatly appreciated. When using the<= br> > \inlinepandoc command in the first paragraph below the space at the > end of the paragraph in "=C5=BCyciaA. Mickiewicza" is supres= sed when it
> should be "=C5=BCycia A. Mickiewicza". This does not happen = when using
> pandoc environment. If you want to run the minimal example you have to=
> make sure you got the recent pandoc which supports twiki input format<= br> > and create the "output" subdirectory in your working directo= ry.
>
> Best
>
> Piotr
> ----------------------------------------------------------------------= ------
> \usemodule[filter]
> \defineexternalfilter
>=C2=A0 =C2=A0[pandoc]
>=C2=A0 =C2=A0[
>=C2=A0 =C2=A0 =C2=A0filter=3D{pandoc -f \externalfilterparameter{format= } -t context
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -= o \externalfilteroutputfile},
>=C2=A0 =C2=A0 =C2=A0format=3Dtwiki,
>=C2=A0 =C2=A0 =C2=A0directory=3Doutput,
>=C2=A0 =C2=A0]
> \starttext
> Inne tyt.: Wizyta pana Franciszka Grzyma=C5=82y, Exegi monumentum aere=
> perennius....=C2=A0 Powst. Pary=C5=BC, na autografie podpis: "Par= y=C5=BC, 12 marca
> 1833. Wiersze natchnione wizyt=C4=85 Fr. Grzyma=C5=82y".=C2=A0 = =C2=A0Pdr: {\it Czas} 1859
> nr nr 118 s. 2.=C2=A0 (\inlinepandoc{w artykule L&#42;&#42;&am= p;#42; (E.
> Januszkiewicza)=C2=A0 "Notatki wspomnie=C5=84 z =C5=BCycia A. Mic= kiewicza"}).
>
> \startpandoc
> Inne tyt.: Wizyta pana Franciszka Grzyma=C5=82y, Exegi monumentum aere=
> perennius....=C2=A0 Powst. Pary=C5=BC, na autografie podpis: "Par= y=C5=BC, 12 marca
> 1833. Wiersze natchnione wizyt=C4=85 Fr. Grzyma=C5=82y".=C2=A0 = =C2=A0Pdr: {\it Czas} 1859
> nr nr 118 s. 2.=C2=A0 (w artykule L&#42;&#42;&#42; (E. Jan= uszkiewicza)
> "Notatki wspomnie=C5=84 z =C5=BCycia A. Mickiewicza").
> \stoppandoc
> \stoptext
> ----------------------------------------------------------------------= -----------
>
> --
> http://okle.pl



--
http://okle.pl
___________________________________________________________________________= ________
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=C2=A0 : http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--001a1134f2d68234b2050b9e8c19-- --===============1204777145== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1204777145==--