[texworks] Character-level synchronization

Stefan Löffler st.loeffler at gmail.com
Sat Jul 12 22:55:05 CEST 2014


Hi,

During a day on the train, I started implementing character-level
synchronization between the source and the pdf. Think of it as SyncTeX
with improved accuracy (actually, it is SyncTeX with some additional
string searching). It should basically take you:
 - from tex to pdf to the right word, and
 - from pdf to tex to the right character.
(the reason tex > pdf is not character-sensitive comes from the fact
that it is rather difficult to see a single highlighted "i" or ".";
besides, in the tex > pdf direction, one conceivable just wants to check
the result, whereas in the pdf > tex direction, one might actually click
on the point one wants to change).

Of course, no new feature comes without limitations. Character-level
synchronization does not work with lines consisting of extensive,
complex commands, and also not in math mode (because then there is no
1:1 relation easily recognizable without going through the whole tex'ing
process). In those cases that the new method does not work, it simply
highlights the whole corresponding line as before.

The new builds should be available or become available soon. Please test.

Cheers,
Stefan



More information about the texworks mailing list