ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Pessotto <melmothx@gmail.com>
To: ntg-context@ntg.nl
Subject: \placelist and \writetolist
Date: Tue, 13 Dec 2011 11:41:02 +0100	[thread overview]
Message-ID: <87aa6wycsh.fsf@universe.krase.net> (raw)


Hello!

I can't understand what I'm doing wrong here:

%%%%%

\setuplist[mylist]
          [alternative=c,
            width=0mm,
            style=\tfx,
            criterium=all]

\starttext

\placelist[mylist]

\page[yes]

\input knuth

\writetolist[mylist]{}{Item}

\stoptext
%%%%% 

The document compiles fine with version 2011.05.18 22:2, but it fails
miserably with the latest (2011.11.29 23:11)
! Missing number, treated as zero.

system          > tex > error on line 11 in file prova.tex: Missing number, treated as zero ...

 1     \setuplist[mylist]
 2               [alternative=c,
 3                 width=0mm,
 4                 style=\tfx,
 5                 criterium=all]
 6     
 7     
 8     \starttext
 9     
10     \placelist[mylist]
11 >>  
12     \page[yes]
13     
14     \input knuth
15     
16     \writetolist[mylist]{}{Item}
17     
18     \stoptext

<to be read again> 
                   ,
\doplacestructurelist ...um = "#2", number = "#3",
                                                   extras = "#4", order = "#...
\doplacerawlist ...ras }{\listparameter \c!order }
                                                  \stoplistreferences \endgr...
\doplacelist ...ginoflist \doplacerawlist [#1][#2]
                                                  \doendoflist 
\dodoubleemptyonespaced #1#2->#1[{#2}][]
                                         
<to be read again> 
                   \par 
l.11 
     
? H
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Thanks in advance.

-- 
Marco

___________________________________________________________________________________
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:[~2011-12-13 10:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 10:41 Marco Pessotto [this message]
2011-12-13 11:28 ` Wolfgang Schuster
2011-12-13 11:43   ` Marco Pessotto

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=87aa6wycsh.fsf@universe.krase.net \
    --to=melmothx@gmail.com \
    --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).