ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Updating to Beta Builds of ConTeXt / LuaTeX from tlcontrib breaks MacTeX
Date: Wed, 17 Nov 2010 11:27:34 +0100	[thread overview]
Message-ID: <AANLkTi=TW+4va1pMeOzkeME1CCV36qa+OoJhkeuGCa_U@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=pSxDWzgEv4AK1=JHDFOMt34DUe=eFP9bF_mFe@mail.gmail.com>

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.
>>>
>>>  I 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:
>
>  return {
>           content = {
>                   TEXMFCACHE = '~/Library/texlive/2010/texmf-var',
>                   TEXMFHOME  = '~/src/texmf-trms',
>           },
>           TEXMFCACHE = '~/Library/texlive/2010/texmf-var',
>   }
>
> modification does not work for the MacTeX/TeXLive install. It needs to
> go back to the:
>
> TEXMFCACHE = '$HOME/Library/texlive/2010/texmf-var'
>
> ...varient.

Just a slight explanation. The first part "content = {...}" 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 {
    content = {
        TEXMFCACHE = '$HOME/Library/texlive/2010/texmf-var',
        TEXMFHOME = '$HOME/src/texmf-trms',
    },
    TEXMFCACHE = '$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 {
	content = {
		TEXMFCACHE = '~/Library/texlive/2010/texmf-var',
		TEXMFHOME  = '~/Library/texmf',
	},
	TEXMFCACHE = '~/Library/texlive/2010/texmf-var',
}

and
    ls ~/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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2010-11-17 10:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 20:00 Andrew Starks
2010-11-17  0:45 ` Mojca Miklavec
2010-11-17  1:01   ` Arthur Reutenauer
2010-11-17  1:06     ` Aditya Mahajan
2010-11-17  8:02       ` Andrew Starks
2010-11-17 10:27         ` Mojca Miklavec [this message]
2010-11-17 16:12           ` Andrew Starks
2010-11-17  4:26   ` Andrew Starks
2010-11-17  8:30     ` Alan BRASLAU
2010-11-17 10:13     ` Mojca Miklavec
2010-11-17  9:28   ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=TW+4va1pMeOzkeME1CCV36qa+OoJhkeuGCa_U@mail.gmail.com' \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).