ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: context --autopdf=auto/default
Date: Thu, 29 Aug 2019 15:04:52 +0200	[thread overview]
Message-ID: <5981553E-C14A-4C96-BA89-44D9B748CDF2@fiee.net> (raw)
In-Reply-To: <7FB15EA3-5F06-4CF4-86E7-0E5406725276@fiee.net>

> Am 2019-08-29 um 11:51 schrieb Taco Hoekwater <taco@elvenkind.com>:
>> On 29 Aug 2019, at 11:40, Henning Hraban Ramm <texml@fiee.net> wrote:
>> 
>> Hans, could you use "xdg-open" for "—autopdf=auto" on Linux?
>> That’s more or less the same as "open" on MacOS.
>> 
>> On Windows it’s 'start "" "<file>"' (empty quotes for default program), don’t know if that’s implemented.
>> 
>> 
>> "default" is apparently "pdfopen", that doesn’t work on MacOS, at least on my system I get:
>> 
>> dyld: Library not loaded: /usr/X11/lib/libX11.6.dylib
>> Referenced from: /Users/hraban/Library/texmf/tex/texmf-osx-64/bin/pdfopen
>> Reason: image not found
>> Abort trap: 6
> 
> You need XQuartz installed for pdfopen to even start on MacOS. But it would still
> likely fail with ‘acroread startup failed’, because it is seriously outdated by now.

I have XQuartz, of course, but not the outdated Apple version or any other in /usr/X11/lib, but the MacPorts version in /opt/local/lib (and a few within some Apps).

Adobe Acrobat Reader DC doesn’t use X11 and isn’t callable as acroread, but only as /Applications/Adobe\ Acrobat\ Reader\ DC.app/Contents/MacOS/AdobeReader *if* you installed it in /Applications.

I guess you meant acroread on Linux, and there "default" still works.

> Am 2019-08-29 um 11:51 schrieb Floris van Manen <vm@klankschap.nl>:
> 
> On 29-08-19 11:40, Henning Hraban Ramm wrote:
>> Hans, could you use "xdg-open" for "—autopdf=auto" on Linux?
>> That’s more or less the same as "open" on MacOS.
> 
> you could also create an alias for in your .bashrc
> 
> alias open=xdg-open

Right. And also an alias for acroread and/or pdfopen on my Mac.

But since I think it’s useful for a lot of users, I suggest including at least xdg-open for "auto" on Linux.

I’d be surprised if there wasn’t a distinction of systems in mtxrun. (Is it in mtx-context.lua? I didn’t understand the code.)


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

       reply	other threads:[~2019-08-29 13:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7FB15EA3-5F06-4CF4-86E7-0E5406725276@fiee.net>
2019-08-29 13:04 ` Henning Hraban Ramm [this message]
2019-08-29 23:27   ` Hans Hagen
2019-08-29  9:40 Henning Hraban Ramm
2019-08-29  9:51 ` Taco Hoekwater
2019-08-29  9:51 ` Floris van Manen

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=5981553E-C14A-4C96-BA89-44D9B748CDF2@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).