On 11/21/2017 2:21 PM, Ulrike Fischer wrote:
Am Tue, 21 Nov 2017 14:15:02 +0100 schrieb Hans Hagen:
synctex fails with lualatex on windows too. And it fails with with
the luatex version 1.06 (which is now in miktex) but not with 1.04
(texlive).
I compared the synctex files of both and the problem is that the
link to the main tex file is missing at the start.
The synctex files refers to a lot positions in input 0 but the file
list starts with
Input:1:D:/MiKTeX2.9/tex/latex/base/article.cls
I added before this line
Input:0:G:/Z-Test/./test-utf8.tex
and then synchronization worked again. Imho this is a luatex bug.
(the texlive synctex starts with number 1 and not 0
Input:1:G:/Z-Test/./test-utf8.tex)
i noticed this 0 /1 iusue too but it was ok in old viewers so mayeb that
changed .. fwiw, nothing changed in luatex where we just take the syntex
code as-is ... actually in sumatra starting at 1 is the only thing that
works
I don't think that the 0/1 issue is a problem in itself -- but I
think that the change of the numbering system introduced the real
bug: That the line
Input:0:G:/Z-Test/./test-utf8.tex
is missing in the synctex file.
ok, we have a fix for that (but it doesn't explain why context generated
files make texshop unhappy)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________