Input and compilation/Text editors/TeXworks

From Wiki
Jump to navigation Jump to search

TeXworks is a cross-platform TeX editor with a built-in PDF preview that has source-output synchronisation.

Download TeXworks from its Github page.

It contains enhanced ConTeXt support from v0.7.

Don’t use the setup files from the distribution.

Change the following preferences:

  • General: no changes necessary
  • Editor:
    • line numbers: yes
    • syntax coloring: ConTeXt TeX
    • smart quotes mode: ConTeXt commands
  • 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
    • Hide console output: never
  • Scripts:
    • Scripts my read all files: yes
    • Scripts may write files: yes
    • Scripts may execute system commands: yes(?)
    • Enable script plugins: yes (otherwise no Lua scripts)

SyncTeX

Works on the file level; apparently ConTeXt’s SyncTeX areas are wrong.