ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Piotr Kopszak <kopszak@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: filter module's inline command and supressed spacing
Date: Tue, 30 Dec 2014 10:00:46 +0100	[thread overview]
Message-ID: <CADawwoDD53DDu2q7nLfXxM21hPbmHNSVq=4iDyfOCKvBF1anRg@mail.gmail.com> (raw)

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 "życiaA. Mickiewicza" is supressed when it
should be "życia 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={pandoc -f \externalfilterparameter{format} -t context
                   -o \externalfilteroutputfile},
    format=twiki,
    directory=output,
  ]
\starttext
Inne tyt.: Wizyta pana Franciszka Grzymały, Exegi monumentum aere
perennius....  Powst. Paryż, na autografie podpis: "Paryż, 12 marca
1833. Wiersze natchnione wizytą Fr. Grzymały".   Pdr: {\it Czas} 1859
nr nr 118 s. 2.  (\inlinepandoc{w artykule L&#42;&#42;&#42; (E.
Januszkiewicza)  "Notatki wspomnień z życia A. Mickiewicza"}).

\startpandoc
Inne tyt.: Wizyta pana Franciszka Grzymały, Exegi monumentum aere
perennius....  Powst. Paryż, na autografie podpis: "Paryż, 12 marca
1833. Wiersze natchnione wizytą Fr. Grzymały".   Pdr: {\it Czas} 1859
nr nr 118 s. 2.  (w artykule L&#42;&#42;&#42; (E. Januszkiewicza)
"Notatki wspomnień z życia A. Mickiewicza").
\stoppandoc
\stoptext
---------------------------------------------------------------------------------

-- 
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
___________________________________________________________________________________

             reply	other threads:[~2014-12-30  9:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-30  9:00 Piotr Kopszak [this message]
2014-12-30  9:28 ` Piotr Kopszak
2015-01-01 22:14   ` Mark Szepieniec
2015-01-02 12:48     ` Piotr Kopszak
2015-01-19 15:46 ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADawwoDD53DDu2q7nLfXxM21hPbmHNSVq=4iDyfOCKvBF1anRg@mail.gmail.com' \
    --to=kopszak@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).