On 5/21/2021 10:50 AM, Nicola wrote:
On 2021-05-20, Hans Hagen
wrote: One thing he asked is what I was asking you: it would be useful if there were a way to sync in the other direction as well. You mean sort of trying to deduce from the synctex file where to go in the pdf?
Yes. You provide a .tex file and a line number, and maybe also an optional column number, and mtxrun outputs a .pdf file, a page number and a coordinate pair or bounding box (I don't know what the best output is).
define 'tex file' ... is that the master file? in that case we're talking about the 'foo.synctex file' because how does a tex file knows what pdf is related?
When the 'call external program' approach is used I can have an alternative (lua) output that is easier and might do that (less work). Lets first go one direction.
Dick prefers to tackle both directions at once: maybe you can coordinate with each other.
I only have a very old macbook and an old imac i once got so no real equipment to test anythign modern.
I'd be happy to help, and I am sure other users are interested, too.
Nicola
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------