Difference between revisions of "TeXworks"
Jump to navigation
Jump to search
m |
m (drop dup title) |
||
(One intermediate revision by the same user not shown) | |||
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 21: | Line 22: | ||
** Parameters: <code>--script context --synctec $fullname</code> | ** Parameters: <code>--script context --synctec $fullname</code> | ||
− | + | == Mac hints == | |
+ | |||
+ | If you install ConTeXt in your Applications Folder, you have to create a new engine. | ||
+ | |||
+ | Go to your preferences inside TeXworks. | ||
+ | |||
+ | In Typesetting Menu, in Processing tools, add a new engine. | ||
+ | In Name, type what you want. | ||
+ | In Program : /Applications/ConText/tex/texmf-osx-64/bin/texmfstart | ||
+ | In Arguments : | ||
+ | *texexec as the first argument | ||
+ | *$fullname as the second argument | ||
+ | *$synctexoption as the third argument. | ||
+ | |||
[[Category:Text Editors]] | [[Category:Text Editors]] |
Revision as of 11:01, 2 July 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
- Parameters:
texexec --lua $fullname
- Program:
- To typeset with MkIV (which always uses LuaTeX):
- Program:
mtxrun
- Parameters:
--script context --synctec $fullname
- Program:
Mac hints
If you install ConTeXt in your Applications Folder, you have to create a new engine.
Go to your preferences inside TeXworks.
In Typesetting Menu, in Processing tools, add a new engine. In Name, type what you want. In Program : /Applications/ConText/tex/texmf-osx-64/bin/texmfstart In Arguments :
*texexec as the first argument *$fullname as the second argument *$synctexoption as the third argument.