From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43614 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Installing ConTeXt Minimals on a Mac Date: Mon, 01 Sep 2008 18:13:46 -0400 Message-ID: <6A47E032-C0CC-4C7D-A9EC-7C3CF78248FF@princeton.edu> 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="===============0404687477==" X-Trace: ger.gmane.org 1220308719 31121 80.91.229.12 (1 Sep 2008 22:38:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2008 22:38:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 02 00:39: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 1KaI3M-00011H-Tz for gctc-ntg-context-518@m.gmane.org; Tue, 02 Sep 2008 00:39:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 04EA21FBD0; Tue, 2 Sep 2008 00:38:20 +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 10573-01-2; Tue, 2 Sep 2008 00:37:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D4A61FCCE; Tue, 2 Sep 2008 00:15:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F8921FCC7 for ; Tue, 2 Sep 2008 00:15:03 +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 01193-03-18 for ; Tue, 2 Sep 2008 00:14:11 +0200 (CEST) Original-Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by ronja.ntg.nl (Postfix) with ESMTP id 60C061FCF3 for ; Tue, 2 Sep 2008 00:13:48 +0200 (CEST) Original-Received: from new-host.home ([71.188.48.133]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K6J006WOF2YUKA2@vms042.mailsrvcs.net> for ntg-context@ntg.nl; Mon, 01 Sep 2008 17:13:47 -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:43614 Archived-At: --===============0404687477== Content-type: multipart/alternative; boundary=Apple-Mail-1--665625227 --Apple-Mail-1--665625227 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mocja---I will start with the second proposal and save the first for =20 tomorrow. 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 > 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. > > 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" Done. The =93Hello world=94 file processes but using my texlive 2007 =20 distribution. 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 780 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 ConTeXt ver: 2008.08.04 10:10 MKII fmt: 2008.8.31 int: english/=20 english > ~/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" Done. No joy. ConTeXt complains: /Users/alancbowen/Library/TeXShop/Engines/ConTeXt-luaTeX.engine: line =20= 4: context: command not found > ~/Library/TeXShop/Engines/ConTeXt-XeTeX.engine > > #!/bin/bash > export PATH=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH > texexec --xtx "$1" Done. I t works, but 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 403 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./hello.tex ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.5.18 int: english/=20 english seems odd. I do not use XeTeX but I am guessing that this version is =20 also in my Texlive 2007 distribution too. I do like the idea of defining different engines for pdftex and =20 luatex, since it address one of my earlier queries about switching =20 between the two with the minimals. More tomorrow. Warm thanks. Alan > (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--665625227 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Mocja---I will start with the = second proposal and save the first for tomorrow.

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
  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.

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"

Done. The =93Hello world=94 = file processes but using my texlive 2007 = distribution.
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 780
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

ConTeXt  ver: 2008.08.04 = 10:10 MKII  fmt: 2008.8.31  int: = english/english

~/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"

Done. No joy. ConTeXt = complains:
/Users/alancbowen/Library/TeXShop/Engines/ConTeXt-luaTeX.en= gine: line 4: context: command not = found

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

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

Done. I t works, = but
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 403
TeXExec | tex engine: = xetex
TeXExec | tex format: cont-en
This is XeTeXk, Version = 3.141592-2.2-0.996 (Web2C 7.5.6)
 %&-line parsing = enabled.
entering extended mode
(./hello.tex

ConTeXt  ver: 2007.01.12 = 15:56 MKII  fmt: 2007.5.18  int: = english/english

seems odd. I do not use = XeTeX but I am guessing that this version is also in my Texlive 2007 = distribution too.

I do like the idea of = defining different engines for pdftex and luatex, since it address one = of my earlier queries about switching between the two with the = minimals. 

More = tomorrow.

Warm thanks. = Alan

(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--665625227-- --===============0404687477== 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 ___________________________________________________________________________________ --===============0404687477==--