From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43330 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt Minimals on Mac Date: Sun, 24 Aug 2008 07:54:25 -0400 Message-ID: <11995EC9-FE8F-41B1-8B72-10D5F868ED7E@princeton.edu> References: <15635CB1-AD86-496A-B972-0515F05C53FA@princeton.edu> <1219508410.5826.12.camel@elbereth> <590BC19A-310D-4717-8342-2CFA4D45C75C@princeton.edu> <1219539877.9766.13.camel@elbereth> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1219584107 4236 80.91.229.12 (24 Aug 2008 13:21:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2008 13:21:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 24 15:22:40 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KXFYF-0001Pf-B9 for gctc-ntg-context-518@m.gmane.org; Sun, 24 Aug 2008 15:22:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C206A1FB7E; Sun, 24 Aug 2008 15:21:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14917-06-16; Sun, 24 Aug 2008 15:20:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A6831FB98; Sun, 24 Aug 2008 15:20:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 226B21FB5B for ; Sun, 24 Aug 2008 15:20:46 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19541-02-4 for ; Sun, 24 Aug 2008 15:20:11 +0200 (CEST) Original-Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by ronja.ntg.nl (Postfix) with ESMTP id 01E2A1FBB9 for ; Sun, 24 Aug 2008 13:54:36 +0200 (CEST) Original-Received: from [192.168.1.2] ([71.188.48.133]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K6300GJ6T2PQ7L1@vms044.mailsrvcs.net> for ntg-context@ntg.nl; Sun, 24 Aug 2008 06:54:26 -0500 (CDT) In-reply-to: <1219539877.9766.13.camel@elbereth> X-Mailer: Apple Mail (2.926) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43330 Archived-At: Charles--- set produces (inter alia) PATH=3D/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/ = bin I created a .profile containing the line source ~/path/to/context/tex/setuptex ~/path/to/context/tex and put it in Macintosh HD/Users/alancbowen/Library But, sad to say, I get the same error when I try to typeset my =93Hello = World!=94 file using the=99 minimals: /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') Alan On Aug 23, 2008, at 21;04,37 , Charles P. Schaum wrote: > 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 =93typical=94) but now, when I try to typeset >> \starttext >> Hello World! >> \stoptext >> it appears that there is a =93context=94 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: >>>> =95 the file originally downloaded is first-setup.sh not >>>> first-setup.tsh >>>> =95 to execute this file run ./first-setup.sh not first-setup.sh (at >>>> least, the former worked and did not return a =93command not found=94 >>>> 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-c= ontext >> 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-co= ntext > 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________