From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43605 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Installing ConTeXt Minimals on a Mac Date: Mon, 1 Sep 2008 23:38:50 +0200 Message-ID: <6faad9f00809011438i191ad204qee99e85c2f7f0cee@mail.gmail.com> References: <0846FCD8-7EB4-438B-A370-C423A769520B@princeton.edu> <6faad9f00809010016u2c2db572n6b571abfa6b73dc1@mail.gmail.com> <5BDADCB0-B359-4C48-99AC-1A7BAA9AEC5C@princeton.edu> <6faad9f00809010924r7b6e7dcfxfb65651cd900f83e@mail.gmail.com> <6faad9f00809011043o234fe79dt80d3a1d7d0b46974@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220305237 21622 80.91.229.12 (1 Sep 2008 21:40:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2008 21:40:37 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 01 23:41:30 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 1KaH9G-00045V-0W for gctc-ntg-context-518@m.gmane.org; Mon, 01 Sep 2008 23:41:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32E8C1FCC6; Mon, 1 Sep 2008 23:40:21 +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 32314-01-5; Mon, 1 Sep 2008 23:39:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD3641FC7A; Mon, 1 Sep 2008 23:39:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 651F11FC01 for ; Mon, 1 Sep 2008 23:39:29 +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 27419-02-17 for ; Mon, 1 Sep 2008 23:38:52 +0200 (CEST) Original-Received: from mail-gx0-f29.google.com (mail-gx0-f29.google.com [209.85.217.29]) by ronja.ntg.nl (Postfix) with ESMTP id A4F491FC7A for ; Mon, 1 Sep 2008 23:38:51 +0200 (CEST) Original-Received: by gxk10 with SMTP id 10so1996496gxk.2 for ; Mon, 01 Sep 2008 14:38:50 -0700 (PDT) Original-Received: by 10.150.124.2 with SMTP id w2mr9339324ybc.170.1220305130441; Mon, 01 Sep 2008 14:38:50 -0700 (PDT) Original-Received: by 10.151.83.13 with HTTP; Mon, 1 Sep 2008 14:38:50 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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:43605 Archived-At: On Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen wrote: > > On Sep 1, 2008, at 13;43,19 , Mojca Miklavec wrote: > >>> On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: >>> >>> For setting HOMETEXMF you can help yourself, though it would be nice >>> if we provided a solution that worked out of the box. But I would >>> like >>> to get a confirmation from Hans that it's OK to do that. >>> >>> I have modified the texmf.cnf in >>> ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines >>> export HOMETEXMF=~/Library/texmf >>> export >>> TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! >>> $TEXMFEXTRA,!!$TEXMFMAIN}' >>> but ConTeXt still does not find my personal texmf folder >> >> I probably told you wrong, but: >> 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be >> equal >> 2.) unless you are following (3), don't modify the file in texmf/, >> but create >> /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf >> instead, else the file will be overwritten at first update >> 3.) even then I'm not completely sure, but I guess that environmental >> variables override settings in texmf.cnf, so you either need to >> a) modify setuptex (rename it and run the renamed file instead of >> setuptex) >> b) only export PATH and not run setuptex at all; in that case values >> from texmf.cnf will be used >> - maybe you need to run "mktexlsr" or "luatools --generate" >>> > > OK. One quick reply just to see if I am on track. > > I have created /Applications/ConTeXtMinimals/tex/texmf-local/web2c/ > texmf.cnf > where texmf.cnf now has > export HOMETEXMF=~/Library/texmf > export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! (hopefully the line continues ...) The lines you have written here belong to "setuptex", not to texmf.cnf. The syntax for setuptex is slightly different. HOMETEXMF = ~/Library/texmf # single line TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN} But try putting export HOMETEXMF=~/Library/texmf # single line export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}' into setuptex (replace the old variables). The problem is that if you adapt texmf.cnf only, you still override those settings with setuptex. There is one thing that you could try (I never use TeXShop, but there's a change that it works): ~/Library/TeXShop/Engines/ConTeXt-pdfTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec "$1" ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context "$1" ~/Library/TeXShop/Engines/ConTeXt-XeTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec --xtx "$1" (sorry for two different proposals - I should probably only send you a single one) Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________