Aditya Mahajan <adit...@umich.edu> writes:

> (but I don't see why locale should be different when a
> program is run from inside context then when it is run from a shell).

Taco can surely better explain why. I think somewhere in the luatex
manual, he explains why luatex sets locale to "C".

To see the differences in the environment, just do "set >/tmp/set-shell"
and run context on:

--8<---------------cut here---------------start------------->8---
\starttext
\ctxlua{os.execute"set >/tmp/set-context"}
\stoptext
--8<---------------cut here---------------end--------------->8---

I don't have pandoc, but I'm sure that you can reproduce the problem
with "LANG=C pandoc ..."

Thus, the solution would be something like:
"filtercommand={LANG=en_GB.utf8 pandoc ...}"

-- 
           Peter
___________________________________________________________________________________
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 via email to