[NTG-context] \placelist and \writetolist
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 ___
Re: [NTG-context] \placelist and \writetolist
Am 13.12.2011 um 11:41 schrieb Marco Pessotto: 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) Replace \setuplist with \definelist, before you use a list you should create it. Wolfgang ___ 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] \placelist and \writetolist
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Replace \setuplist with \definelist, before you use a list you should create it. I knew I was missing something obvious... Thanks a lot, it works. Best wishes -- 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 ___