Re: [NTG-context] synctex problem
Hi Alan, I have an almost identical set-up (M1, MacOS12.6, TexShop, useAlternatePath, useConTeXtSyncParser). One important difference, I use sync method: SyncTeX (TeX ≥ 2010) I’d recommend trying that. There are some other differences in my setup that probably are not important. At the beginning of my files (products and components)I only use the two lines % !TEX useAlternatePath % !TEX useConTeXtSyncParser not the root and TS-program lines, but I don’t think that matters for your SynchTeX issue. Here is the engine I use for LMTX, just in case it has something helpful for you. #!/bin/zsh # # This engine uses TeXShop's "Alternate Path", which is the variable "$3" below. # Set the TeXShop's alternate path to your ConTeXt installation in # TeXShop's Preferences -> Engine -> Alternate Path # Start ConTeXt source files with the lines: # % !TEX useAlternatePath # % !TEX useConTeXtSyncParser export OSFONTDIR=/Library/Fonts/:/System/Library/Fonts:$HOME/Library/Fonts export PATH="$3":$PATH mtxrun --autogenerate --script context --synctex "$1” I put that long comment in the engine because I share it with collaborators. Hope that helps! Gavin > On Oct 15, 2022, at 12:00 PM, Alan Bowen via ntg-context > wrote: > > At the top of a single source file, I have the lines: > % !TEX root = prd_Aestimatio-0301.tex % the root file > % !TEX TS-program = ConTeXt2021 > % !TEX useAlternatePath > % !TEX useConTeXtSyncParser >\setupsynctex[state=start, method=max] > > Syncing works well enough—though I can see no difference between method =min > and method=max, both highlight only a few words and not the entire text to be > synced, but perhaps my expectations are out of line. > > When I have these lines at the top of a component file and typeset the > product file, I get a rootfile.synctex file, but syncing itself goes awry. > Nothing happens when I sync from the PDf file to the component file, and when > I sync from the component file to the product PDF, I get the correct page but > no highlighting. > > I am using TeXShop ver. 5.03— > sync method: Both Pdf Sync and Search > Alternative Path: > /Users/bowen1/Applications/LuaMetaTeX/tex/texmf-osx-arm64/bin > > and also the latest ConteXt (ver. 2022.10.15 10:37 LMTX) under macOS 12.6 > (Apple M1 Pro chip) > > Note: the product file has only one component file for now. > > I suspect that I am missing something but am not sure where to look or what > to do now. Any guidance will be much appreciated. > > Alan > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] synctex problem
At the top of a single source file, I have the lines: % !TEX root = prd_Aestimatio-0301.tex % the root file % !TEX TS-program = ConTeXt2021 % !TEX useAlternatePath % !TEX useConTeXtSyncParser \setupsynctex[state=start, method=max] Syncing works well enough—though I can see no difference between method =min and method=max, both highlight only a few words and not the entire text to be synced, but perhaps my expectations are out of line. When I have these lines at the top of a component file and typeset the product file, I get a rootfile.synctex file, but syncing itself goes awry. Nothing happens when I sync from the PDf file to the component file, and when I sync from the component file to the product PDF, I get the correct page but no highlighting. I am using TeXShop ver. 5.03— sync method: Both Pdf Sync and Search Alternative Path: /Users/bowen1/Applications/LuaMetaTeX/tex/texmf-osx-arm64/bin and also the latest ConteXt (ver. 2022.10.15 10:37 LMTX) under macOS 12.6 (Apple M1 Pro chip) Note: the product file has only one component file for now. I suspect that I am missing something but am not sure where to look or what to do now. Any guidance will be much appreciated. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] synctex problem
Am Wed, 20 Mar 2013 23:08:24 +0100 schrieb Hans Hagen: Is it possible to tell context to create a .synctex file instead of a .synctex.gz? I've added --synctex=unzipped (or zipped or 1 or -1 or anything boolean). No upload yet. Thanks! -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] synctex problem
Is it possible to tell context to create a .synctex file instead of a .synctex.gz? (Or alternativly does someone know how to get sumatra (on windows) to handle a synctex.gz?) -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] synctex problem
On 3/20/2013 6:24 PM, Ulrike Fischer wrote: Is it possible to tell context to create a .synctex file instead of a .synctex.gz? I've added --synctex=unzipped (or zipped or 1 or -1 or anything boolean). No upload yet. (Or alternativly does someone know how to get sumatra (on windows) to handle a synctex.gz?) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___