* itemize a list
@ 2007-11-05 15:07 Hans van der Meer
2007-11-05 16:05 ` Wolfgang Schuster
2007-11-07 18:19 ` Hans Hagen
0 siblings, 2 replies; 3+ messages in thread
From: Hans van der Meer @ 2007-11-05 15:07 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 1049 bytes --]
It is my intention to place a list inside an itemize, and therefore
prepend a \item before every list item. Thus:
\startitemize
\placelist[Topic][label=no,pagenumber=no,before=\item]}%
\stopitemize
However this doesn't work but instead gives the following error:
! Missing } inserted.
<inserted text>
}
<to be read again>
\endgroup
\stopitemgroup ...xtindentation \fi \fi \endgroup
\doglobal
\decrement (\ite...
\Topics ...enumber=no,before=\item ]}\stopitemize
\def \FirstPage
{Topics}
l.1 \Topics{Synopsis}
? \doendoflist ->\stoppacked
\endgroup
\Topics ...[label=no,pagenumber=no,before=\item ]}
\stopitemize \def
\FirstPa...
Placing the "before=\item" in the \setuplist makes no difference.
Why?
How can I realize the goal: placing the list entries each as an item
in an itemized list?
Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 2409 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: itemize a list
2007-11-05 15:07 itemize a list Hans van der Meer
@ 2007-11-05 16:05 ` Wolfgang Schuster
2007-11-07 18:19 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2007-11-05 16:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1514 bytes --]
2007/11/5, Hans van der Meer <hansm@science.uva.nl>:
>
> It is my intention to place a list inside an itemize, and therefore
> prepend a \item before every list item. Thus:
> \startitemize
> \placelist[Topic][label=no,pagenumber=no,before=\item]}%
> \stopitemize
>
> However this doesn't work but instead gives the following error:
>
> ! Missing } inserted.
> <inserted text>
> }
> <to be read again>
> \endgroup
> \stopitemgroup ...xtindentation \fi \fi \endgroup
> \doglobal \decrement
> (\ite...
>
> \Topics ...enumber=no,before=\item ]}\stopitemize
> \def \FirstPage {Topics}
> l.1 \Topics{Synopsis}
>
> ? \doendoflist ->\stoppacked
> \endgroup
> \Topics ...[label=no,pagenumber=no,before=\item ]}
> \stopitemize \def
> \FirstPa...
>
> Placing the "before=\item" in the \setuplist makes no difference.
> Why?
> How can I realize the goal: placing the list entries each as an item in an
> itemized list?
>
> Hans van der Meer
>
You can play with the following code, sorry but I have at the moment no time
for a better solution.
\starttext
\def\myitemlist#1#2#3%
{\startitemize
\item#1\quad#2\hfill#3
\stopitemize}
\placelist[section][alternative=command,command=\myitemlist]
\dorecurse{30}
{\expanded{\section{Section \recurselevel}}
\input knuth}
\stoptext
Greetings,
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 3282 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: itemize a list
2007-11-05 15:07 itemize a list Hans van der Meer
2007-11-05 16:05 ` Wolfgang Schuster
@ 2007-11-07 18:19 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2007-11-07 18:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans van der Meer wrote:
> It is my intention to place a list inside an itemize, and therefore
> prepend a \item before every list item. Thus:
>
> \startitemize
> \placelist[Topic][label=no,pagenumber=no,before=\item]}%
> \stopitemize
>
> However this doesn't work but instead gives the following error:
>
> ! Missing } inserted.
> <inserted text>
> }
> <to be read again>
> \endgroup
> \stopitemgroup ...xtindentation \fi \fi \endgroup
> \doglobal \decrement
> (\ite...
>
> \Topics ...enumber=no,before=\item ]}\stopitemize
> \def \FirstPage {Topics}
> l.1 \Topics{Synopsis}
>
> ? \doendoflist ->\stoppacked
> \endgroup
> \Topics ...[label=no,pagenumber=no,before=\item ]}
> \stopitemize \def
> \FirstPa...
>
> Placing the "before=\item" in the \setuplist makes no difference.
> Why?
> How can I realize the goal: placing the list entries each as an item in
> an itemized list?
these mechanisms interfere
you may try
\startitemize
\placelist[Topic][label=no,pagenumber=no,before=\startitem,after=\stopitem]
\stopitemize
or hook in a command that does a complete
\startitemize[continue]
\startitem
content
\stopitem
\stopitemize
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-07 18:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-05 15:07 itemize a list Hans van der Meer
2007-11-05 16:05 ` Wolfgang Schuster
2007-11-07 18:19 ` Hans Hagen
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).