From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43568 Path: news.gmane.org!not-for-mail From: Michael Green Newsgroups: gmane.comp.tex.context Subject: Re: Installing ConTeXt Minimals on a Mac Date: Sun, 31 Aug 2008 10:09:32 -0700 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220202928 18859 80.91.229.12 (31 Aug 2008 17:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 17:15:28 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 31 19:16:21 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 1KZqX8-0003rq-BB for gctc-ntg-context-518@m.gmane.org; Sun, 31 Aug 2008 19:16:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DDA9F1FBF9; Sun, 31 Aug 2008 19:15:10 +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 23342-03-4; Sun, 31 Aug 2008 19:14:12 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 490091FB5B; Sun, 31 Aug 2008 19:14:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 25A071FB4E for ; Sun, 31 Aug 2008 19:14:07 +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 23879-02-2 for ; Sun, 31 Aug 2008 19:13:29 +0200 (CEST) Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by ronja.ntg.nl (Postfix) with ESMTP id 93E901FB5B for ; Sun, 31 Aug 2008 19:13:27 +0200 (CEST) Original-Received: by wa-out-1112.google.com with SMTP id m38so1288848waf.14 for ; Sun, 31 Aug 2008 10:13:25 -0700 (PDT) Original-Received: by 10.114.12.10 with SMTP id 10mr4584775wal.190.1220202805695; Sun, 31 Aug 2008 10:13:25 -0700 (PDT) Original-Received: from ?192.168.1.65? ( [76.240.179.87]) by mx.google.com with ESMTPS id f20sm6839859waf.53.2008.08.31.10.13.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 31 Aug 2008 10:13:25 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.753.1) 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:43568 Archived-At: 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 ___________________________________________________________________________________