![]() When this method is enabled (see the “magic line” below), Cmd-clicking somewhere in the preview window jumps to the source window and highlights the corresponding line. TeXShop v4.66 and later has adopted ConTeXt's syncing method. Type this in a terminal window to get some information about this nifty feature:Įditors can exploit this feature to provide smooth syncing between source code and PDF. Verify in the Console window that the correct ConTeXt distribution is used for typesetting.Īs of July 2021, ConTeXt provides support, through its Swiss army knife mtxrun 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. You do not need to select the correct engine from the drop-down menu when % !TEX TS-program is used: TeXShop will pick up the engine specified in the source. Now, every time you edit a ConTeXt document and want to use your local installation instead of MacTeX's, add the following “magic lines” right at the beginning of your source document: See below how to add an engine using the latter instead. Remark this engines uses context and not mtxrun for compilation. Back in TeXShop, go to Preferences > Engine and adjust the Alternate Path text field to point to the full path of your local ConTeXt installation.Open Terminal.app, then type the following to make the engine executable and press Enter:Ĭhmod +x ~/Library/TeXShop/Engines/ConTeXt202X.engine. ![]() The new ConTeXt202X engine should now appear in the toolbar drop-down menu. Move or copy the file ConTeXt202X.engine into the Engines folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |