ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: Alan Bowen <acbowen@princeton.edu>, Patrick Gundlach <patrick@gundla.ch>
Subject: synctex support for ConTeXt fixed
Date: Wed, 3 Sep 2008 18:19:21 +0200	[thread overview]
Message-ID: <6faad9f00809030919s3149ebf0mcdb94d6050a533e0@mail.gmail.com> (raw)

(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
___________________________________________________________________________________

             reply	other threads:[~2008-09-03 16:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03 16:19 Mojca Miklavec [this message]
2008-09-04  9:23 ` Jérome Laurens
2008-09-04 10:40   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00809030919s3149ebf0mcdb94d6050a533e0@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=acbowen@princeton.edu \
    --cc=ntg-context@ntg.nl \
    --cc=patrick@gundla.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).