From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mptopdf (broken again)
Date: Wed, 12 Jan 2011 10:31:53 +0100 [thread overview]
Message-ID: <AANLkTin=03CvU11CMTu437LbWQ4Ni9TA_JKhV8fnxrSn@mail.gmail.com> (raw)
In-Reply-To: <4D2D6F55.2000600@wxs.nl>
On Wed, Jan 12, 2011 at 10:07, Hans Hagen wrote:
>
> it was wrong in the context zip; for windows one can just copy the stub
> mtxrun.exe to mptopdf.exe but the same is not true for the shell script that
> needs to be:
>
> #!/bin/sh
> mtxrun --script mptopdf "$@"
That's right, but may I ask to fix that in ConTeXt?
> I'm not sure, but a generic (copyable) script could be:
>
> #!/bin/sh
> mtxrun --script $0 "$@"
>
> (no shell expert)
No, that would not work properly. $0 gives me full path to the
executable script, so in my case I would get
mtxrun --script /context/tex/texmf-osx-64/bin/mptopdf <the rest>
which is probably not desirable. There are ways to circumvent this,
but leaving the scripts the way they are now still seems reasonable to
me.
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-01-12 9:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-09 23:37 Mojca Miklavec
2011-01-10 7:55 ` Taco Hoekwater
2011-01-10 10:11 ` Mojca Miklavec
2011-01-12 9:07 ` Hans Hagen
2011-01-12 9:31 ` Mojca Miklavec [this message]
2011-01-12 11:17 ` Hans Hagen
2011-01-12 11:38 ` Mojca Miklavec
2011-01-12 16:41 ` Michal Kvasnička
2011-01-12 17:06 ` luigi scarso
2011-01-12 17:12 ` Mojca Miklavec
2011-01-12 17:26 ` Mojca Miklavec
2011-01-13 10:59 ` luigi scarso
2011-01-12 17:30 ` Mojca Miklavec
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='AANLkTin=03CvU11CMTu437LbWQ4Ni9TA_JKhV8fnxrSn@mail.gmail.com' \
--to=mojca.miklavec.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).