Difference between revisions of "TeXworks"

From Wiki
Jump to navigation Jump to search
m (Category: Text editors)
m
Line 15: Line 15:
 
* On the Typesetting tab, the "+" button at the bottom right lets you add new compilation options.
 
* On the Typesetting tab, the "+" button at the bottom right lets you add new compilation options.
 
* To typeset with MkII and the LuaTeX engine:
 
* To typeset with MkII and the LuaTeX engine:
**  Program: <code>texmfstart<code/>
+
**  Program: <code>texmfstart<c/ode>
 
**  Parameters: <code>texexec --lua $fullname</code>
 
**  Parameters: <code>texexec --lua $fullname</code>
 
* To typeset with MkIV (which always uses LuaTeX):
 
* To typeset with MkIV (which always uses LuaTeX):

Revision as of 16:31, 8 June 2020

By default, choosing the ConTeXt option from the drop-down executes

 texmfstart texexec <filename>

which executes ConTeXt using pdfTeX; the XeConTeXt option executes

 texmfstart texexec --xtx <filename>

which uses XeTeX.

Adding an option to use ConTeXt with LuaTeX

  • In the menu select Edit > Preferences...
  • Go to the Typesetting tab
  • 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: texmfstart<c/ode>
    • Parameters: texexec --lua $fullname
  • To typeset with MkIV (which always uses LuaTeX):
    • Program: mtxrun
    • Parameters: --script context --synctec $fullname