Difference between revisions of "User talk:Koenich"

From Wiki
Jump to navigation Jump to search
m
Line 14: Line 14:
 
** work in progress
 
** work in progress
 
* [https://foicica.com/textadept/download/textadept_LATEST.win32.zip Download] and extract [https://foicica.com/textadept/ '''Textadept'''] to a folder of your choice.
 
* [https://foicica.com/textadept/download/textadept_LATEST.win32.zip Download] and extract [https://foicica.com/textadept/ '''Textadept'''] to a folder of your choice.
* Edit Textadept ''init.lua''
+
* Edit Textadept's ''init.lua''
 
** '''Note''' that there are two ''init.lua'' of certain importancy:
 
** '''Note''' that there are two ''init.lua'' of certain importancy:
 
*** one is located in Textadept's program folder: don't edit this one, as you will lose your changes when you update Textadept
 
*** one is located in Textadept's program folder: don't edit this one, as you will lose your changes when you update Textadept
 
*** second is created by Textadept when you start it for the first time and it's located at '''SYSDRIVE:\users\USERNAME\.textadept\init.lua'''
 
*** second is created by Textadept when you start it for the first time and it's located at '''SYSDRIVE:\users\USERNAME\.textadept\init.lua'''
 +
* add the following line to the blank init.lua:
 +
** textadept.run.compile_commands.tex = 'mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "%f"'
 +
*** '''Note''' that it's only a single line, so you might need to re-format it when you copy and paste it from here into your document. Also '''note''' that your ''mtxrun.exe'' has to be in the Windows PATH (see above) in order to work, otherwise you have to add the full path to mtxrun. For example:
 +
**** textadept.run.compile_commands.tex = 'C\CTX\tex\texmf-win64\bin\mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "%f"'

Revision as of 16:21, 2 March 2017

Hi guys,

since I am a student with little time, yet a passionate ConTeXt user, I'd love to contribute to ConTeXt's reputation on the wiki (and with a german beginner's guide document, which is private until finished). So I'd like to use this space here for my ideas on creation of wiki posts. This all is work in progress...


ConTeXt (beta 2017/02/19) with Textadept (9.3)

Intstallation & ConTeXt Integration in Windows (as of 2017/03)

  • Install (i.e. download, extract and update) ConTeXt (mkiv)
    • work in progress
  • Add ConTeXt's executables folder to Windows PATH
    • work in progress
  • Download and extract Textadept to a folder of your choice.
  • Edit Textadept's init.lua
    • Note that there are two init.lua of certain importancy:
      • one is located in Textadept's program folder: don't edit this one, as you will lose your changes when you update Textadept
      • second is created by Textadept when you start it for the first time and it's located at SYSDRIVE:\users\USERNAME\.textadept\init.lua
  • add the following line to the blank init.lua:
    • textadept.run.compile_commands.tex = 'mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "%f"'
      • Note that it's only a single line, so you might need to re-format it when you copy and paste it from here into your document. Also note that your mtxrun.exe has to be in the Windows PATH (see above) in order to work, otherwise you have to add the full path to mtxrun. For example:
        • textadept.run.compile_commands.tex = 'C\CTX\tex\texmf-win64\bin\mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "%f"'