On 11/27/2012 11:07 PM, Mojca Miklavec wrote:
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.
In the past we had more updates of mp.luatex so it's more likely to work nowadays (unzip context, update mtxrun) but I expect a metapost / luatex update around the end of the year in which case the delta between tl and minimals becomes too large. I agree with Mojca that tl is meant to be stable and should be left as is.
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).
often mtxrun --selfupdate works (given that we have a compatible luatex) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------