[NTG-context] Problem with latest beta: \placepublications

Hans Hagen pragma at wxs.nl
Thu Sep 30 23:09:52 CEST 2010


On 30-9-2010 11:00, Alan BRASLAU wrote:
> Thanks to the course given by Taco, I now know all about 'nil'...
> However, I did not track down the error, as Hans will find it immediately!

ah, I wanted to log off but you force me to check it now ...

in strc-lst.mkiv patch

\unexpanded\def\analyzestructurelist#1#2#3%
   {\ctxlua{structures.lists.analyze {
         names     = "#1",
         criterium = "#2",
         number    = "#3",
    }}}

untested of course

> Alan
>
> ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/strc-lst.lua:195:
> bad argument #1 to 'gsub' (string expected, got nil)
> stack traceback:
>          [C]: in function 'gsub'
>          ...beta/tex/texmf-context/tex/context/base/strc-lst.lua:195: in
> function<...beta/tex/texmf-context/tex/context/base/strc-lst.lua:192>
>          (tail call): ?
>          ...beta/tex/texmf-context/tex/context/base/strc-lst.lua:392: in
> function 'analyze'
>          <main ctx instance>:1: in main chunk.
>
> system>  error on line 133 in file Livre.tex: LuaTeX error  ...
>
> 133>>    \placepublications [criterium=all]


-- 

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