Changes

Jump to navigation Jump to search
50 bytes added ,  15:16, 8 July 2021
m
Fix typos.
===== Syncing Between Source and PDF =====
As of July 2021, ConTeXt provides support through its Swiss-knife <code>mtxrun</code> script for getting the filename and line corresponding to a certain spot in a PDF document, and for getting the PDF coordinates (page number + bounding box) corresponding to a given line in a source file. Type this in a terminal window to get some information about itthis nifty feature:
mtxrun --script synctex --help
Editors can exploit this feature to provide smooth syncing between source code and PDF.
TeXShop '''v4.66''' and later has adopted ConTeXt's syncing featuremethod. When this feature method is enabled(see the “magic line” below), Cmd-clicking somewhere in the preview window jumps to the source window and highlight highlights the corresponding line. Vice versa, Cmd-clicking somewhere in a source window jumps to , and highlights , the corresponding spot in the preview.
To enable this feature, make sure that you are using the latest ConTeXt release, and add the following additional “magic line” at the start of your source document:
134

edits

Navigation menu