![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Fri, 29 Apr 2011, Paul Menzel wrote:
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.
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 not. Can you add \traceexternalfilters on the top and check the output (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 machine. Which version of pandoc are you using? Does the error also occur if you use the dev branch from github? $git checkout dev $context tests/rest Aditya