On Tue, Nov 27, 2012 at 10:46 PM, Thomas A. Schmitz wrote:
Hi,
is there a canonical way to update texlive so it runs the latest context beta?
What exactly do you mean with a canonical way? The most reliable way could be creating a tar.xz package from the beta and install that one, but it wouldn't guarantee you that ConTeXt would work at all. Usually quite some effort is put into making sure that ConTeXt runs on TeX Live at all and it remains more or less stable (one has to start convincing Hans about a month in advance of TL freeze to slow down the development and try to hold on with major code changes, so that major bugs get fixed without introducing too many new ones; and it's also important to make sure that ConTeXt integrates well with the given framework of TL). Creating a script to make you a tar.xz would be doable, but it would be completely unsupported. An alternative is to put ConTeXt into your home/local tree (or some other tree where TL would find the files), but the nasty detail is that you have to make sure that all the relevant binaries & scripts are replaced as well. Notably that's mtxrun.
From time to time, I'd like to be sure that I can run texlive as well. I tried unzipping the latest zip file in texlive/texmf-local, running mtxrun --generate and context --make, but I get
texmf-local/scripts/context/lua/mtx-context.lua:859: attempt to call field 'loadchunk' (a nil value)
mtx-context.lua is identical to the one in standalone, as is the luatex binary, so I'm wondering what's going wrong here?
You also need to make sure that mtxrun is updated (in some way). Mojca