ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Charles P. Schaum" <verbo.solo@sbcglobal.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt Minimals on Mac
Date: Sat, 23 Aug 2008 20:04:37 -0500	[thread overview]
Message-ID: <1219539877.9766.13.camel@elbereth> (raw)
In-Reply-To: <590BC19A-310D-4717-8342-2CFA4D45C75C@princeton.edu>

Here's a start:

What's in your path? Typing set in the terminal window should tell you.

Second, did you add

source ~/path/to/context/tex/setuptex ~/path/to/context/tex

to your ~/.profile

You need to have the source work from when you log in, and that happens
in the .profile, not the .bashrc. That way, stuff under Aqua see the
right environment. If you just do cmdline, then .bashrc is OK.

That's similar to GNOME under Linux/BSD.

See what happens after you do that.

Charles

On Sat, 2008-08-23 at 13:16 -0400, Alan Bowen wrote:
> Charles,
> 
> I ran the last command (for “typical”) but now, when I try to typeset
> \starttext
> Hello World!
> \stoptext
> it appears that there is a “context” folder missing in the minimals  
> that I downloaded. That is, I get
> 
> /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: /Applications/ 
> ConTeXtMinimals/context: No such file or directory
> The argument "" is not a valid TEXROOT path.
> There is no file "/texmf/tex/plain/base/plain.tex"
> provide a proper tex root (like '. setuptex /something/tex')
> TeXExec | processing document 'hello.tex'
> TeXExec | no ctx file found
> TeXExec | tex processing method: context
> TeXExec | TeX run 1
> TeXExec | writing option file hello.top
> TeXExec | using randomseed 1013
> TeXExec | tex engine: pdftex
> TeXExec | tex format: cont-en
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>   %&-line parsing enabled.
>   (/usr/local/texlive/2007/texmf/web2c/natural.tcx)
> entering extended mode
> (./hello.tex
> 
> which indicates that Texlive 2007 was used.
> 
> Alan
> 
> Note: the text of ConTeXtMinimals.engine reads
> 
> #!/bin/bash
> source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ 
> ConTeXtMinimals/context/tex
> texexec "$1"
> 
> On Aug 23, 2008, at 12;20,09 , Charles P. Schaum wrote:
> 
> > Open Applications/Utilities/Terminal from the finder
> >
> > Type (or cut n paste from Mail/Entourage) and don't put a carriage
> > return between these lines (they are wrapped automatically)
> >
> > chmod a+x
> > Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine
> >
> > If that fails - and it should not - try:
> >
> > sudo chmod a+x
> > Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine
> >
> >
> > You can substitute:
> >
> > chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine
> >
> > for the above path, and you can opt to do
> >
> > chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine
> >
> > when only you should execute it or
> >
> > chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine
> >
> > if anyone in your group can execute it
> >
> > or you can be "typical" and say
> >
> > chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine
> >
> > and that will make everyone executable and you/your group read- 
> > writable.
> > Since you are using UNIX (as Mac OS X proudly touts) you might want to
> > snag a reference on shell scripting and basic UNIX commands. Welcome  
> > to
> > the world beyond Aqua.
> >
> > That should do it.
> >
> > Charles
> >
> > On Sat, 2008-08-23 at 09:23 -0400, Alan Bowen wrote:
> >> I have installed the Context Minimals following the newbie
> >> instructions on the wiki at contextgarden for Mac users.
> >>
> >>
> >> The instructions themselves are clear but should perhaps be updated:
> >> • the file originally downloaded is first-setup.sh not
> >> first-setup.tsh
> >> • to execute this file run ./first-setup.sh not first-setup.sh (at
> >> least, the former worked and did not return a “command not found”
> >> message).
> >>
> >>
> >> I also configured TeXShop as instructed. But now when I try to  
> >> typeset
> >> a file, I get the error message:
> >> Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine does
> >> not have the executable bit set.
> >>
> >>
> >> How can I fix this?
> >>
> >>
> >> Alan
> >>
> >>
> >> Note:  I am running Mac OS X 10.5.4.
> >> ___________________________________________________________________________________
> >> 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  : https://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  : https://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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2008-08-24  1:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-23 13:23 Alan Bowen
2008-08-23 16:20 ` Charles P. Schaum
2008-08-23 17:16   ` Alan Bowen
2008-08-23 23:35     ` Charles P. Schaum
2008-08-24 11:29       ` Alan Bowen
2008-08-24  1:04     ` Charles P. Schaum [this message]
2008-08-24 11:54       ` Alan Bowen
2008-08-24 18:32         ` Charles P. Schaum
2008-08-26 15:22           ` Alan Bowen
2008-08-23 22:55   ` Kerning and Scaling Charles P. Schaum

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=1219539877.9766.13.camel@elbereth \
    --to=verbo.solo@sbcglobal.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).