Re: [NTG-context] SyncTeX setup

2021-11-01 Thread Hans Hagen via ntg-context

On 10/31/2021 11:31 AM, Henning Hraban Ramm via ntg-context wrote:

Hi,
has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than 
TeXshop?

With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and 
TeXstudio. And in TeXshop we got our own parser. But can we expect others to 
adapt to our “superior” SyncTeX format? (I don’t understand the format yet and 
can’t tell what’s the difference.)
There are two synctex formats, we support the second one (for as far as 
i can tell). There is no context synctex format (it's just less bloated 
and redundant than what an engine outputs). So, if an editor uses the 
old synctex format you're toast.


The nice thing about texshop is that it delegates interperting the 
synctex file to an external script (in this can mtx-synctex) which 
removed the dependency on a specific version of the library. After all, 
the editor (and viewer iif one goes two ways) only needs to know a 
position in the document of pdf. It's the macro package that needs to be 
in sync and this is one way to guarantee it. Another advantage is that 
we avoid the somewhat latex specific syntac parsing (probably making 
some assumptions about the way pages are constructed).


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
-
___
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
___


[NTG-context] SyncTeX setup

2021-10-31 Thread Henning Hraban Ramm via ntg-context
Hi,
has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than 
TeXshop?

With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and 
TeXstudio. And in TeXshop we got our own parser. But can we expect others to 
adapt to our “superior” SyncTeX format? (I don’t understand the format yet and 
can’t tell what’s the difference.)

Hraban
___
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
___