Changes

Jump to navigation Jump to search
285 bytes added ,  19:32, 9 March 2017
no edit summary
-- Save and reset Lua state: `F9`
keys['f9'] = function()-- Mac OSX users: keys[OSX and 'mf9' or 'f9']
io.save_file()
reset()
* If for some reason you can't add the folder to PATH, for example on public machines, 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"'
* '''Important''': you have to start `first-setup.bat` from the main ConTeXt directory every time you restart a machine, on which ConTeXt is not in the Windows search path (see Step 1.3), otherwise you will get ''file not found'''-errors.
* '''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 it doesn't make any difference.
194

edits

Navigation menu