ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* t-filter: no table created when Unicode characters are included
@ 2011-04-29 21:09 Paul Menzel
  2011-04-29 21:17 ` [t-filter] [PATCH] tests: add test file for reST (reStructuredText) Paul Menzel
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Paul Menzel @ 2011-04-29 21:09 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 1000 bytes --]

Dear ConTeXt folks,


the filter module installed using

	$ ./first-setup.sh --extras="t-filter"

does not work with the following example, which is also attached.

        \usemodule[filter]
        \defineexternalfilter[rest][filtercommand={pandoc -f rst -t context -o \externalfilteroutputfile\space \externalfilterinputfile}]
        \starttext
        There should be a table here.
        \startrest
        =========	=========
          test            table
        =========	=========
        α                 b
        c                 d
        ========	========
        \stoprest
        \stoptext

The output file `minimal-temp-rest.tex` is just empty.

Replacing »α« by »a« 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

[-- Attachment #1.1.2: minimal.tex --]
[-- Type: text/x-tex, Size: 326 bytes --]

\usemodule[filter]
\defineexternalfilter[rest][filtercommand={pandoc -f rst -t context -o \externalfilteroutputfile\space \externalfilterinputfile}]
\starttext
There should be a table here.
\startrest
=========	=========
  test			table
=========	=========
α						b
c						d
========	========
\stoprest
\stoptext

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2011-06-25 10:58 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-29 21:09 t-filter: no table created when Unicode characters are included Paul Menzel
2011-04-29 21:17 ` [t-filter] [PATCH] tests: add test file for reST (reStructuredText) Paul Menzel
2011-04-29 22:13 ` t-filter: no table created when Unicode characters are included Aditya Mahajan
2011-04-30  7:37   ` Paul Menzel
2011-04-30 15:10     ` Aditya Mahajan
2011-05-01 10:48       ` Paul Menzel
2011-05-01 12:12       ` Peter Münster
2011-05-01 14:29         ` Aditya Mahajan
2011-05-01 18:27           ` Peter Münster
2011-05-01 18:52           ` Peter Münster
2011-05-01 19:05             ` Aditya Mahajan
2011-05-01 19:09               ` Aditya Mahajan
2011-05-02 15:30                 ` Paul Menzel
2011-05-27  8:53                   ` [solved] " Paul Menzel
2011-06-23 14:31                     ` yoraxe
2011-06-23 16:30                       ` Aditya Mahajan
2011-06-23 19:59                         ` t-filter: how to use math-mode yoraxe
2011-06-23 21:08                           ` yoraxe
2011-06-23 23:23                           ` Aditya Mahajan
2011-06-25 10:58                             ` yoraxe
2011-04-30 21:00 ` t-filter: no table created when Unicode characters are included Philipp Gesang
2011-05-20  9:24   ` t-rst: Unicode character not printed (was: t-filter: no table created when Unicode characters are included) Paul Menzel
2011-05-20  9:54     ` Philipp Gesang

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).