ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* synctex support for ConTeXt fixed
@ 2008-09-03 16:19 Mojca Miklavec
  2008-09-04  9:23 ` Jérome Laurens
  0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2008-09-03 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alan Bowen, Patrick Gundlach

(from the thread "Installing ConTeXt Minimals on a Mac")

On Mon, Sep 1, 2008 at 9:16 AM, Mojca Miklavec wrote:
>
>> (c) establishing synchronization between  PDF output and its ConTeXt source.
>> Currently, it does not seem to work (with TeXShop at least)
>> Note, in the latest TeXShop there is
>> Added support for SyncTeX. SyncTeX is new synchronization technology by
>> Jerome Laurens which is included in TeX Live 2008 (but not earlier TeX
>> distributions). The technology is built directly into pdfTeX and XeTeX. In
>> modern TeX distributions, most typesetting actually calls pdfetex (even if
>> using latex to output a dvi file), and thus the technology is available for
>> such typesetting. To use the technology, add the flag --synctex=1
>> Any advice on how to do (a), (b), and (c) will be much appreciated.
>
> You can try
>    texexec --passon="-synctex=1" filename
> but I didn't manage to make it work - it always pointed back to
> \stoptext or \page, just as it pointed to the end of minipage in
> LaTeX. Apart from the fact that I wasn't sure which tool to use to
> make rsync work (when I was testing, TeXShop didn't support synctex
> yet, TeXWorks behaved weird, and one would need to write support for
> TextMate first, but when Patrick tried it, he have up after
> discovering that it didn't work anyway).
>
> While answering you I just got a reply from Jérôme:
>
>> The problem comes from the synctex parser.
>> I made different experiments and forgot to test the latest one with context.
>> I will upload the new versions soon but I am afraid the various viewers must be updated.
>> You will have to wait a little longer...

Today a new package has been uploaded to CTAN:
(http://www.tex.ac.uk/tex-archive/support/synctex-parser/README)

History:
--------
1.2: Tue Sep  2 10:28:32 UTC 2008
- Correction for ConTeXt support in the edit query.
  The previous method was assuming that TeX boxes do not overlap,
  which is reasonable for LaTeX but not for ConTeXt.
  This assumption is no longer considered.

Once Martin and Jonathan fix pdfTeX & XeTeX sources, you'll have a
chance to experiment further :) :) :)

Mojca
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: synctex support for ConTeXt fixed
  2008-09-03 16:19 synctex support for ConTeXt fixed Mojca Miklavec
@ 2008-09-04  9:23 ` Jérome Laurens
  2008-09-04 10:40   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Jérome Laurens @ 2008-09-04  9:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec


Le 3 sept. 08 à 18:19, Mojca Miklavec a écrit :

> [...]
> Today a new package has been uploaded to CTAN:
> (http://www.tex.ac.uk/tex-archive/support/synctex-parser/README)
>
> History:
> --------
> 1.2: Tue Sep  2 10:28:32 UTC 2008
> - Correction for ConTeXt support in the edit query.
>  The previous method was assuming that TeX boxes do not overlap,
>  which is reasonable for LaTeX but not for ConTeXt.
>  This assumption is no longer considered.
>
> Once Martin and Jonathan fix pdfTeX & XeTeX sources, you'll have a
> chance to experiment further :) :) :)

No, it has absolutely no connection with pdfTeX nor XeTeX, both  
already work as expected regarding synctex.

The problem only concerns the synctex command line tool and the GUI  
applications (the various SyncTeX clients).
I'll notice developers of Skim, Sumatra-PDF, TeXWorks, TeXShop,  
iTeXMac2 of the new synctex parser version.
(Did I forget someone?)
You will have to upgrade your preferred viewer when the change is made.

Mojca highlighted another problem (minor but uncomfortable) specific  
to context.
I will try to fix that soon and inform the GUI developers only then.

Regards

Jérôme 
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: synctex support for ConTeXt fixed
  2008-09-04  9:23 ` Jérome Laurens
@ 2008-09-04 10:40   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2008-09-04 10:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

Jérome Laurens wrote:

> I'll notice developers of Skim, Sumatra-PDF, TeXWorks, TeXShop,  

since i'm on windows i checked on sumatra-pdf but it has incomplete 
hyperlink support and crashes on show-man.pdf (also has clipping 
problems) ... no time now to look into it but i'll pick up it up later

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-04 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-03 16:19 synctex support for ConTeXt fixed Mojca Miklavec
2008-09-04  9:23 ` Jérome Laurens
2008-09-04 10:40   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).