ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jim <zlists+context@jdvb.ca>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Most recent context doesn't like synctex?
Date: Mon, 15 Apr 2024 11:15:26 -0300	[thread overview]
Message-ID: <Zh02fpcxIQnEs3pU@x360.localdomain> (raw)
In-Reply-To: <c099e9a1-a484-44e5-abbd-2fb7ceebeb0f@fiee.net>

Hraban and any emacs users:

On Sun, Apr 14, 2024 at 11:56 (+0200), Henning Hraban Ramm wrote:

> Am 13.04.24 um 22:28 schrieb Mikael Sundqvist:
>> What will work will depend on the viewers. We noticed a few weeks ago
>> that synctex (pdf -> editor) was not working in a few viewers (okular)
>> while it was working in others.

> Could you please tell us which combinations of viewers and editors you
> checked and how to configure them to make it work?

The --synctex=repeat option outputs a synctex file that works with auctex'
epdfinfo program, so (at least when using PDFview) forward and backward
search now work with emacs+auctex, at least when you
(a) put
	(setq ConTeXt-texexec-option-nonstop "")
    in your ConTeXt mode hook (or some other sensible place), and
(b) edit the ConTeXt-expand-options defun in auctex' context.el
    (or redefine the function in some hook) to replace
        --synctex=1
    with
        --synctex=repeat

I have submitted a bug report to auctex about (b) and another item, but I
have no idea if/when the fixes will make it into a new release of auctex.

                                Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-04-15 14:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 22:39 [NTG-context] " Jim
2024-04-13  7:18 ` [NTG-context] " Hans Hagen
2024-04-13 17:50   ` Jim
2024-04-13 20:28     ` Mikael Sundqvist
2024-04-14  9:56       ` Henning Hraban Ramm
2024-04-15 14:15         ` Jim [this message]
2024-04-15 15:38         ` Mikael Sundqvist
2024-04-15 20:31           ` Henning Hraban Ramm
2024-04-15 14:08       ` Jim

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=Zh02fpcxIQnEs3pU@x360.localdomain \
    --to=zlists+context@jdvb.ca \
    --cc=ntg-context@ntg.nl \
    /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).