Changes

Jump to navigation Jump to search
9 bytes added ,  22:24, 2 March 2017
no edit summary
* If for some reason you can't add the folder to PATH you have to add the full path to your ConTeXt executables. For example:
textadept.run.compile_commands.tex = 'C:/ctx/tex/texmf-mswin/bin/mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "%f"'
* '''Note''' that you have to use slash <code>/</code> instead of backslash <code>\</code> in the file path, since Lua (same as ConTeXt) interprets a <code>\</code> as the beginning of a command, while for Windows is it doesn't make a any difference.
3. Restart Textadept to reload the modified <code>init.lua</code>.
4. Open or create a ConTeXt test document:
\starttext hello world! \stoptext 
5. Use Textadept's '''Tools''' -> '''Compile''' to build a PDF with the options added to <code>init.lua</code>. A message buffer with compilation status will open in a seperate tab.
194

edits

Navigation menu