ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
Subject: Re: regenerating formats
Date: Sat, 15 Jul 2006 06:39:23 -0400	[thread overview]
Message-ID: <08165B94-B70C-43E7-9D9B-B2A0B55F17A4@princeton.edu> (raw)
In-Reply-To: <e0f6dc044bd30dbdace490670a9a942b@nkuitse.com>

On Jul 14, 2006, at 3:35 PM, Paul Hoffman wrote:

> On Jul 14, 2006, at 2:23 PM, Alan Bowen wrote:
>
>> I downloaded the latest ConTeXt and tried regenerating the  
>> hyphenation
>> patterns
>> and formats (to get hyphenation with Thomas’ Greek module). The first
>> step
>> 	texmfstart ctxtools --pat
>> was successful. But
>> 	sudo texmfstart texexec --make --all
>> (which worked with the last ConTeXt installation)
>> and
>> 	sudo -H texmfstart texexec --make --all
>> failed with the error message
>> 	sudo: texmfstart: command not found.
>> [...]
>>
>> Does it matter that I have the line
>> 	alias texmfstart='ruby
>> /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
>> texmfstart.rb'
>> in my .profile rather than an executable version of the texmfstart
>> script in my $PATH?
>
> Yes -- sudo doesn't know about shell aliases, it's trying to find an
> executable file named texmfstart in your PATH.
>
>> If it does, is there a way to set things so that texmfstart is
>> automatically available to the administrator and user
>> whenever a Terminal session is begun?
>
> Yes, by saving the following script as texmfstart in /usr/local/bin or
> wherever is appropriate:
>
> #!/bin/sh
> exec ruby
> /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb
> "$@"
>
> (Everything from 'exec' to '"$@"' should be on a single line.)
>
> If you're using sudo while logged in as yourself (i.e., not root),  
> this
> texmfstart script can be anywhere in your PATH.
>
> Paul.
>
>> Alan_______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
> -- 
> Paul Hoffman <nkuitse@nkuitse.com>
> http://nkuitse.com/
> http://hoffmancommapaul.com/

Many thanks, Paul! I appreciate your help.

Alan

      reply	other threads:[~2006-07-15 10:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14 18:23 Alan Bowen
2006-07-14 18:58 ` Peter Münster
2006-07-15 10:38   ` Alan Bowen
2006-07-14 19:35 ` Paul Hoffman
2006-07-15 10:39   ` Alan Bowen [this message]

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=08165B94-B70C-43E7-9D9B-B2A0B55F17A4@princeton.edu \
    --to=acbowen@princeton.edu \
    --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).