ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: SyncTeX and mkiv
Date: Wed, 8 Apr 2015 21:49:49 +0200	[thread overview]
Message-ID: <4E3A010E-FBA0-4E4B-B546-0A4700B9F859@gmail.com> (raw)
In-Reply-To: <552510B7.2040603@wxs.nl>

Hi Hans,

Thanks for your attention and the new SyncTeX option: I just made some testing with the beta from today and it seems to work. So for being useful to others, the command I use now in TeXShop and MacOS X is:

	#!/bin/bash

	export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
	context --synctex=zipped --autogenerate "$1" --purgeall

Best regards: OK

> On 08 Apr 2015, at 13:27, Hans Hagen <pragma@wxs.nl> wrote:
> 
> On 4/8/2015 10:43 AM, Otared Kavian wrote:
>> Hi Thomas, Mojca and Andreas,
>> 
>> After playing with several options as either of you suggested, I ended up with the following setups which solve partially the misbehaviour of SyncTeX in mkiv. The solution works for with TeXShop on Mac OS X 10.10.2 and the latest standalone beta of ConTeXt.
>> 
>> 1) I have in a file named mkiv.engine (which sits in the folder ) the following lines:
>> 
>> 	#!/bin/bash
>> 
>> 	export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
>> 	context --autogenerate "$1" —purgeall
>> 
>> 2) As one may see I do not use the option —synctex in the above context call, since it doesn’t work correctly (beware the — shown is actually two hyphens {-}{-}…).
>> 
>> 3) In the TeXShop Preferences, in the Typesetting pane, I have checked the radio button next to SyncTex (Tex ≥ 2010) as one may see on the attached screen capture.
>> For now the syncing seems to work essentially fine (although it is not as precise as when using Plain TeX, or LaTeX, but probably this might be expected beacuse mkiv is more complex).
> 
> I checked the context runner, maybe the next beta works better (i get a zip with --synctex=zipped) but i have no clue if something useful is in there (useability also depends on how the content is placed / generated and there not always a 1-1 relation between this (and i have to time or motivation to cook up a better alternative that suits context better).
> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>    tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

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

  reply	other threads:[~2015-04-08 19:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01  6:55 Otared Kavian
2015-04-06 12:17 ` Andreas Schneider
2015-04-07  7:20   ` Otared Kavian
2015-04-07  8:32     ` Mojca Miklavec
2015-04-07  9:07       ` Otared Kavian
2015-04-07 14:33       ` Thomas Floeren
2015-04-08  8:43         ` Otared Kavian
2015-04-08 11:27           ` Hans Hagen
2015-04-08 19:49             ` Otared Kavian [this message]
2015-04-07  9:23 Akira Kakuto

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=4E3A010E-FBA0-4E4B-B546-0A4700B9F859@gmail.com \
    --to=otared@gmail.com \
    --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).