On 5/17/2016 2:39 PM, Thomas Fehige wrote:
Whew, I've got it running, finally.
For some reason, TeXworks needs to tell mtxrun explicitly where its texmf-tree is located. Meaning, an additional argument is required in TeXworks's starter setup, which now looks like this:
name: ConTeXt MkIV command: mtxrun arguments: --tree=/usr/local/context/tex <-- this is the one! --autogenerate --script context $fullname
In the "Paths to TeX and friends" list I have
/usr/local/context/texmf-linux-64 /usr/local/context/bin
as the top two entries.
I don't know what exactly is going on here, so I don't feel confident to add this to the wiki, but maybe someone else does and will.
Using --tree is quite ok for this. Maybe TeXworks sets some environment variable that interferes otherwise. Normally using the full path should also work, so /usr/local/context/texmf-linux-64/mtxrun don't add /usr/local/context/bin to the path as it's only used when updating Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------