I was using LaTex in Kile and want to try ConTeXt with LuaTeX engine. It appears that Kile doesn’t process ConTeXt; so, I am trying TeXworks. Under the Typeset drop-down, all the options for ConTeXt appear except “ConTeXt(LuaTeX)”; but LuaTeX appears by itself.
Would you please point me to what I might be missing to get this option available? Thank you.
Or, perhaps, Kile can process ConTeXt or there is another option in addition to TeXworks.
Edited after learning a bit more:
Although I didn’t pursue getting it to work completely, it appears that Kile can process ConTeXt. It appears under the Compile option after installing texlive-context. Also need luametatex if want to use the LMTX version which is the most recent.
However, the PATH needs set to make it work; but I didn’t get it to work in Kile. Instead, I followed the instructions from the pragma ade site and installed it under home, and that provided guidance on how to set the path, and then I just run it from the CLI using “context” as would for any other application. Thus, not using Kile or TeXworks but only Kate as the text editor and running ConTeXt from the CLI.
I suspect (but cannot now demonstrate it) that, if the path is set correctly for ConTeXt and
luametatex, Kile can work with it. The truth is I don’t know enough about setting path variables and the like and have some learning to do there; but the first line below (provided in the output of install.sh) worked for the manual installation under home. But I think more is needed to get luametatex to work in Kile or TeXworks directly.
If you want to run ConTeXt everywhere, you need to adapt the path, like:
export PATH=/home/gary/data/context/context-linux-64/tex/texmf-linux-64/bin:$PATH
If you run from an editor you can specify the full path to mtxrun:
/home/gary/data/context/context-linux-64/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ...
These links might also be useful. Appears that if do so through texlive and luametatex, the path and symlinks need set up such that texlive knows where to look for luametatex because of something to do with ConTeXt using cmake and texlive using autotools (over my head, sorry).
https://wiki.contextgarden.net/Introduction/Installation
https://wiki.contextgarden.net/Building_LuaMetaTeX_for_TeX_Live