From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43575 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Installing ConTeXt Minimals on a Mac Date: Sun, 31 Aug 2008 17:17:26 -0400 Message-ID: References: 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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220217590 1074 80.91.229.12 (31 Aug 2008 21:19:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 21:19:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 31 23:20:43 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 1KZuLe-0002cZ-RJ for gctc-ntg-context-518@m.gmane.org; Sun, 31 Aug 2008 23:20:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9C3571FB8F; Sun, 31 Aug 2008 23:19:36 +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 17143-03-2; Sun, 31 Aug 2008 23:18:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 48C3F1FB95; Sun, 31 Aug 2008 23:18:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2A43D1FB7E for ; Sun, 31 Aug 2008 23:18:31 +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 17143-03 for ; Sun, 31 Aug 2008 23:17:48 +0200 (CEST) Original-Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by ronja.ntg.nl (Postfix) with ESMTP id 188C11FB1F for ; Sun, 31 Aug 2008 23:17:46 +0200 (CEST) Original-Received: from new-host.home ([71.188.48.133]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K6H00LVOHT3MHXE@vms173003.mailsrvcs.net> for ntg-context@ntg.nl; Sun, 31 Aug 2008 16:17:27 -0500 (CDT) In-reply-to: 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:43575 Archived-At: Thanks, Michael; this is very helpful. I will prepare a .bash_profile file and try it out. Where did you put your .bash_profile file? Alan On Aug 31, 2008, at 13;09,32 , Michael Green wrote: > On Aug 30, 2008, Alan Bowen wrote: > >> What follows are some queries that I will be happy to write up for >> the >> wiki. The aim (hope?) is to develop a set of instructions for >> installing the minimals on a Mac that a Mac user without any real >> knowledge of unix (such as myself) can follow easily. (There are a >> number of people scattered around the world who help me in producing >> various publications; and since they too are not unix savvy, I need >> such instructions if we are to keep our installations functioning and >> up to date.) >> >> Once the ConTeXt minimals are installed in the Applications folder >> and >> the user can run >> \starttext >> Hello world! >> \stoptext >> which is where the wiki (Installation>section 1.2) currently leaves >> off, there still remain a few tasks. >> >> Specifically, >> >> (a) getting this ConTeXt installation to recognize a personal texmf >> directory >> >> (b) running the various binaries (e.g., texmfstart, ctxtools) in / >> Applications/ConTeXtMinimals from Terminal >> >> (c) establishing synchronization between PDF output and its ConTeXt >> source. Currently, it does not seem to work (with TeXShop at least) >> Note, in the latest TeXShop there is >> Added support for SyncTeX. SyncTeX is new synchronization technology >> by Jerome Laurens which is included in TeX Live 2008 (but not earlier >> TeX distributions). The technology is built directly into pdfTeX and >> XeTeX. In modern TeX distributions, most typesetting actually calls >> pdfetex (even if using latex to output a dvi file), and thus the >> technology is available for such typesetting. To use the technology, >> add the flag --synctex=1 >> >> Any advice on how to do (a), (b), and (c) will be much appreciated. >> >> Alan >> >> > > I installed ConTeXt Minimals in my home directory's Applications > folder (not the applications folder for the system as a whole). I'm > reluctant to write in because my understanding of what I'm doing is > shallow and I haven't used my solution beyond a few simple tests. > > With that said, adding the following three lines to .bash_profile > seems to work for me. > > source ~/Applications/context/tex/setuptex ~/Applications/context/tex > TEXMFHOME=$HOME/Library/texmf > TEXMF={$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!! > $TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN} > > Here is how I understand what I did. > > (A) I think that the second and third lines (TEXMFHOME ... and > TEXMF ...) handle issue (a). > > I copied them from a message I read on the developer list. > > http://archive.contextgarden.net/message/ > 20080607.102038.6212fc3c.en.html > > I should add that the author, Oliver Buerschaper wrote to complain > that additions to the personal texmf tree were not automatically > recognized. He had to run luatools --generate again after changing > something. I have no idea if this has been fixed since June, when he > wrote his message. I assume it has, but haven't tested it. > > (B) I think that the first line (source ...) handles issue (b). It > tells the shell to look for TeX binaries in ~/Applications/context/ > tex. > > This is the second instruction from the Linux/Mac/BSD section of the > wiki's installation page, modified for my particular case. > > http://wiki.contextgarden.net/ConTeXt_Minimals#Linux.2FMac.2FFreeBSD > > Michael > ___________________________________________________________________________________ > 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 ___________________________________________________________________________________