ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: context not producing synctex output that my synctex program can use
Date: Sun, 12 Nov 2023 10:26:56 +0100	[thread overview]
Message-ID: <5d94a1ce-c683-411f-af33-375ac77464b2@fiee.net> (raw)
In-Reply-To: <ZVAVXD1G7tDYRhnM@x360.localdomain>

Am 12.11.23 um 00:59 schrieb Jim:
> Hi,
> 
> I've read the wiki, looked at workflows-synctex.tex, searched the web, and
> scratched my head, all to no avail.  So here I am, cap in hand...
> 
> When I run context, I get a .synctex file which has some information in it,
> but I can't find any invocation of synctex to return anything useful.  Nor
> does the okular example in the wiki (https://wiki.contextgarden.net/SyncTeX)
> work for me.  Ocular starts, but always on the first page, regardless of
> what line number I give it.
> 
> On the other hand, pdftex creates a .synctex file which my copy of synctex
> find useful.
> 
> I am using the synctex from the current version of texlive:
>          This is SyncTeX command line utility, version 1.5
> 
> Can anyone either
> (a) enlighten me on what I am doing wrong; or
> (b) definitively confirm that context is not currently playing nicely with
>      synctex (the wiki notwithstanding) and I should give up this quest for
>      now.

ConTeXt doesn’t work with the synctex binary, but with
mtxrun --script synctex

Unfortunately, it’s not a drop-in replacement, so it doesn’t work with 
most editors. (I was thinking about a translating wrapper script, but 
didn’t do anything yet.)

AFAIK TeXshop (MacOS) is the only TeX editor that supports ConTeXt’s 
workflow.

ConTeXt’s synctex format is much simpler than the “standard” LaTeX one 
and should be at least as good, but alas it needs support from the editors.

Hraban
___________________________________________________________________________________
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:[~2023-11-12  9:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-11 23:59 [NTG-context] " Jim
2023-11-12  9:26 ` Henning Hraban Ramm [this message]
2023-11-12 11:00   ` [NTG-context] " Hans Hagen
2023-11-15 14:32   ` 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=5d94a1ce-c683-411f-af33-375ac77464b2@fiee.net \
    --to=texml@fiee.net \
    --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).