(from the thread "Installing ConTeXt Minimals on a Mac") On Mon, Sep 1, 2008 at 9:16 AM, Mojca Miklavec wrote:
(c) establishing synchronization between PDF output and its ConTeXt source. Currently, it does not seem to work (with TeXShop at least) Note, in the latest TeXShop there is Added support for SyncTeX. SyncTeX is new synchronization technology by Jerome Laurens which is included in TeX Live 2008 (but not earlier TeX distributions). The technology is built directly into pdfTeX and XeTeX. In modern TeX distributions, most typesetting actually calls pdfetex (even if using latex to output a dvi file), and thus the technology is available for such typesetting. To use the technology, add the flag --synctex=1 Any advice on how to do (a), (b), and (c) will be much appreciated.
You can try texexec --passon="-synctex=1" filename but I didn't manage to make it work - it always pointed back to \stoptext or \page, just as it pointed to the end of minipage in LaTeX. Apart from the fact that I wasn't sure which tool to use to make rsync work (when I was testing, TeXShop didn't support synctex yet, TeXWorks behaved weird, and one would need to write support for TextMate first, but when Patrick tried it, he have up after discovering that it didn't work anyway).
While answering you I just got a reply from Jérôme:
The problem comes from the synctex parser. I made different experiments and forgot to test the latest one with context. I will upload the new versions soon but I am afraid the various viewers must be updated. You will have to wait a little longer...
Today a new package has been uploaded to CTAN: (http://www.tex.ac.uk/tex-archive/support/synctex-parser/README) History: -------- 1.2: Tue Sep 2 10:28:32 UTC 2008 - Correction for ConTeXt support in the edit query. The previous method was assuming that TeX boxes do not overlap, which is reasonable for LaTeX but not for ConTeXt. This assumption is no longer considered. Once Martin and Jonathan fix pdfTeX & XeTeX sources, you'll have a chance to experiment further :) :) :) Mojca
Le 3 sept. 08 à 18:19, Mojca Miklavec a écrit :
[...] Today a new package has been uploaded to CTAN: (http://www.tex.ac.uk/tex-archive/support/synctex-parser/README)
History: -------- 1.2: Tue Sep 2 10:28:32 UTC 2008 - Correction for ConTeXt support in the edit query. The previous method was assuming that TeX boxes do not overlap, which is reasonable for LaTeX but not for ConTeXt. This assumption is no longer considered.
Once Martin and Jonathan fix pdfTeX & XeTeX sources, you'll have a chance to experiment further :) :) :)
No, it has absolutely no connection with pdfTeX nor XeTeX, both already work as expected regarding synctex. The problem only concerns the synctex command line tool and the GUI applications (the various SyncTeX clients). I'll notice developers of Skim, Sumatra-PDF, TeXWorks, TeXShop, iTeXMac2 of the new synctex parser version. (Did I forget someone?) You will have to upgrade your preferred viewer when the change is made. Mojca highlighted another problem (minor but uncomfortable) specific to context. I will try to fix that soon and inform the GUI developers only then. Regards Jérôme
Jérome Laurens wrote:
I'll notice developers of Skim, Sumatra-PDF, TeXWorks, TeXShop,
since i'm on windows i checked on sumatra-pdf but it has incomplete hyperlink support and crashes on show-man.pdf (also has clipping problems) ... no time now to look into it but i'll pick up it up later Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Jérome Laurens
-
Mojca Miklavec