Difference between revisions of "TeXworks"

From Wiki
Jump to navigation Jump to search
(update (most contents were outdated))
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
By default, choosing the ConTeXt option from the drop-down executes
 
  
  texmfstart texexec <filename>
+
Download TeXworks from its [https://github.com/TeXworks/texworks/releases Github page].
  
which executes ConTeXt using pdfTeX; the XeConTeXt option executes
+
Change the following preferences:
  
  texmfstart texexec --xtx <filename>
+
* General: no changes necessary
 +
* Editor:
 +
** line numbers: yes
 +
** syntax coloring: ConTeXt
 +
** smart quotes mode: None (or Unicode characters)
 +
* Preview: no changes necessary
 +
* Typesetting:
 +
** Paths for TeX...: add the bin path of your ConTeXt installation (that below <tt>tex/</tt>) and move it above the TeX live paths
 +
** Processing tools/Default: ConTeXt (LuaTeX)
 +
** Hide console output: never
 +
* Scripts: no changes necessary
  
which uses XeTeX.
+
== [[SyncTeX]] ==
  
== Adding an option to use ConTeXt with LuaTeX ==
+
Would be nice, but doesn’t work.
  
* In the menu select Edit > Preferences...
+
 
* Go to the Typesetting tab
+
[[Category:Text Editors]]
* On the Typesetting tab, the "+" button at the bottom right lets you add new compilation options.
 
* To typeset with MkII and the LuaTeX engine:
 
**  Program: <code>texmfstart<code/>
 
**  Parameters: <code>texexec --lua $fullname</code>
 
* To typeset with MkIV (which always uses LuaTeX):
 
**  Program: <code>mtxrun</code>
 
**  Parameters: <code>--script context --synctec $fullname</code>
 

Latest revision as of 18:06, 5 August 2022

Download TeXworks from its Github page.

Change the following preferences:

  • General: no changes necessary
  • Editor:
    • line numbers: yes
    • syntax coloring: ConTeXt
    • smart quotes mode: None (or Unicode characters)
  • Preview: no changes necessary
  • Typesetting:
    • Paths for TeX...: add the bin path of your ConTeXt installation (that below tex/) and move it above the TeX live paths
    • Processing tools/Default: ConTeXt (LuaTeX)
    • Hide console output: never
  • Scripts: no changes necessary

SyncTeX

Would be nice, but doesn’t work.