ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Alan BRASLAU <alan.braslau@cea.fr>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with latest beta: \placepublications
Date: Thu, 30 Sep 2010 23:09:52 +0200	[thread overview]
Message-ID: <4CA4FCA0.8000602@wxs.nl> (raw)
In-Reply-To: <201009302300.51582.alan.braslau@cea.fr>

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


  reply	other threads:[~2010-09-30 21:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 21:00 Alan BRASLAU
2010-09-30 21:09 ` Hans Hagen [this message]
2010-10-01 14:12   ` Thomas A. Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA4FCA0.8000602@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).