From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63617 Path: news.gmane.org!not-for-mail From: Andrew Starks Newsgroups: gmane.comp.tex.context Subject: Re: Updating to Beta Builds of ConTeXt / LuaTeX from tlcontrib breaks MacTeX Date: Wed, 17 Nov 2010 10:12:09 -0600 Message-ID: References: <20101117010151.GC16678@phare.normalesup.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290010355 22861 80.91.229.12 (17 Nov 2010 16:12:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 16:12:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 17 17:12:31 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PIkcZ-00009c-2s for gctc-ntg-context-518@m.gmane.org; Wed, 17 Nov 2010 17:12:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6966ECA869; Wed, 17 Nov 2010 17:12:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0mufcnvrky54; Wed, 17 Nov 2010 17:12:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D967ACA85E; Wed, 17 Nov 2010 17:12:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA2CDCA85B for ; Wed, 17 Nov 2010 17:12:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id w-wB5RydIP7I for ; Wed, 17 Nov 2010 17:12:15 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 3280FCA85E for ; Wed, 17 Nov 2010 17:12:15 +0100 (CET) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAHGCEhE007632 for ; Wed, 17 Nov 2010 17:12:14 +0100 Original-Received: by wyf23 with SMTP id 23so2094194wyf.14 for ; Wed, 17 Nov 2010 08:12:13 -0800 (PST) Original-Received: by 10.216.24.206 with SMTP id x56mr8282955wex.2.1290010329091; Wed, 17 Nov 2010 08:12:09 -0800 (PST) Original-Received: by 10.216.139.22 with HTTP; Wed, 17 Nov 2010 08:12:09 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDwgceM1 - 661a39bdd5ab - 20101117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63617 Archived-At: On Wed, Nov 17, 2010 at 4:27 AM, Mojca Miklavec wrote: > On Wed, Nov 17, 2010 at 09:02, Andrew Starks wrote: >> On Tue, Nov 16, 2010 at 7:06 PM, Aditya Mahajan wrote: >>> On Wed, 17 Nov 2010, Arthur Reutenauer wrote: >>> >>>>> - Does it help if you replace "~" with "/Users/yourname" in >>>>> texmfcnf.lua? During the ConTeXt conference (and that was more recent >>>>> than the current version of ConTeXt) the tilde didn't expand properly >>>>> in some cases and I'm still not sure if it works flawlessly now. >>>> >>>> =A0I don't think so; I never finished the code I started to write for >>>> Hans then. >>> >>> Does $HOME work? That may be better than hard coding /Users/yourname. >> >> No, but I've discerned that the: >> >> =A0return { >> =A0 =A0 =A0 =A0 =A0 content =3D { >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 TEXMFCACHE =3D '~/Library/texlive/20= 10/texmf-var', >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 TEXMFHOME =A0=3D '~/src/texmf-trms', >> =A0 =A0 =A0 =A0 =A0 }, >> =A0 =A0 =A0 =A0 =A0 TEXMFCACHE =3D '~/Library/texlive/2010/texmf-var', >> =A0 } >> >> modification does not work for the MacTeX/TeXLive install. It needs to >> go back to the: >> >> TEXMFCACHE =3D '$HOME/Library/texlive/2010/texmf-var' >> >> ...varient. > > Just a slight explanation. The first part "content =3D {...}" is useful > for the latest version of ConTeXt that is shipped with tlcontrib. The > second TEXMFCACHE is used by the old version that comes with TeX > Live/MacTeX 2010 by default. They happily live together and the second > one will be removed next year. > > The problem with tilde has been discovered recently (and not necessary > fixed yet). You could try > > return { > =A0 =A0content =3D { > =A0 =A0 =A0 =A0TEXMFCACHE =3D '$HOME/Library/texlive/2010/texmf-var', > =A0 =A0 =A0 =A0TEXMFHOME =3D '$HOME/src/texmf-trms', > =A0 =A0}, > =A0 =A0TEXMFCACHE =3D '$HOME/Library/texlive/2010/texmf-var', > } > > but probably nobody has tested if $HOME is expanded properly in that > particular case either. But in any case the first part will only make > a difference if you use tlcontrib and the second part will only make a > difference if you use the default old version of ConTeXt. > >> BTW: the last coma after the last TEXMFCACHE entry didn't look right, >> but deleting it did nothing. > > The last comma doesn't change anything. (I like lua.) It's useful if > you copy-paste new lines at the end, so that you don't forget to add a > comma in between. > >> I tried combinations of order and $HOME >> for only TEXMFCACHE, etc. Nothing changed it. All of this testing was >> not on the tlcontrib tree. It was only on the MacTeX tree. Therefore, >> I may be saying things that you already know. > > What exactly do you mean with "MacTeX tree" and "tlcontrib tree"? I > have exactly these setting in texmfcnf.lua: > > return { > =A0 =A0 =A0 =A0content =3D { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0TEXMFCACHE =3D '~/Library/texlive/2010/tex= mf-var', > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0TEXMFHOME =A0=3D '~/Library/texmf', > =A0 =A0 =A0 =A0}, > =A0 =A0 =A0 =A0TEXMFCACHE =3D '~/Library/texlive/2010/texmf-var', > } > > and > =A0 =A0ls ~/Library/texlive/2010/texmf-var/ > does show me luatex-cache. So maybe some expansion does take place. > However I admit that I have never tried if TEXMFHOME set that way has > any influence at all. > > 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-co= ntext > webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: http://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > ummm... yeah. I don't want to be all "la-tee-da" and stuff, but I think i figured out nirvana. So, it appears that the latest beta builds like: --TexLive Version --return { TEXMFCACHE =3D '$HOME/Library/texlive/2010/texmf-var' } --tlcontrib Version return {content=3D{ TEXMFCACHE =3D '$HOME/Library/texlive/2010/texmf-var', TEXMFHOME =3D '$HOME/src/texmf-trms'}, TEXMFCACHE=3D'$HOME/Library/texlive/2010/texmf-var'} so, I put the following into my bash shell: function tlcontext { sudo cp -f -v /usr/local/texlive/2010/texmfcnf-tlcontrib.lua /usr/local/texlive/2010/texmfcnf.lua; sudo tlmgr --repository http://tlcontrib.metatex.org/2010 update context luatex metapost; } function tlmactex { sudo cp -f -v /usr/local/texlive/2010/texmfcnf-mactex.lua /usr/local/texlive/2010/texmfcnf.lua; sudo tlmgr install context luatex metapost --reinstall; } --------- which should be pretty obvious. Now it all works sweet. My motivation for this is... unclear. I really just needed to install the latest PGF/TiKz package to be good to go. But at least I'm (marginally) smarter now. :) Thanks, all! I'll let you know if I find anything else! ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________