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

2010-10-01 Thread Thomas A. Schmitz
Hans Hagen  wxs.nl> writes:

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




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


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

2010-09-30 Thread 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


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'
 :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
-
___
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
___


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

2010-09-30 Thread Alan BRASLAU
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'
:1: in main chunk.

system  > error on line 133 in file Livre.tex: LuaTeX error  ...

133 >>   \placepublications [criterium=all]
___
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
___