Problem with latest beta: \placepublications
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! 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]
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 -----------------------------------------------------------------
Hans Hagen
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
I hit the same problem today, and this patch doesn't solve it. Could you look into it, Hans? All best Thomas
participants (3)
-
Alan BRASLAU
-
Hans Hagen
-
Thomas A. Schmitz