[NTG-context] Stable versions of MkIV

Hans Hagen pragma at wxs.nl
Tue Aug 21 11:48:06 CEST 2012


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


More information about the ntg-context mailing list