From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43655 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Installing ConTeXt Minimals on a Mac Date: Tue, 02 Sep 2008 14:42:07 -0400 Message-ID: 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> <6faad9f00809011438i191ad204qee99e85c2f7f0cee@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: multipart/mixed; boundary="===============1173199504==" X-Trace: ger.gmane.org 1220381070 17767 80.91.229.12 (2 Sep 2008 18:44:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 18:44:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 02 20:45:24 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 1KaasS-0002m8-Or for gctc-ntg-context-518@m.gmane.org; Tue, 02 Sep 2008 20:45:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B88D1FD55; Tue, 2 Sep 2008 20:44:14 +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 13184-01-9; Tue, 2 Sep 2008 20:43:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9170A1FC45; Tue, 2 Sep 2008 20:43:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 51BA91FBF9 for ; Tue, 2 Sep 2008 20:43:12 +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 15287-01 for ; Tue, 2 Sep 2008 20:42:26 +0200 (CEST) Original-Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by ronja.ntg.nl (Postfix) with ESMTP id EC5D61FC98 for ; Tue, 2 Sep 2008 20:42:11 +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 <0K6K0068YZY74UE3@vms173003.mailsrvcs.net> for ntg-context@ntg.nl; Tue, 02 Sep 2008 13:42:08 -0500 (CDT) In-reply-to: <6faad9f00809011438i191ad204qee99e85c2f7f0cee@mail.gmail.com> 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:43655 Archived-At: --===============1173199504== Content-type: multipart/alternative; boundary=Apple-Mail-1--591924768 --Apple-Mail-1--591924768 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable On Sep 1, 2008, at 17;38,50 , Mojca Miklavec wrote: > On Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen =20= > 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 =20 >>>> 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=3D~/Library/texmf >>>> export >>>> TEXMF=3D'{$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 =20 >>> 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=3D~/Library/texmf >> export TEXMF=3D'{$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 =3D ~/Library/texmf > # single line > TEXMF =3D {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!=20= > $TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN} > > But try putting=99 > export HOMETEXMF=3D~/Library/texmf > # single line > export TEXMF=3D'{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!=20= > $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. I hope I have understood this properly. I now have HOMETEXMF =3D ~/Library/texmf TEXMF =3D {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!! in my /ConteXtMinimals/tex/texmf-local/texmf.cnf. I have also inserted the lines export HOMETEXMF=3D~/Library/texmf and export TEXMF=3D'{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!=20 $TEXMFEXTRA,!!$TEXMFMAIN}' into a file formed by copying the content of setuptex. But before I can test this, assuming that so far is so good, I need to =20= turn my setuptex (which is natively a .tex file) into unix executable. =20= How do I do this? Alan > 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=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH > texexec "$1" > > ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine > > #!/bin/bash > export PATH=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH > export TEXMFCACHE=3D/Applications/ConTeXtMinimals/tex/texmf-cache > context "$1" > > ~/Library/TeXShop/Engines/ConTeXt-XeTeX.engine > > #!/bin/bash > export PATH=3D/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 =20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail-1--591924768 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable
On Sep 1, 2008, = at 17;38,50 , Mojca Miklavec wrote:

On = Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen <acbowen@princeton.edu> = 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=3D~/Library/texmf
export
TEXMF=3D'{$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=3D~/Library/texmf
export = TEXMF=3D'{$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 =     =3D ~/Library/texmf
# single line
TEXMF =3D = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!= $TEXMFEXTRA,!!$TEXMFMAIN}

But try putting=99
=   export HOMETEXMF=3D~/Library/texmf
# single line
=   export = TEXMF=3D'{$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.

I hope I have = understood this properly.  I now have 
HOMETEXMF     =3D = ~/Library/texmf
TEXMF =3D = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!
in my = /ConteXtMinimals/tex/texmf-local/texmf.cnf.

I = have also inserted the lines
export = HOMETEXMF=3D~/Library/texmf
and 
export = TEXMF=3D'{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,= !!$TEXMFMAIN}'

into a file formed by = copying the content of setuptex.

But before I = can test this, assuming that so far is so good, I need to turn my = setuptex (which is natively a .tex file) into unix executable. How do I = do this?

Alan

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=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH
texexec = "$1"

~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine

#!/bin/= bash
export = PATH=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH
export = TEXMFCACHE=3D/Applications/ConTeXtMinimals/tex/texmf-cache
context = "$1"

~/Library/TeXShop/Engines/ConTeXt-XeTeX.engine

#!/bin/b= ash
export = PATH=3D/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.s= upelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail-1--591924768-- --===============1173199504== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1173199504==--