On Sat, Nov 1, 2008 at 3:00 PM, Yue Wang <[EMAIL PROTECTED]> wrote:

> after a closer look, i think
> line 9014 today=os.date makes today a function.
> however, the function is not a meta-table, so that there is no entry
> named today.month and today.day.
>
> On Sat, Nov 1, 2008 at 1:54 PM, Yue Wang <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > The egg works in mkii, but not mkiv. Here is the log:
> >
> >
> > mkiv lua stats : used config path          -
> > /usr/home/yue/context/tex/texmf/web2c/texmf.cnf
> > mkiv lua stats : used cache path           -
> > /usr/home/yue/context/tex/texmf-cache
> > mkiv lua stats : modules/dumps/instances   - 93/25/1
> > mkiv lua stats : input load time           - 0.031 seconds
> > mkiv lua stats : startup time              - 1.145 seconds (including
> > runtime option file processing)
> > mkiv lua stats : jobdata time              - 0.001 seconds saving,
> > 0.001 seconds loading
> > mkiv lua stats : fonts load time           - 3.882 seconds
> > mkiv lua stats : xml load time             - 0.000 seconds, lpath
> > calls: 0, cached calls: 0
> > mkiv lua stats : lxml load time            - 0.000 seconds
> > preparation, backreferences: 0
> > mkiv lua stats : mps conversion time       - 0.000 seconds
> > mkiv lua stats : node processing time      - 0.456 seconds including
> kernel
> > mkiv lua stats : kernel processing time    - 0.015 seconds
> > mkiv lua stats : attribute processing time - 0.155 seconds
> > mkiv lua stats : language load time        - 0.092 seconds, n=2
> > mkiv lua stats : graphics processing time  - 0.067 seconds including tex,
> n=24
> > mkiv lua stats : metapost processing time  - 0.000 seconds, loading:
> > 0.000 seconds, execution: 0.000 seconds, n: 0
> > mkiv lua stats : current memory usage      - 134 MB (ctx: 137 MB)
> > mkiv lua stats : cleaned up reserved nodes - 37 nodes, 10 lists of 100
> > mkiv lua stats : node memory usage         - 144 attribute, 20
> > glue_spec, 48 attribute_list, 48 local_par, 2 dir
> > mkiv lua stats : loaded patterns           - us:us:pat:exc:2
> > mkiv lua stats : loaded fonts              - AdobeSongStd-Light:otf
> > MinionPro-Bold:otf MinionPro-It:otf MinionPro-Regular:otf
> > MyriadPro-Bold:otf MyriadPro-Regular:otf TektonPro-Regular:otf
> > lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmroman10-bolditalic:otf
> > lmroman10-italic:otf lmroman12-bold:otf lmroman12-italic:otf
> > lmroman12-regular:otf lmroman7-bold:otf lmroman7-regular:otf
> > lmroman9-bold:otf lmroman9-italic:otf lmroman9-regular:otf
> > lmromancaps10-regular:otf lmromanslant10-bold:otf
> > lmromanslant10-regular:otf lmromanslant12-regular:otf
> > lmromanslant9-regular:otf lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm
> > msam7:tfm msbm10:tfm msbm7:tfm rm-lmr12:tfm rm-lmr7:tfm rm-lmr9:tfm
> > mkiv lua stats : control sequences         - 39329 of 165536
> > mkiv lua stats : callbacks                 - direct: 13639, indirect:
> > 24505, total: 38144 (1362 per page)
> > mkiv lua stats : runtime                   - 7.124 seconds, 28
> > processed pages, 28 shipped pages, 3.930 pages/second
> >
> > MtxRun | total runtime: 7.567
> >
> > /usr/home/yue/context/tex/texmf-freebsd/bin/mtxrun:9016: attempt to
> > index global 'today' (a function value)
> >
> > [EMAIL PROTECTED] ~/ps]$ uname -a
> > FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Nov  1
> > 13:33:53 UTC 2008     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL  i386
> >
> >
> > I think it is not urgent, but I'd like to celebrate Hans' birthday!
> >
> > Yue Wang
> >
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : [email protected] /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

Near the end
Errata
today = os.date


Corrige
today = os.date("*t")

-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to