ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Updating texlive?
@ 2012-11-27 21:46 Thomas A. Schmitz
  2012-11-27 22:06 ` Hans Hagen
  2012-11-27 22:07 ` Mojca Miklavec
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2012-11-27 21:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

is there a canonical way to update texlive so it runs the latest context
beta? 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?

All best

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Updating texlive?
  2012-11-27 21:46 Updating texlive? Thomas A. Schmitz
@ 2012-11-27 22:06 ` Hans Hagen
  2012-11-27 22:16   ` Thomas A. Schmitz
  2012-11-27 22:07 ` Mojca Miklavec
  1 sibling, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2012-11-27 22:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

On 11/27/2012 10:46 PM, Thomas A. Schmitz wrote:
> Hi,
>
> is there a canonical way to update texlive so it runs the latest context
> beta? 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 probably need to copy mtxrun.lua to mtxrun in some bin path

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Updating texlive?
  2012-11-27 21:46 Updating texlive? Thomas A. Schmitz
  2012-11-27 22:06 ` Hans Hagen
@ 2012-11-27 22:07 ` Mojca Miklavec
  2012-11-27 22:15   ` Hans Hagen
  2012-11-27 23:20   ` Martin Schröder
  1 sibling, 2 replies; 8+ messages in thread
From: Mojca Miklavec @ 2012-11-27 22:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Updating texlive?
  2012-11-27 22:07 ` Mojca Miklavec
@ 2012-11-27 22:15   ` Hans Hagen
  2012-11-27 23:20   ` Martin Schröder
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2012-11-27 22:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Updating texlive?
  2012-11-27 22:06 ` Hans Hagen
@ 2012-11-27 22:16   ` Thomas A. Schmitz
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2012-11-27 22:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: pragma

On 11/27/2012 11:06 PM, Hans Hagen wrote:
> 
> you probably need to copy mtxrun.lua to mtxrun in some bin path

Yes, that appears to be the culprit - after overwriting the "old" mtxrun
with the fresh copy, it seems to work.

On 11/27/2012 11:07 PM, Mojca Miklavec wrote:> 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.

Hmm, that sounds much more complex than the simple fix Hans suggested.
Since you package context for texlive, you have much more experience
here than I do: any more scripts that need to be copied into the binary
tree? (apart from luatex itself, if it gets updated to a new version)

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Updating texlive?
  2012-11-27 22:07 ` Mojca Miklavec
  2012-11-27 22:15   ` Hans Hagen
@ 2012-11-27 23:20   ` Martin Schröder
  2012-11-27 23:39     ` Mojca Miklavec
  1 sibling, 1 reply; 8+ messages in thread
From: Martin Schröder @ 2012-11-27 23:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2012/11/27 Mojca Miklavec <mojca.miklavec.lists@gmail.com>:
> What exactly do you mean with a canonical way? The most reliable way

How about delivering a new version through tlcontrib?

Best
   Martin
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Updating texlive?
  2012-11-27 23:20   ` Martin Schröder
@ 2012-11-27 23:39     ` Mojca Miklavec
  2012-11-28  0:38       ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Mojca Miklavec @ 2012-11-27 23:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Nov 28, 2012 at 12:20 AM, Martin Schröder wrote:
> 2012/11/27 Mojca Miklavec:
>> What exactly do you mean with a canonical way? The most reliable way
>
> How about delivering a new version through tlcontrib?

Doable***, but a new beta is usually released several times per day
(and sometimes doesn't even compile the format).

There is one extra prerequisite though: it would have to be marked as
highly experimental. Not everyone who decides to add tlcontrib to the
list of repositories should get the latest beta every few hours. This
feature is or was on Taco's TODO list on my request, but putting
ConTeXt modules into TLContrib structure currently has a much higher
priority than this feature.

It might be a lot easier/faster to simply create a second repository
with just ConTeXt betas.

Mojca

*** if TLContrib doesn't run out of disk space after storing all the
ConTeXt versions into SVN ;) ;) ;)
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Updating texlive?
  2012-11-27 23:39     ` Mojca Miklavec
@ 2012-11-28  0:38       ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2012-11-28  0:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 11/28/2012 12:39 AM, Mojca Miklavec wrote:
> On Wed, Nov 28, 2012 at 12:20 AM, Martin Schröder wrote:
>> 2012/11/27 Mojca Miklavec:
>>> What exactly do you mean with a canonical way? The most reliable way
>>
>> How about delivering a new version through tlcontrib?
>
> Doable***, but a new beta is usually released several times per day
> (and sometimes doesn't even compile the format).

Not that often, does it? Making formats is part of making the zip so it 
only fails when i forgot to add a file to the zip (in which case on my 
machine the file from my local tree is taken).

> There is one extra prerequisite though: it would have to be marked as
> highly experimental. Not everyone who decides to add tlcontrib to the
> list of repositories should get the latest beta every few hours. This
> feature is or was on Taco's TODO list on my request, but putting
> ConTeXt modules into TLContrib structure currently has a much higher
> priority than this feature.

indeed. updating tlcontrib can happen with a low frequency (also because 
sometimes betas are real betas with new features)

> It might be a lot easier/faster to simply create a second repository
> with just ConTeXt betas.

personally i always use special trees for projects that I inly update
when i need a new feature

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-28  0:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-27 21:46 Updating texlive? Thomas A. Schmitz
2012-11-27 22:06 ` Hans Hagen
2012-11-27 22:16   ` Thomas A. Schmitz
2012-11-27 22:07 ` Mojca Miklavec
2012-11-27 22:15   ` Hans Hagen
2012-11-27 23:20   ` Martin Schröder
2012-11-27 23:39     ` Mojca Miklavec
2012-11-28  0:38       ` Hans Hagen

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