ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Stable versions of MkIV
@ 2012-08-20 16:26 Sietse Brouwer
  2012-08-21  6:42 ` Mojca Miklavec
  2012-08-21  9:34 ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Sietse Brouwer @ 2012-08-20 16:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

The "current stable" MkIV, the MkIV on the wiki, and the MkIV in TeX
Live are quite different things.

MkIV 2011.005.18 -- result of first-setup.sh --current
MkIV 2011.10.008 -- version on the wiki
MkIV 2012.005.29 -- version in TeX Live 2012, AFAICT (Mojca?)

1. Why not declare the version in TeX Live to be stable? I know Mojca
puts some work into making it as bug-free as possible.

2. Perhaps have the MkIV on the wiki track the MkIV in TeXlive? We can
show off reasonably-recent features, it looks more up-to-date, it's a
nice clear answer to "should we update already?", and it ensures that
we update to reasonably bug-free versions.

3. Is there a list of past stable versions somewhere? I can't find
one, and without it the ability to go to a specific stable version
with
`sh ./first-setup.sh --context=date` seems a bit useless. (Can't
really imagine a use in general, though.)

4. (Less important.) context.mkiv defines \contextversion as e.g.
`2012.08.11 14:11`, but \contextversionnumber in mult-ini.mkiv still
prepends a zero to the month or day. (It checks whether 08 < 10, which
is true even if the leading zero is present.) This causes the extra
zeros you saw in the version numbers above. Can this be changed
without breakage ensuing? I expect that nobody depends on it over the
more direct \contextversion. (People that do use \contextversionnumber
have a problem anyway, because the version strings it produces in
October-December will always turn out 'earlier/older' than the ones
produced in January-September, regardless of year.)

Cheers,
Sietse
___________________________________________________________________________________
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] 7+ messages in thread

* Re: Stable versions of MkIV
  2012-08-20 16:26 Stable versions of MkIV Sietse Brouwer
@ 2012-08-21  6:42 ` Mojca Miklavec
  2012-08-21  7:04   ` Wolfgang Schuster
  2012-08-21  9:41   ` Hans Hagen
  2012-08-21  9:34 ` Hans Hagen
  1 sibling, 2 replies; 7+ messages in thread
From: Mojca Miklavec @ 2012-08-21  6:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Aug 20, 2012 at 6:26 PM, Sietse Brouwer wrote:
> Hi all,
>
> The "current stable" MkIV, the MkIV on the wiki, and the MkIV in TeX
> Live are quite different things.
>
> MkIV 2011.005.18 -- result of first-setup.sh --current
> MkIV 2011.10.008 -- version on the wiki
> MkIV 2012.005.29 -- version in TeX Live 2012, AFAICT (Mojca?)

Usually it works better if you CC me since there are a lot of emails I
recently skip reading (based on subject).

> 1. Why not declare the version in TeX Live to be stable? I know Mojca
> puts some work into making it as bug-free as possible.

It was Hans who has put the work into it, but I don't know why he
didn't release a public "current" release. I applied some minor
patches over 2012.05.29 based on later ConTeXt version, so it's not
*exactly* that version, but I had no idea what to do about the date.

I have no idea how Hans uploads current versions, but I could make a
zip, upload it to CTAN and make it available as current in minimals.
(If I forget to do that in less than a week, please remind me.)

> 3. Is there a list of past stable versions somewhere?

Probably the best answer would be the (unofficial) git repository:
    http://gitorious.org/context/context
I also have a repository on
    https://github.com/mojca/context
It's not updated though - I update from gitorious from time to time,
but not automatically. I tried to make sure that even the oldest
version have some consistency.

> I can't find
> one, and without it the ability to go to a specific stable version
> with
> `sh ./first-setup.sh --context=date` seems a bit useless. (Can't
> really imagine a use in general, though.)

http://minimals.contextgarden.net/current/context/

Some time ago a new stable version came out at least once per week and
betas were rare, for testing features. I think that we asked Hans not
to release "current" versions with testing features so often, so that
people don't end up with broken ConTeXt. As a consequence he started
releasing betas with that pace, but sadly he forgets to release
current versions every now and then :(

But anyway, manually interfering and making sure that the same version
as in TeX Live ends up in minimals (and on the wiki) would not be such
a bad idea.

> 4. (Less important.) context.mkiv defines \contextversion as e.g.
> `2012.08.11 14:11`, but \contextversionnumber in mult-ini.mkiv still
> prepends a zero to the month or day. (It checks whether 08 < 10, which
> is true even if the leading zero is present.) This causes the extra
> zeros you saw in the version numbers above. Can this be changed
> without breakage ensuing?

That's for Hans or Wolfgang ...

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] 7+ messages in thread

* Re: Stable versions of MkIV
  2012-08-21  6:42 ` Mojca Miklavec
@ 2012-08-21  7:04   ` Wolfgang Schuster
  2012-08-21  9:48     ` Hans Hagen
  2012-08-21  9:41   ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2012-08-21  7:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.08.2012 um 08:42 schrieb Mojca Miklavec <mojca.miklavec.lists@gmail.com>:

> On Mon, Aug 20, 2012 at 6:26 PM, Sietse Brouwer wrote:
>> Hi all,
>> 
>> The "current stable" MkIV, the MkIV on the wiki, and the MkIV in TeX
>> Live are quite different things.
>> 
>> MkIV 2011.005.18 -- result of first-setup.sh --current
>> MkIV 2011.10.008 -- version on the wiki
>> MkIV 2012.005.29 -- version in TeX Live 2012, AFAICT (Mojca?)
> 
> Usually it works better if you CC me since there are a lot of emails I
> recently skip reading (based on subject).
> 
>> 1. Why not declare the version in TeX Live to be stable? I know Mojca
>> puts some work into making it as bug-free as possible.
> 
> It was Hans who has put the work into it, but I don't know why he
> didn't release a public "current" release. I applied some minor
> patches over 2012.05.29 based on later ConTeXt version, so it's not
> *exactly* that version, but I had no idea what to do about the date.
> 
> I have no idea how Hans uploads current versions, but I could make a
> zip, upload it to CTAN and make it available as current in minimals.
> (If I forget to do that in less than a week, please remind me.)
> 
>> 3. Is there a list of past stable versions somewhere?
> 
> Probably the best answer would be the (unofficial) git repository:
>    http://gitorious.org/context/context
> I also have a repository on
>    https://github.com/mojca/context
> It's not updated though - I update from gitorious from time to time,
> but not automatically. I tried to make sure that even the oldest
> version have some consistency.
> 
>> I can't find
>> one, and without it the ability to go to a specific stable version
>> with
>> `sh ./first-setup.sh --context=date` seems a bit useless. (Can't
>> really imagine a use in general, though.)
> 
> http://minimals.contextgarden.net/current/context/
> 
> Some time ago a new stable version came out at least once per week and
> betas were rare, for testing features. I think that we asked Hans not
> to release "current" versions with testing features so often, so that
> people don't end up with broken ConTeXt. As a consequence he started
> releasing betas with that pace, but sadly he forgets to release
> current versions every now and then :(
> 
> But anyway, manually interfering and making sure that the same version
> as in TeX Live ends up in minimals (and on the wiki) would not be such
> a bad idea.
> 
>> 4. (Less important.) context.mkiv defines \contextversion as e.g.
>> `2012.08.11 14:11`, but \contextversionnumber in mult-ini.mkiv still
>> prepends a zero to the month or day. (It checks whether 08 < 10, which
>> is true even if the leading zero is present.) This causes the extra
>> zeros you saw in the version numbers above. Can this be changed
>> without breakage ensuing?
> 
> That's for Hans or Wolfgang …

\ifx\contextversion\undefined
    \def\contextversion      {unknown}
    \def\contextversionnumber{0}
\else
   %\def\contextversionnumber#1.#2.#3 #4:#5\relax{#1\ifnum#2<10 0\fi#2\ifnum#3<10 0\fi#3 #4:#5}
	\def\contextversionnumber#1.#2.#3 #4:#5\relax{#1\ifnum#2<10 0\fi\purenumber{#2}\ifnum#3<10 0\fi\purenumber{#3} #4:#5}
    \edef\contextversionnumber{\expandafter\contextversionnumber\contextversion\relax\space\contextmark}
\fi

\starttext
\contextversionnumber
\stoptext

Wolfgang
___________________________________________________________________________________
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] 7+ messages in thread

* Re: Stable versions of MkIV
  2012-08-20 16:26 Stable versions of MkIV Sietse Brouwer
  2012-08-21  6:42 ` Mojca Miklavec
@ 2012-08-21  9:34 ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2012-08-21  9:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 20-8-2012 18:26, Sietse Brouwer wrote:

> The "current stable" MkIV, the MkIV on the wiki, and the MkIV in TeX
> Live are quite different things.
>
> MkIV 2011.005.18 -- result of first-setup.sh --current
> MkIV 2011.10.008 -- version on the wiki
> MkIV 2012.005.29 -- version in TeX Live 2012, AFAICT (Mojca?)
>
> 1. Why not declare the version in TeX Live to be stable? I know Mojca
> puts some work into making it as bug-free as possible.

Yes, that was the idea .. at the same time mojca was setting up a git 
repository and we wanted to synchronize the stable and repository launch 
.. we're just too busy I guess.

So, I have no problem with promoting the tl version to current.

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] 7+ messages in thread

* Re: Stable versions of MkIV
  2012-08-21  6:42 ` Mojca Miklavec
  2012-08-21  7:04   ` Wolfgang Schuster
@ 2012-08-21  9:41   ` Hans Hagen
  2012-08-21 16:55     ` Sietse Brouwer
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2012-08-21  9:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 21-8-2012 08:42, Mojca Miklavec wrote:

> Some time ago a new stable version came out at least once per week and
> betas were rare, for testing features. I think that we asked Hans not
> to release "current" versions with testing features so often, so that
> people don't end up with broken ConTeXt. As a consequence he started
> releasing betas with that pace, but sadly he forgets to release
> current versions every now and then :(

I know .. the problem is that I am cleaning up all the code (the status 
can be seen in status-mkiv.pdf) and have to find a moment of stability 
as such a cleanup is often leading to temporsry issues (due to renaming)

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] 7+ messages in thread

* Re: Stable versions of MkIV
  2012-08-21  7:04   ` Wolfgang Schuster
@ 2012-08-21  9:48     ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2012-08-21  9:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster

On 21-8-2012 09:04, Wolfgang Schuster wrote:

>> That's for Hans or Wolfgang …
>
> \ifx\contextversion\undefined
>      \def\contextversion      {unknown}
>      \def\contextversionnumber{0}
> \else
>     %\def\contextversionnumber#1.#2.#3 #4:#5\relax{#1\ifnum#2<10 0\fi#2\ifnum#3<10 0\fi#3 #4:#5}
> 	\def\contextversionnumber#1.#2.#3 #4:#5\relax{#1\ifnum#2<10 0\fi\purenumber{#2}\ifnum#3<10 0\fi\purenumber{#3} #4:#5}
>      \edef\contextversionnumber{\expandafter\contextversionnumber\contextversion\relax\space\contextmark}
> \fi
>
> \starttext
> \contextversionnumber
> \stoptext

fixed

-----------------------------------------------------------------
                                           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] 7+ messages in thread

* Re: Stable versions of MkIV
  2012-08-21  9:41   ` Hans Hagen
@ 2012-08-21 16:55     ` Sietse Brouwer
  0 siblings, 0 replies; 7+ messages in thread
From: Sietse Brouwer @ 2012-08-21 16:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On Tue, Aug 21, 2012 at 11:41 AM, Hans Hagen <pragma@wxs.nl> wrote:
>
> I know .. the problem is that I am cleaning up all the code (the status can
> be seen in status-mkiv.pdf) and have to find a moment of stability as such a
> cleanup is often leading to temporsry issues (due to renaming)

no status-mkiv.pdf in the directory; status-mkiv.tex doesn't compile
because status-namespaces.lua and status-registers.lua don't exist
yet. commenting those sections out solves the problem, or if you want
to get fancy there's a patch below that checks if the files exist.

Cheers,
Sietse

    context.starttitle { title = "messy namespaces" }

-     local namespaces = dofile("status-namespaces.lua")
+    local namespaces = io.exists("status-namespaces.lua") and
+        dofile("status-namespaces.lua") or { }
+
+    if not io.exists("status-namespaces.lua") then
+        context("\\type{status-namespaces.lua} does not exist yet.")
+    end

    for namespace, data in table.sortedhash(namespaces) do
        if valid[namespace] then
        else
            context(namespace)
        end
        context.par()
    end

    context.stoptitle()

    context.starttitle { title = "messy registers" }

-     local namespaces = dofile("status-registers.lua")
+    local registers = io.exists("status-registers.lua") and
+        dofile("status-registers.lua") or { }
+
+    if not io.exists("status-registers.lua") then
+        context("\\type{status-registers.lua} does not exist yet.")
+    end
___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2012-08-21 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-20 16:26 Stable versions of MkIV Sietse Brouwer
2012-08-21  6:42 ` Mojca Miklavec
2012-08-21  7:04   ` Wolfgang Schuster
2012-08-21  9:48     ` Hans Hagen
2012-08-21  9:41   ` Hans Hagen
2012-08-21 16:55     ` Sietse Brouwer
2012-08-21  9:34 ` 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).