Difference between revisions of "TeXworks"
Jump to navigation
Jump to search
m (moved Setting up TeXworks to TeXworks) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
By default, choosing the ConTeXt option from the drop-down executes | By default, choosing the ConTeXt option from the drop-down executes | ||
Line 13: | Line 11: | ||
== Adding an option to use ConTeXt with LuaTeX == | == 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: <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> |
Revision as of 16:30, 20 November 2012
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
- Parameters:
texexec --lua $fullname
- Program:
- To typeset with MkIV (which always uses LuaTeX):
- Program:
mtxrun
- Parameters:
--script context --synctec $fullname
- Program: