* Re: Synctex broken in LMTX ?
2021-05-16 14:53 ` Hans Hagen
2021-05-16 15:30 ` Nicola
@ 2021-05-16 16:57 ` Otared Kavian
2021-05-29 18:17 ` Nicola
2 siblings, 0 replies; 13+ messages in thread
From: Otared Kavian @ 2021-05-16 16:57 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]
Hi Hans and Nicola,
Thank you for your attention and your answers.
As a matter of fact I am aware that when using ConTeXt with TeXShop one has to add on the first line
% !TEX useOldSyncParser
and then setup synctex with
\setupsynctex[state=start,method=min]
(or method=max, or just ignoring that part). In the test file I sent this morning, I left out that « % !TEX useOldSyncParser » line, but on my machine, with or without it the situation does not change.
In fact a few years ago I was in touch with Richard Koch about the issue and we exchanged a few emails and testings, after which he added a Special Comment menu item for « % !TEX useOldSyncParser ».
The ConTeXt code for synctex used to work fine, but beginning last year (if I remember well) the behaviour became somewhat unstable (again on my machine). It seems that the content which goes on the first page of the PDF file remains out of synctex when the file is typeset with LMTX. The same TeX file produces the correct synctex result when typeset with mkiv from TeXLive 2020 (version 2020.03.10 14:44).
Indeed, one can compare the « filename.synctex » files obtained with LMTX and mkiv, to observe the differences, but I am unable to interpret why those differences are there.
I am sending those files as well as the TeX and PDF files with this message. The PDF file I am sending is the one obtained with LMTX, and of course the syncing works fine when one uses the synctex file obtained with mkiv (upon renaming adequately that file)…
Best regards: Otared
[-- Attachment #2: test-synctex-1-lmtx.synctex --]
[-- Type: application/octet-stream, Size: 8225 bytes --]
SyncTeX Version:1
Input:1:test-synctex-1
Input:2:./test-synctex-1.tex
Output:pdf
Magnification:1000
Unit:1
X Offset:0
Y Offset:0
Content:
!138
{1
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
]
!61
}1
!7
{2
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
h2,14:4661756,9176901:1325196,655360,327680
h2,14:6226884,9176901:2148924,655360,327680
h2,14:8619001,9176901:688536,655360,327680
h2,14:9547470,9176901:385140,655360,327680
h2,14:10172542,9176901:2438172,655360,327680
h2,14:12850646,9176901:919620,655360,327680
h2,14:14010198,9176901:2266824,655360,327680
h2,14:16516954,9176901:1218300,655360,327680
h2,14:17978448,9176901:517188,655360,327680
h2,14:18735568,9176901:641376,655360,327680
h2,14:19616876,9176901:1026516,655360,327680
h2,14:20883324,9176901:1112190,655360,327680
h2,14:22235447,9176901:1240308,655360,327680
h2,14:23715687,9176901:1116120,655360,327680
h2,14:25071739,9176901:385140,655360,327680
h2,14:25696811,9176901:1518552,655360,327680
h2,14:27455295,9176901:2231454,655360,327680
h2,14:30022963,9176901:2608734,655360,327680
h2,14:4661756,10125446:641376,655360,327680
h2,14:5586303,10125446:1475322,655360,327680
h2,14:7484078,10125446:576924,655360,327680
h2,14:8344173,10125446:1988580,655360,327680
h2,14:10615924,10125446:790716,655360,327680
h2,14:11689811,10125446:3485124,655360,327680
h2,14:15458106,10125446:2693622,655360,327680
h2,14:18434900,10125446:2591442,655360,327680
h2,14:21309513,10125446:1240308,655360,327680
h2,14:22832992,10125446:1368426,655360,327680
h2,14:24484589,10125446:2480616,655360,327680
h2,14:27248376,10125446:684606,655360,327680
h2,14:28216153,10125446:1325982,655360,327680
h2,14:29964588,10125446:1271748,655360,327680
h2,14:31519507,10125446:1112190,655360,327680
h2,14:4661756,11073991:2825670,655360,327680
h2,14:7714926,11073991:517188,655360,327680
h2,14:8459614,11073991:1154634,655360,327680
h2,14:9841749,11073991:1068960,655360,327680
h2,14:11138209,11073991:1774002,655360,327680
h2,14:13139711,11073991:620154,655360,327680
h2,14:13987365,11073991:812724,655360,327680
h2,14:15027590,11073991:2394942,655360,327680
h2,14:17650032,11073991:2373720,655360,327680
h2,14:20251252,11073991:1368426,655360,327680
h2,14:21847178,11073991:2360358,655360,327680
h2,14:24435036,11073991:1839240,655360,327680
h2,14:26501777,11073991:1843170,655360,327680
h2,14:28572447,11073991:620154,655360,327680
h2,14:29420101,11073991:3211596,655360,327680
h2,14:4661756,12022536:1090182,655360,327680
h2,14:6008174,12022536:3207666,655360,327680
h2,14:9472076,12022536:876390,655360,327680
h2,14:10604702,12022536:2591442,655360,327680
h2,14:13452380,12022536:1026516,655360,327680
h2,14:14735132,12022536:1068960,655360,327680
h2,14:16060328,12022536:3425388,655360,327680
]
!2541
}2
!9
{3
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
h2,18:4661756,9176901:1906836,655360,327680
h2,18:6820776,9176901:277458,655360,327680
h2,18:7349399,9176901:1710336,655360,327680
h2,18:9310905,9176901:684606,655360,327680
h2,18:10246682,9176901:1068960,655360,327680
h2,18:11566812,9176901:3467832,655360,327680
h2,18:15285815,9176901:1411656,655360,327680
h2,18:16948641,9176901:1068960,655360,327680
h2,18:18268772,9176901:2740782,655360,327680
h2,18:21260724,9176901:620154,655360,327680
h2,18:22132048,9176901:385140,655360,327680
h2,18:22768359,9176901:1325196,655360,327680
h2,18:24344725,9176901:2295906,655360,327680
h2,18:26891802,9176901:1650600,655360,327680
h2,18:28793572,9176901:1112190,655360,327680
h2,18:30156933,9176901:1432878,655360,327680
h2,18:31840981,9176901:790716,655360,327680
h2,18:4661756,10125446:1068960,655360,327680
h2,18:6027960,10125446:4168944,655360,327680
h2,18:10494148,10125446:1240308,655360,327680
h2,18:12031701,10125446:1329912,655360,327680
h2,18:13658857,10125446:3596736,655360,327680
h2,18:17552837,10125446:1586148,655360,327680
h2,18:19456734,10125446:1068960,655360,327680
h2,18:20822938,10125446:2740782,655360,327680
h2,18:23860964,10125446:2185080,655360,327680
h2,18:26343288,10125446:1287468,655360,327680
h2,18:27928001,10125446:1710336,655360,327680
h2,18:29935581,10125446:1068960,655360,327680
h2,18:31301785,10125446:1329912,655360,327680
h2,18:4661756,11073991:1372356,655360,327680
h2,18:6260937,11073991:2673186,655360,327680
h2,19:9265967,11073991:1325196,655360,327680
h2,19:10817988,11073991:3468618,655360,327680
h2,19:14513431,11073991:620154,655360,327680
h2,19:15360409,11073991:1197864,655360,327680
h2,19:16785098,11073991:620154,655360,327680
h2,19:17632077,11073991:1714266,655360,327680
h2,19:19573167,11073991:1347204,655360,327680
h2,19:21147196,11073991:3981090,655360,327680
h2,19:25355111,11073991:1988580,655360,327680
h2,19:27570516,11073991:1518552,655360,327680
h2,19:29315892,11073991:1432878,655360,327680
h2,19:30975595,11073991:1656102,655360,327680
h2,19:4661756,12022536:4173660,655360,327680
h2,19:9173593,12022536:512472,655360,327680
h2,19:9931889,12022536:277458,655360,327680
h2,19:10455160,12022536:1240308,655360,327680
h2,19:11941292,12022536:1112190,655360,327680
h2,19:13299305,12022536:4062834,655360,327680
h2,19:17607963,12022536:1496544,655360,327680
h2,19:19350330,12022536:641376,655360,327680
h2,19:20237530,12022536:812724,655360,327680
h2,19:21296078,12022536:1714266,655360,327680
h2,19:23256167,12022536:3232818,655360,327680
h2,19:26736891,12022536:2587512,655360,327680
h2,19:29570227,12022536:3061470,655360,327680
h2,19:4661756,12971081:620154,655360,327680
h2,19:5492965,12971081:2929422,655360,327680
h2,19:8633441,12971081:1992510,655360,327680
h2,19:10837006,12971081:1988580,655360,327680
h2,19:13036641,12971081:1796010,655360,327680
h2,19:15043706,12971081:1518552,655360,327680
h2,19:16773312,12971081:1560210,655360,327680
h2,19:18544577,12971081:2009802,655360,327680
h2,19:20774470,12971081:2590656,655360,327680
h2,19:23576181,12971081:277458,655360,327680
h2,19:24064649,12971081:1988580,655360,327680
h2,19:26264284,12971081:1796010,655360,327680
h2,19:28271348,12971081:1518552,655360,327680
h2,19:30000955,12971081:2630742,655360,327680
h2,19:4661756,13919626:620154,655360,327680
h2,19:5550905,13919626:1710336,655360,327680
h2,19:7530237,13919626:684606,655360,327680
h2,19:8483838,13919626:3142428,655360,327680
h2,19:11895262,13919626:1368426,655360,327680
h2,19:13532683,13919626:1475322,655360,327680
h2,19:15277000,13919626:1517766,655360,327680
h2,19:17063762,13919626:3592806,655360,327680
h2,20:21036494,13919626:1271748,655360,327680
h2,20:22577237,13919626:385140,655360,327680
h2,20:23231373,13919626:2295906,655360,327680
h2,20:25796274,13919626:2266824,655360,327680
h2,20:28332094,13919626:790716,655360,327680
h2,20:29391805,13919626:3239892,655360,327680
h2,20:4661756,14868171:448806,655360,327680
h2,20:5332826,14868171:513258,655360,327680
h2,20:6068349,14868171:517188,655360,327680
h2,20:6807801,14868171:1090968,655360,327680
h2,20:8121033,14868171:2720346,655360,327680
h2,20:11063644,14868171:3377442,655360,327680
h2,20:14663350,14868171:812724,655360,327680
h2,20:15698338,14868171:385140,655360,327680
h2,20:16305743,14868171:1885614,655360,327680
h2,20:18413621,14868171:2420094,655360,327680
h2,20:21164039,14868171:1710336,655360,327680
h2,20:23096640,14868171:1068960,655360,327680
h2,20:24387864,14868171:1967358,655360,327680
h2,20:26577486,14868171:2099406,655360,327680
h2,20:28899157,14868171:517188,655360,327680
h2,20:29638609,14868171:2993088,655360,327680
h2,20:4661756,15816716:1240308,655360,327680
h2,20:6267132,15816716:1753566,655360,327680
h2,20:8385765,15816716:2356428,655360,327680
h2,20:11134468,15816716:1068960,655360,327680
h2,20:12568496,15816716:1240308,655360,327680
h2,20:14173872,15816716:1244238,655360,327680
h2,20:15783177,15816716:2120628,655360,327680
h2,20:18268873,15816716:688536,655360,327680
h2,20:19322476,15816716:2159142,655360,327680
h2,20:21846686,15816716:1496544,655360,327680
h2,20:23708298,15816716:1839240,655360,327680
h2,20:25912605,15816716:2779296,655360,327680
h2,20:29056969,15816716:3574728,655360,327680
h2,20:4661756,16765261:3335784,655360,327680
h2,20:8253776,16765261:1582218,655360,327680
h2,20:10092230,16765261:1347204,655360,327680
h2,20:11695670,16765261:4258548,655360,327680
]
!5417
}3
!9
Postamble:
Count:179
!24
Post scriptum:
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
[-- Attachment #4: test-synctex-1-mkiv.synctex --]
[-- Type: application/octet-stream, Size: 13399 bytes --]
SyncTeX Version:1
Input:1:/Users/kavian/Context/essais/mkiv/test-synctex-1.tex
Output:pdf
Magnification:1000
Unit:1
X Offset:0
Y Offset:0
Content:
!147
{1
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
h1,6:4661756,9176901:705042,655360,327680
h1,6:5623034,9176901:1068960,655360,327680
h1,6:6948230,9176901:2993874,655360,327680
h1,6:10198340,9176901:2971866,655360,327680
h1,6:13426442,9176901:1068960,655360,327680
h1,6:14751638,9176901:1329912,655360,327680
h1,6:16337786,9176901:1539774,655360,327680
h1,6:18133796,9176901:620154,655360,327680
h1,6:19010186,9176901:1347204,655360,327680
h1,6:20613626,9176901:517188,655360,327680
h1,6:21387050,9176901:1112190,655360,327680
h1,6:22755476,9176901:3506346,655360,327680
h1,6:26518058,9176901:812724,655360,327680
h1,6:27587018,9176901:2740782,655360,327680
h1,8:4661756,10836854:1614444,655360,327680
h1,8:6532436,10836854:598932,655360,327680
h1,10:4661756,11785399:1389648,655360,327680
h1,10:6391961,11785399:1112190,655360,327680
h1,10:7844709,11785399:1586934,655360,327680
h1,10:9772200,11785399:2295906,655360,327680
h1,10:12408663,11785399:2821740,655360,327680
h1,10:15570960,11785399:1197864,655360,327680
h1,10:17109382,11785399:1675752,655360,327680
h1,10:19146771,11785399:1068960,655360,327680
h1,10:20556288,11785399:2736852,655360,327680
h1,10:23633697,11785399:1988580,655360,327680
h1,10:25962835,11785399:1518552,655360,327680
h1,10:27821944,11785399:2758860,655360,327680
h1,10:30921361,11785399:1710336,655360,327680
h1,10:4661756,12733944:2141850,655360,327680
h1,10:7153274,12733944:1368426,655360,327680
h1,10:8871369,12733944:1197864,655360,327680
h1,10:10418901,12733944:1461960,655360,327680
h1,10:12230530,12733944:1240308,655360,327680
h1,10:13820506,12733944:1475322,655360,327680
h1,10:15645497,12733944:2608734,655360,327680
h1,10:18627257,12733944:1240308,655360,327680
h1,10:20217233,12733944:1821948,655360,327680
h1,10:22388850,12733944:1988580,655360,327680
h1,10:24727098,12733944:1518552,655360,327680
h1,10:26595319,12733944:1560210,655360,327680
h1,10:28505197,12733944:4126500,655360,327680
h1,10:4661756,13682489:2741568,655360,327680
h1,10:7969896,13682489:2494764,655360,327680
h1,10:10795871,13682489:1988580,655360,327680
h1,10:13115662,13682489:1518552,655360,327680
h1,10:14965425,13682489:1240308,655360,327680
h1,10:16536944,13682489:2181150,655360,327680
h1,10:19049304,13682489:1240308,655360,327680
h1,10:20620823,13682489:4575306,655360,327680
h1,10:25527340,13682489:2142636,655360,327680
h1,10:28019930,13682489:1240308,655360,327680
h1,10:29591449,13682489:3040248,655360,327680
h1,10:4661756,14631034:1860462,655360,327680
h1,10:6803784,14631034:812724,655360,327680
h1,10:7898074,14631034:1154634,655360,327680
h1,10:9334273,14631034:620154,655360,327680
h1,10:10235993,14631034:1714266,655360,327680
h1,10:12231825,14631034:2398872,655360,327680
h1,10:14912263,14631034:1988580,655360,327680
h1,10:17182408,14631034:1796010,655360,327680
h1,10:19259984,14631034:1518552,655360,327680
h1,10:21060102,14631034:1560210,655360,327680
h1,10:22901878,14631034:1368426,655360,327680
h1,10:24551870,14631034:684606,655360,327680
h1,10:25518041,14631034:2714844,655360,327680
h1,10:28514451,14631034:1068960,655360,327680
h1,10:29864977,14631034:2766720,655360,327680
h1,10:4661756,15579579:3100770,655360,327680
h1,10:8132691,15579579:1261530,655360,327680
h1,10:9659963,15579579:1988580,655360,327680
h1,10:11914284,15579579:513258,655360,327680
h1,10:12693284,15579579:1518552,655360,327680
h1,10:14477578,15579579:2886192,655360,327680
h1,10:17629512,15579579:684606,655360,327680
h1,10:18579859,15579579:1710336,655360,327680
h1,10:20555937,15579579:1411656,655360,327680
h1,10:22233335,15579579:1068960,655360,327680
h1,10:23568036,15579579:2740782,655360,327680
h1,10:26574560,15579579:1946136,655360,327680
h1,10:28786438,15579579:790716,655360,327680
h1,10:29842895,15579579:1710336,655360,327680
h1,10:31818973,15579579:812724,655360,327680
h1,10:4661756,16528124:1436808,655360,327680
h1,10:6386465,16528124:1240308,655360,327680
h1,10:7914673,16528124:1411656,655360,327680
h1,10:9614230,16528124:513258,655360,327680
h1,10:10415388,16528124:517188,655360,327680
h1,10:11220477,16528124:855168,655360,327680
h1,10:12363545,16528124:684606,655360,327680
h1,10:13336052,16528124:1971288,655360,327680
h1,10:15595241,16528124:2672400,655360,327680
h1,10:18555541,16528124:684606,655360,327680
h1,10:19528048,16528124:2677116,655360,327680
h1,10:22493064,16528124:1924128,655360,327680
h1,10:24853834,16528124:2690478,655360,327680
h1,10:27840129,16528124:513258,655360,327680
h1,10:28641287,16528124:517188,655360,327680
h1,10:29446376,16528124:1112190,655360,327680
h1,10:30846466,16528124:684606,655360,327680
h1,10:31818973,16528124:812724,655360,327680
h1,10:4661756,17476669:2527776,655360,327680
h1,10:7445768,17476669:1411656,655360,327680
h1,10:9113660,17476669:1004508,655360,327680
h1,10:10374404,17476669:1240308,655360,327680
h1,10:11870948,17476669:3467046,655360,327680
h1,10:15594230,17476669:1796010,655360,327680
h1,10:17646476,17476669:1496544,655360,327680
h1,10:19399256,17476669:2351712,655360,327680
h1,10:22007204,17476669:641376,655360,327680
h1,10:22904816,17476669:1479252,655360,327680
h1,10:24640304,17476669:385140,655360,327680
h1,10:25281680,17476669:2373720,655360,327680
h1,10:27911636,17476669:2509698,655360,327680
]
!5224
}1
!9
{2
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
h1,14:4661756,9176901:1325196,655360,327680
h1,14:6226884,9176901:2148924,655360,327680
h1,14:8619001,9176901:688536,655360,327680
h1,14:9547470,9176901:385140,655360,327680
h1,14:10172542,9176901:2438172,655360,327680
h1,14:12850646,9176901:919620,655360,327680
h1,14:14010198,9176901:2266824,655360,327680
h1,14:16516954,9176901:1218300,655360,327680
h1,14:17978448,9176901:517188,655360,327680
h1,14:18735568,9176901:641376,655360,327680
h1,14:19616876,9176901:1026516,655360,327680
h1,14:20883324,9176901:1112190,655360,327680
h1,14:22235447,9176901:1240308,655360,327680
h1,14:23715687,9176901:1116120,655360,327680
h1,14:25071739,9176901:385140,655360,327680
h1,14:25696811,9176901:1518552,655360,327680
h1,14:27455295,9176901:2231454,655360,327680
h1,14:30022963,9176901:2608734,655360,327680
h1,14:4661756,10125446:641376,655360,327680
h1,14:5586303,10125446:1475322,655360,327680
h1,14:7484078,10125446:576924,655360,327680
h1,14:8344173,10125446:1988580,655360,327680
h1,14:10615924,10125446:790716,655360,327680
h1,14:11689811,10125446:3485124,655360,327680
h1,14:15458106,10125446:2693622,655360,327680
h1,14:18434900,10125446:2591442,655360,327680
h1,14:21309513,10125446:1240308,655360,327680
h1,14:22832992,10125446:1368426,655360,327680
h1,14:24484589,10125446:2480616,655360,327680
h1,14:27248376,10125446:684606,655360,327680
h1,14:28216153,10125446:1325982,655360,327680
h1,14:29964588,10125446:1271748,655360,327680
h1,14:31519507,10125446:1112190,655360,327680
h1,14:4661756,11073991:2825670,655360,327680
h1,14:7714926,11073991:517188,655360,327680
h1,14:8459614,11073991:1154634,655360,327680
h1,14:9841749,11073991:1068960,655360,327680
h1,14:11138209,11073991:1774002,655360,327680
h1,14:13139711,11073991:620154,655360,327680
h1,14:13987365,11073991:812724,655360,327680
h1,14:15027589,11073991:2394942,655360,327680
h1,14:17650032,11073991:2373720,655360,327680
h1,14:20251252,11073991:1368426,655360,327680
h1,14:21847178,11073991:2360358,655360,327680
h1,14:24435036,11073991:1839240,655360,327680
h1,14:26501777,11073991:1843170,655360,327680
h1,14:28572447,11073991:620154,655360,327680
h1,14:29420101,11073991:3211596,655360,327680
h1,14:4661756,12022536:1090182,655360,327680
h1,14:6008174,12022536:3207666,655360,327680
h1,14:9472076,12022536:876390,655360,327680
h1,14:10604702,12022536:2591442,655360,327680
h1,14:13452380,12022536:1026516,655360,327680
h1,14:14735132,12022536:1068960,655360,327680
h1,14:16060328,12022536:3425388,655360,327680
]
!2541
}2
!9
{3
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
h1,18:4661756,9176901:1906836,655360,327680
h1,18:6820776,9176901:277458,655360,327680
h1,18:7349399,9176901:1710336,655360,327680
h1,18:9310905,9176901:684606,655360,327680
h1,18:10246682,9176901:1068960,655360,327680
h1,18:11566812,9176901:3467832,655360,327680
h1,18:15285815,9176901:1411656,655360,327680
h1,18:16948641,9176901:1068960,655360,327680
h1,18:18268772,9176901:2740782,655360,327680
h1,18:21260724,9176901:620154,655360,327680
h1,18:22132048,9176901:385140,655360,327680
h1,18:22768359,9176901:1325196,655360,327680
h1,18:24344725,9176901:2295906,655360,327680
h1,18:26891802,9176901:1650600,655360,327680
h1,18:28793572,9176901:1112190,655360,327680
h1,18:30156933,9176901:1432878,655360,327680
h1,18:31840981,9176901:790716,655360,327680
h1,18:4661756,10125446:1068960,655360,327680
h1,18:6027960,10125446:4168944,655360,327680
h1,18:10494148,10125446:1240308,655360,327680
h1,18:12031701,10125446:1329912,655360,327680
h1,18:13658857,10125446:3596736,655360,327680
h1,18:17552837,10125446:1586148,655360,327680
h1,18:19456734,10125446:1068960,655360,327680
h1,18:20822938,10125446:2740782,655360,327680
h1,18:23860964,10125446:2185080,655360,327680
h1,18:26343288,10125446:1287468,655360,327680
h1,18:27928001,10125446:1710336,655360,327680
h1,18:29935581,10125446:1068960,655360,327680
h1,18:31301785,10125446:1329912,655360,327680
h1,18:4661756,11073991:1372356,655360,327680
h1,18:6260937,11073991:2673186,655360,327680
h1,19:9265967,11073991:1325196,655360,327680
h1,19:10817988,11073991:3468618,655360,327680
h1,19:14513431,11073991:620154,655360,327680
h1,19:15360409,11073991:1197864,655360,327680
h1,19:16785098,11073991:620154,655360,327680
h1,19:17632077,11073991:1714266,655360,327680
h1,19:19573167,11073991:1347204,655360,327680
h1,19:21147196,11073991:3981090,655360,327680
h1,19:25355111,11073991:1988580,655360,327680
h1,19:27570516,11073991:1518552,655360,327680
h1,19:29315892,11073991:1432878,655360,327680
h1,19:30975595,11073991:1656102,655360,327680
h1,19:4661756,12022536:4173660,655360,327680
h1,19:9173593,12022536:512472,655360,327680
h1,19:9931889,12022536:277458,655360,327680
h1,19:10455160,12022536:1240308,655360,327680
h1,19:11941292,12022536:1112190,655360,327680
h1,19:13299305,12022536:4062834,655360,327680
h1,19:17607963,12022536:1496544,655360,327680
h1,19:19350330,12022536:641376,655360,327680
h1,19:20237530,12022536:812724,655360,327680
h1,19:21296078,12022536:1714266,655360,327680
h1,19:23256167,12022536:3232818,655360,327680
h1,19:26736891,12022536:2587512,655360,327680
h1,19:29570227,12022536:3061470,655360,327680
h1,19:4661756,12971081:620154,655360,327680
h1,19:5492965,12971081:2929422,655360,327680
h1,19:8633441,12971081:1992510,655360,327680
h1,19:10837006,12971081:1988580,655360,327680
h1,19:13036641,12971081:1796010,655360,327680
h1,19:15043706,12971081:1518552,655360,327680
h1,19:16773312,12971081:1560210,655360,327680
h1,19:18544577,12971081:2009802,655360,327680
h1,19:20774470,12971081:2590656,655360,327680
h1,19:23576181,12971081:277458,655360,327680
h1,19:24064649,12971081:1988580,655360,327680
h1,19:26264284,12971081:1796010,655360,327680
h1,19:28271348,12971081:1518552,655360,327680
h1,19:30000955,12971081:2630742,655360,327680
h1,19:4661756,13919626:620154,655360,327680
h1,19:5550905,13919626:1710336,655360,327680
h1,19:7530237,13919626:684606,655360,327680
h1,19:8483838,13919626:3142428,655360,327680
h1,19:11895262,13919626:1368426,655360,327680
h1,19:13532683,13919626:1475322,655360,327680
h1,19:15277000,13919626:1517766,655360,327680
h1,19:17063762,13919626:3592806,655360,327680
h1,20:21036494,13919626:1271748,655360,327680
h1,20:22577237,13919626:385140,655360,327680
h1,20:23231373,13919626:2295906,655360,327680
h1,20:25796274,13919626:2266824,655360,327680
h1,20:28332094,13919626:790716,655360,327680
h1,20:29391805,13919626:3239892,655360,327680
h1,20:4661756,14868171:448806,655360,327680
h1,20:5332826,14868171:513258,655360,327680
h1,20:6068349,14868171:517188,655360,327680
h1,20:6807801,14868171:1090968,655360,327680
h1,20:8121033,14868171:2720346,655360,327680
h1,20:11063644,14868171:3377442,655360,327680
h1,20:14663350,14868171:812724,655360,327680
h1,20:15698338,14868171:385140,655360,327680
h1,20:16305743,14868171:1885614,655360,327680
h1,20:18413621,14868171:2420094,655360,327680
h1,20:21164039,14868171:1710336,655360,327680
h1,20:23096640,14868171:1068960,655360,327680
h1,20:24387864,14868171:1967358,655360,327680
h1,20:26577486,14868171:2099406,655360,327680
h1,20:28899157,14868171:517188,655360,327680
h1,20:29638609,14868171:2993088,655360,327680
h1,20:4661756,15816716:1240308,655360,327680
h1,20:6267132,15816716:1753566,655360,327680
h1,20:8385765,15816716:2356428,655360,327680
h1,20:11134468,15816716:1068960,655360,327680
h1,20:12568496,15816716:1240308,655360,327680
h1,20:14173872,15816716:1244238,655360,327680
h1,20:15783177,15816716:2120628,655360,327680
h1,20:18268873,15816716:688536,655360,327680
h1,20:19322477,15816716:2159142,655360,327680
h1,20:21846686,15816716:1496544,655360,327680
h1,20:23708298,15816716:1839240,655360,327680
h1,20:25912605,15816716:2779296,655360,327680
h1,20:29056969,15816716:3574728,655360,327680
h1,20:4661756,16765261:3335784,655360,327680
h1,20:8253776,16765261:1582218,655360,327680
h1,20:10092230,16765261:1347204,655360,327680
h1,20:11695670,16765261:4258548,655360,327680
]
!5417
}3
!9
Postamble:
Count:293
!24
Post scriptum:
[-- Attachment #5: Type: text/plain, Size: 1 bytes --]
[-- Attachment #6: test-synctex-1.pdf --]
[-- Type: application/pdf, Size: 11181 bytes --]
[-- Attachment #7: Type: text/plain, Size: 2 bytes --]
[-- Attachment #8: test-synctex-1.synctex --]
[-- Type: application/octet-stream, Size: 8225 bytes --]
SyncTeX Version:1
Input:1:test-synctex-1
Input:2:./test-synctex-1.tex
Output:pdf
Magnification:1000
Unit:1
X Offset:0
Y Offset:0
Content:
!138
{1
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
]
!61
}1
!7
{2
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
h2,14:4661756,9176901:1325196,655360,327680
h2,14:6226884,9176901:2148924,655360,327680
h2,14:8619001,9176901:688536,655360,327680
h2,14:9547470,9176901:385140,655360,327680
h2,14:10172542,9176901:2438172,655360,327680
h2,14:12850646,9176901:919620,655360,327680
h2,14:14010198,9176901:2266824,655360,327680
h2,14:16516954,9176901:1218300,655360,327680
h2,14:17978448,9176901:517188,655360,327680
h2,14:18735568,9176901:641376,655360,327680
h2,14:19616876,9176901:1026516,655360,327680
h2,14:20883324,9176901:1112190,655360,327680
h2,14:22235447,9176901:1240308,655360,327680
h2,14:23715687,9176901:1116120,655360,327680
h2,14:25071739,9176901:385140,655360,327680
h2,14:25696811,9176901:1518552,655360,327680
h2,14:27455295,9176901:2231454,655360,327680
h2,14:30022963,9176901:2608734,655360,327680
h2,14:4661756,10125446:641376,655360,327680
h2,14:5586303,10125446:1475322,655360,327680
h2,14:7484078,10125446:576924,655360,327680
h2,14:8344173,10125446:1988580,655360,327680
h2,14:10615924,10125446:790716,655360,327680
h2,14:11689811,10125446:3485124,655360,327680
h2,14:15458106,10125446:2693622,655360,327680
h2,14:18434900,10125446:2591442,655360,327680
h2,14:21309513,10125446:1240308,655360,327680
h2,14:22832992,10125446:1368426,655360,327680
h2,14:24484589,10125446:2480616,655360,327680
h2,14:27248376,10125446:684606,655360,327680
h2,14:28216153,10125446:1325982,655360,327680
h2,14:29964588,10125446:1271748,655360,327680
h2,14:31519507,10125446:1112190,655360,327680
h2,14:4661756,11073991:2825670,655360,327680
h2,14:7714926,11073991:517188,655360,327680
h2,14:8459614,11073991:1154634,655360,327680
h2,14:9841749,11073991:1068960,655360,327680
h2,14:11138209,11073991:1774002,655360,327680
h2,14:13139711,11073991:620154,655360,327680
h2,14:13987365,11073991:812724,655360,327680
h2,14:15027590,11073991:2394942,655360,327680
h2,14:17650032,11073991:2373720,655360,327680
h2,14:20251252,11073991:1368426,655360,327680
h2,14:21847178,11073991:2360358,655360,327680
h2,14:24435036,11073991:1839240,655360,327680
h2,14:26501777,11073991:1843170,655360,327680
h2,14:28572447,11073991:620154,655360,327680
h2,14:29420101,11073991:3211596,655360,327680
h2,14:4661756,12022536:1090182,655360,327680
h2,14:6008174,12022536:3207666,655360,327680
h2,14:9472076,12022536:876390,655360,327680
h2,14:10604702,12022536:2591442,655360,327680
h2,14:13452380,12022536:1026516,655360,327680
h2,14:14735132,12022536:1068960,655360,327680
h2,14:16060328,12022536:3425388,655360,327680
]
!2541
}2
!9
{3
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
h2,18:4661756,9176901:1906836,655360,327680
h2,18:6820776,9176901:277458,655360,327680
h2,18:7349399,9176901:1710336,655360,327680
h2,18:9310905,9176901:684606,655360,327680
h2,18:10246682,9176901:1068960,655360,327680
h2,18:11566812,9176901:3467832,655360,327680
h2,18:15285815,9176901:1411656,655360,327680
h2,18:16948641,9176901:1068960,655360,327680
h2,18:18268772,9176901:2740782,655360,327680
h2,18:21260724,9176901:620154,655360,327680
h2,18:22132048,9176901:385140,655360,327680
h2,18:22768359,9176901:1325196,655360,327680
h2,18:24344725,9176901:2295906,655360,327680
h2,18:26891802,9176901:1650600,655360,327680
h2,18:28793572,9176901:1112190,655360,327680
h2,18:30156933,9176901:1432878,655360,327680
h2,18:31840981,9176901:790716,655360,327680
h2,18:4661756,10125446:1068960,655360,327680
h2,18:6027960,10125446:4168944,655360,327680
h2,18:10494148,10125446:1240308,655360,327680
h2,18:12031701,10125446:1329912,655360,327680
h2,18:13658857,10125446:3596736,655360,327680
h2,18:17552837,10125446:1586148,655360,327680
h2,18:19456734,10125446:1068960,655360,327680
h2,18:20822938,10125446:2740782,655360,327680
h2,18:23860964,10125446:2185080,655360,327680
h2,18:26343288,10125446:1287468,655360,327680
h2,18:27928001,10125446:1710336,655360,327680
h2,18:29935581,10125446:1068960,655360,327680
h2,18:31301785,10125446:1329912,655360,327680
h2,18:4661756,11073991:1372356,655360,327680
h2,18:6260937,11073991:2673186,655360,327680
h2,19:9265967,11073991:1325196,655360,327680
h2,19:10817988,11073991:3468618,655360,327680
h2,19:14513431,11073991:620154,655360,327680
h2,19:15360409,11073991:1197864,655360,327680
h2,19:16785098,11073991:620154,655360,327680
h2,19:17632077,11073991:1714266,655360,327680
h2,19:19573167,11073991:1347204,655360,327680
h2,19:21147196,11073991:3981090,655360,327680
h2,19:25355111,11073991:1988580,655360,327680
h2,19:27570516,11073991:1518552,655360,327680
h2,19:29315892,11073991:1432878,655360,327680
h2,19:30975595,11073991:1656102,655360,327680
h2,19:4661756,12022536:4173660,655360,327680
h2,19:9173593,12022536:512472,655360,327680
h2,19:9931889,12022536:277458,655360,327680
h2,19:10455160,12022536:1240308,655360,327680
h2,19:11941292,12022536:1112190,655360,327680
h2,19:13299305,12022536:4062834,655360,327680
h2,19:17607963,12022536:1496544,655360,327680
h2,19:19350330,12022536:641376,655360,327680
h2,19:20237530,12022536:812724,655360,327680
h2,19:21296078,12022536:1714266,655360,327680
h2,19:23256167,12022536:3232818,655360,327680
h2,19:26736891,12022536:2587512,655360,327680
h2,19:29570227,12022536:3061470,655360,327680
h2,19:4661756,12971081:620154,655360,327680
h2,19:5492965,12971081:2929422,655360,327680
h2,19:8633441,12971081:1992510,655360,327680
h2,19:10837006,12971081:1988580,655360,327680
h2,19:13036641,12971081:1796010,655360,327680
h2,19:15043706,12971081:1518552,655360,327680
h2,19:16773312,12971081:1560210,655360,327680
h2,19:18544577,12971081:2009802,655360,327680
h2,19:20774470,12971081:2590656,655360,327680
h2,19:23576181,12971081:277458,655360,327680
h2,19:24064649,12971081:1988580,655360,327680
h2,19:26264284,12971081:1796010,655360,327680
h2,19:28271348,12971081:1518552,655360,327680
h2,19:30000955,12971081:2630742,655360,327680
h2,19:4661756,13919626:620154,655360,327680
h2,19:5550905,13919626:1710336,655360,327680
h2,19:7530237,13919626:684606,655360,327680
h2,19:8483838,13919626:3142428,655360,327680
h2,19:11895262,13919626:1368426,655360,327680
h2,19:13532683,13919626:1475322,655360,327680
h2,19:15277000,13919626:1517766,655360,327680
h2,19:17063762,13919626:3592806,655360,327680
h2,20:21036494,13919626:1271748,655360,327680
h2,20:22577237,13919626:385140,655360,327680
h2,20:23231373,13919626:2295906,655360,327680
h2,20:25796274,13919626:2266824,655360,327680
h2,20:28332094,13919626:790716,655360,327680
h2,20:29391805,13919626:3239892,655360,327680
h2,20:4661756,14868171:448806,655360,327680
h2,20:5332826,14868171:513258,655360,327680
h2,20:6068349,14868171:517188,655360,327680
h2,20:6807801,14868171:1090968,655360,327680
h2,20:8121033,14868171:2720346,655360,327680
h2,20:11063644,14868171:3377442,655360,327680
h2,20:14663350,14868171:812724,655360,327680
h2,20:15698338,14868171:385140,655360,327680
h2,20:16305743,14868171:1885614,655360,327680
h2,20:18413621,14868171:2420094,655360,327680
h2,20:21164039,14868171:1710336,655360,327680
h2,20:23096640,14868171:1068960,655360,327680
h2,20:24387864,14868171:1967358,655360,327680
h2,20:26577486,14868171:2099406,655360,327680
h2,20:28899157,14868171:517188,655360,327680
h2,20:29638609,14868171:2993088,655360,327680
h2,20:4661756,15816716:1240308,655360,327680
h2,20:6267132,15816716:1753566,655360,327680
h2,20:8385765,15816716:2356428,655360,327680
h2,20:11134468,15816716:1068960,655360,327680
h2,20:12568496,15816716:1240308,655360,327680
h2,20:14173872,15816716:1244238,655360,327680
h2,20:15783177,15816716:2120628,655360,327680
h2,20:18268873,15816716:688536,655360,327680
h2,20:19322476,15816716:2159142,655360,327680
h2,20:21846686,15816716:1496544,655360,327680
h2,20:23708298,15816716:1839240,655360,327680
h2,20:25912605,15816716:2779296,655360,327680
h2,20:29056969,15816716:3574728,655360,327680
h2,20:4661756,16765261:3335784,655360,327680
h2,20:8253776,16765261:1582218,655360,327680
h2,20:10092230,16765261:1347204,655360,327680
h2,20:11695670,16765261:4258548,655360,327680
]
!5417
}3
!9
Postamble:
Count:179
!24
Post scriptum:
[-- Attachment #9: Type: text/plain, Size: 4048 bytes --]
> On 16 May 2021, at 16:53, Hans Hagen <j.hagen@xs4all.nl> wrote:
>
> On 5/16/2021 2:52 PM, Otared Kavian wrote:
>> Hi Hans,
>> I have been noticing for some time that \setupsynctex does not work properly, at least in TeXShop on MacOS.
>> A « filename.synctex » file is created but on most occasions it does not contain many lines, and one cannot go from the PDF file to the right location in the source file.
>> Has something changed in the way synctex used to work ?
>> Below I am sending you a test file with its PDF and .synctex files, for you to see for yourself. Sorry for the disturbance…
> irr texshoip has soem setting for it (you need to check with Dick) which relates to a change in synctex
>
> anyway, this whole synctex thing is a mess ... it's rather bound to the way latex does things and way to complex due to these heuristics so it could never work well for context
>
> the reason you see little in the .synctex file is that context doesn't use the synctec library at all: i produce just what is needed directly, so we have a way more compact output (and also better 'real file'
> tracking, plus avoiding generated stuff in the otr that makes no sense to sync to because it has no file; we also protect styles from being accessed that way)
>
> now, in my opinion, the biggest drawback of synctex is that one needs to compile it into the editor/viewer. Far better would have been to let the viewer call out to an external program (configurable) that reports back the file and line ... more flexible, better upward compatibility, no need to have the synctex code on board, hardly any code and no fuzzy heuristics to fight
>
> but I gave up communicating that because i cannot reason with the guy (different wavelengths .. years ago already)
>
> now, here is something to think about:
>
> >mtxrun --script synctex --list
> mtx-synctex | invalid synctex log file %a
>
> >mtxrun --script synctex --list synctex-broken.synctex
> mtx-synctex | begin page: 1
> mtx-synctex | end page: 1
> mtx-synctex | begin page: 2
> mtx-synctex | [ 71 135 177 149] : 9 : ./synctex-broken.tex
> mtx-synctex | [ 181 135 224 149] : 2 : ./synctex-broken.tex
> mtx-synctex | [ 71 163 290 178] : 14 : ./synctex-broken.tex
> mtx-synctex | [ 71 178 290 193] : 17 : ./synctex-broken.tex
> mtx-synctex | end page: 2
> mtx-synctex | begin page: 3
> mtx-synctex | [ 71 135 496 149] : 21 : ./synctex-broken.tex
> mtx-synctex | [ 71 149 496 164] : 21 : ./synctex-broken.tex
> mtx-synctex | [ 71 163 496 178] : 21 : ./synctex-broken.tex
> mtx-synctex | [ 71 178 496 193] : 21 : ./synctex-broken.tex
> mtx-synctex | [ 71 192 496 207] : 21 : ./synctex-broken.tex
> mtx-synctex | [ 71 207 496 222] : 21 : ./synctex-broken.tex
> mtx-synctex | [ 71 221 462 236] : 21 : ./synctex-broken.tex
> mtx-synctex | end page: 3
>
> >mtxrun --script synctex --report --page=3 --x=76 --y=140 synctex-broken.synctex --console
> "./synctex-broken.tex" 21
>
> see? the info is just there, so you can try to convince the texshop creator to support this:
>
> -- call an external program with these arrguments (the texhop editor knows the positions as it has the viewer built in)
> -- go to reported file and line
>
> afaik synctex works for my collegue and scite/sumatra and actually he uses the fact that in context it also goes to positions in xml files because it tracks files and lines in xml nodes too (it's the reason why i support synctex at all, personally I never use(d) it)
>
> 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
> -----------------------------------------------------------------
[-- Attachment #10: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread