On 7/11/2017 4:36 PM, Thomas Floeren wrote:
On 4. Jun 2017, at 18:55, Hans Hagen
wrote: Hi,
For those using synctex, an alternative method is:
\setupsynctex[state=start]
It is tuned for use in a more complex setup where one wants access to source files (with content) and not to e.g. styles in a tex tree. It also works reasonable well with (also included) xml files. Personally I never use synctex but for some projects it came in handy for authors (think of proofing xml files with hundreds of nested inclusions and files in a rather branched tree.) Of course you can expect a similar performance hit as normal synctex but commenting the above line in production results in zero overhead. Using the syntex flag on the command line (--synctex=context will work) can be messy.
This currently only works with the windows binaries version on the garden (as we need luatex 1.0.5).
Hans, thanks for that info.
\setupsynctex[state=start] seems to work fine with Beta 2017.07.05 23:01 - LuaTeX 1.05.0 on the Mac.
Whereas I noticed that -the switches -synctex=context or --synctex=zipped have completely stopped working with that Beta (or that luatex version).
i'll have to upload a new beta ... last week i optimized the code a bit so performance is now a bit better too; there are some options you can play with to see what happens deep down % \setupsynctex[state=start,method=min] % \setupsynctex[state=start,method=max] % \enabletrackers[system.synctex.visualize] % \enabletrackers[system.synctex.visualize=real] indeed, we now have a context specific variant only (you can still force the original synctex by setting \normalsynctex but it can interfere with the context variant when set) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------