* symbol parameter of \setuplist
@ 2005-04-11 5:40 David Munger
2005-04-11 7:25 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: David Munger @ 2005-04-11 5:40 UTC (permalink / raw)
Hello,
I fear I cannot figure out what is the meaning of the `symbol' parameter
of \setuplist. From all the documentation or mailing list archives, the
only use I can find is "symbol=1".
Is there a way to use it to draw bullets, say, before each list item,
like those in the itemize environment? If not, what would be the best
way of achieving this? With \placelist[command=...] maybe?
Regards,
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: symbol parameter of \setuplist
2005-04-11 5:40 symbol parameter of \setuplist David Munger
@ 2005-04-11 7:25 ` Hans Hagen
2005-04-11 13:34 ` David Munger
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2005-04-11 7:25 UTC (permalink / raw)
David Munger wrote:
> Hello,
>
> I fear I cannot figure out what is the meaning of the `symbol' parameter
> of \setuplist. From all the documentation or mailing list archives, the
> only use I can find is "symbol=1".
>
> Is there a way to use it to draw bullets, say, before each list item,
> like those in the itemize environment? If not, what would be the best
> way of achieving this? With \placelist[command=...] maybe?
in my version:
\starttext
\def\MyListSymbol {!}
\def\AnotherListSymbol{[\currentlistnumber]}
\definesymbol[list][mine] [\MyListSymbol]
\definesymbol[list][another][\AnotherListSymbol]
\placelist[section][symbol=one]
\placelist[section][symbol=mine]
\placelist[section][symbol=another]
\section{one}
\section{two}
\stoptext
-----------------------------------------------------------------
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: symbol parameter of \setuplist
2005-04-11 7:25 ` Hans Hagen
@ 2005-04-11 13:34 ` David Munger
0 siblings, 0 replies; 3+ messages in thread
From: David Munger @ 2005-04-11 13:34 UTC (permalink / raw)
> \definesymbol[list][mine] [\MyListSymbol]
> \definesymbol[list][another][\AnotherListSymbol]
^^^^
Aha! My code lacked the `list' parameter after \definesymbol.
Thanks Hans.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-11 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 5:40 symbol parameter of \setuplist David Munger
2005-04-11 7:25 ` Hans Hagen
2005-04-11 13:34 ` David Munger
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).