Changes

Jump to navigation Jump to search
457 bytes added ,  13:56, 19 March 2015
m
document \enabledirectives[system.synctex]
Synctext currently doesn't work with MKIV''SyncTeX''' is a program that puts a lot of anchors in the output file that link to the corresponding position in the source file. This allows you to quickly jump from PDF to source.
With a ConTeXt version == Usage == You can use the <code>--synctex</code> 2009switch to enable SyncTeX.06.13  So in MkIV you can run context --synctex <i>jobname</i>and in MkII you can use texexec --synctex <i>jobname</i> that Alternatively you can add the following command to your MkIV document:<texcode>\enabledirectives[system.synctex]</texcode> This will create a file <code><i>jobname</i>.synctex.gz</code>.The command ctxtools context --purge --all
or next run without --synctex will remove the file again.
This file can be used by your editor and PDF viewer to display jump back and forth between the proper filesource and the PDF.
== Editors & Viewers ==
Hopefully this functionality will become part of the official ConTeXt bundle one day. (The recipe given above is too specific. The code needs to be written to handle more different viewers and different locations, not only a single viewer at a specified location.)
 
{{Installation navbox}}
[[Category:Text Editors]]

Navigation menu