Changes

Jump to navigation Jump to search
no edit summary
* A message with ConTeXt's version number should apear.
* If a message like '''context' is not recognized as an internal or external command...'' appears, you should restart your machine, make sure that you added the correct location of ConTeXt's executables path to Window's search path or re-try the operation by starting from Step 2.1.
== Step 3: Install '''Textadept''' ==
end
Save <code>init.lua</code> and restart Textadept once. After doing so you can add changes to Textadept's configuration files and press <code>F9</code>-key afterwards to save and reload load the changes without having to restart Textadept.
=== Step 4.1: Bind a PDF build command into Textadept ===
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, when trying to compile a ConTeXt document.
* '''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.
3. Restart Textadept to reload the modified <code>init.lua</code>.
194

edits

Navigation menu