ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: updating context on Ubuntu 6.06
Date: Thu, 27 Jul 2006 10:05:17 +0200	[thread overview]
Message-ID: <44C873BD.9080808@wxs.nl> (raw)
In-Reply-To: <E1G5raB-0006US-00@skye.ra.phy.cam.ac.uk>

Sanjoy Mahajan wrote:
> How does Windows quoting work?  Well, the whole story isn't needed,
> but only how would this ruby line
>
>   `kpsewhich --expand-var '$TEXMFLOCAL'`
>
> differ on Windows relative to Unix?
>   
the problem is that one never knows when the shell does things and when 
the program does ... so in order to be really sure, we need taco to look 
into the kpse source to see if ' is handled there (here they are retained)
> And the $@ -> "$@" change can be done in the Unix stubs only, so the
> change won't affect Windows (which uses .bat files and a different
> syntax).
>   

so in texmfstart:                

    f.write("#{program} #{callname} \"$@\"\012")

> The other part of the patch was changing system() to be used within an
> if instead of a rescue block, and I got the return information about
> system() from the Programming Ruby manual online.  It didn't say
> anything about it applying only to Unix, so that change should be safe
> too.
>   
will look 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-07-27  8:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 20:24 Sanjoy Mahajan
2006-07-26  8:36 ` Ralf Schmitt
2006-07-26  9:36   ` Taco Hoekwater
2006-07-26 10:36     ` Jano Kula
2006-07-26 11:20     ` Ralf Schmitt
2006-07-26 15:17     ` Sanjoy Mahajan
2006-07-26 16:13       ` Taco Hoekwater
2006-07-26 19:47         ` Sanjoy Mahajan
2006-07-26 20:34           ` Taco Hoekwater
2006-07-26 20:57           ` Hans Hagen
2006-07-26 21:01           ` Hans Hagen
2006-07-26 21:29             ` Switching Font Size in a Natural Table Neal Lester
2006-08-01 23:31               ` Mojca Miklavec
2006-07-26 22:10             ` updating context on Ubuntu 6.06 Sanjoy Mahajan
2006-07-27  8:05               ` Hans Hagen [this message]
2006-07-27  8:46                 ` Taco Hoekwater
2006-07-27  8:04           ` Hans Hagen
2006-07-27 12:37             ` Sanjoy Mahajan
2006-07-26 21:02         ` Hans Hagen
2006-07-26 14:43   ` Sanjoy Mahajan

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=44C873BD.9080808@wxs.nl \
    --to=pragma@wxs.nl \
    --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).