![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 12/3/2018 12:51 PM, Huseyin Özoguz wrote:
Thank you, I will investigate it, seems to be a pretty powerful mechanism. First it failed to compile (with Context version from 2015, did not know \defineruby), but with the most recent beta it does well.
So a small btw-question, I compile out of notepad++ (windows 7, 64 bit) with this code:
cd $(CURRENT_DIRECTORY) context $(CURRENT_DIRECTORY)\main.tex --synctex=1 taskkill \im SumatraPDF.exe C:\Users\Huseyin\sumatra.bat "$(CURRENT_DIRECTORY)\main.pdf"
there is no need to kill sumatra, just add --autopdf to the context call also --synctex is replaced by \setupsynctex[state=start]
This always uses the default context-version, which path' is saved the environment-variables of windows. How can I switch (and control) between different context-versions or pathes for compiling without changing the environment variables in Win (and after that I have to restart)? I tried to write the path directly into the command above, but did not work.
maybe this works out ok: mtxrun --tree=c:/data/mytex --script context --autopdf ..
Thanks and I may have questions to the actual question about interlinear typesetting later, will try to define some nice macros with arabic-german interlinear texts.
Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------