ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to use \setupitemgroup?
@ 2017-02-04 21:41 Csikos Bela
  2017-02-04 22:13 ` Thomas A. Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: Csikos Bela @ 2017-02-04 21:41 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1954 bytes --]

Dear context users:

I have troubles using \setupitemgroup. I tried to use it based on the
contextgarden wiki page (http://wiki.contextgarden.net/Command/setupitemgroup),
 description, but either my understanding how to use it is not correct or the
command doesn't behave as described on the wiki page.

In the following example I want the items to be in a numbered, packed list, where the
item numbers are followed by ), like 1) 2) etc. If I don't add stopper=) option, I get
a numbered list, but it's not packed. If I add stopper=), the list becomes an unnumbered
list, but packed. I use context standalone ConTeXt  ver: 2016.09.24 12:40 MKIV beta.
I attach the resulted pdfs.

What do I do wrong?

Thanks,

bcsikos


example code:

\definefontfamily[docu][rm][Tex Gyre Heros] % I want to use ss fonts only
\setupbodyfont[docu,12pt]
\setuppagenumbering[state=stop]
\setupitemgroup[itemize][each][packed,joinedup][n] % or use this:
%\setupitemgroup[itemize][each][packed,joinedup][n,stopper=)]
\starttext

\startalignment[middle]
{\tfa PINK FLOYD}

{\tfa The Wall}
\stopalignment
\blank

{\bf Compact Disc 1}

\startitemize
\item In The Flesh?	3:19
\item The Thin Ice	2:29
\item Another Brick In The Wall (Part 1)	3:09
\item The Happiest Days Of Our Lives	1:50
\item Another Brick In The Wall (Part 2)	3:59
\item Mother	5:33
\item Goodbye Blue Sky	2:47
\item Empty Spaces	2:08
\item Young Lust	3:31
\item One Of My Turns	3:36
\item Don't Leave Me Now	4:16
\item Another Brick In The Wall (Part 3)	1:14
\item Goodbye Cruel World	1:15
\stopitemize
\blank

{\bf Compact Disc 2}

\startitemize
\item Hey You	4:41
\item Is There Anybody Out There?	2:40
\item Nobody Home	3:24
\item Vera	1:33
\item Bring The Boys Back Home	1:27
\item Comfortably Numb	6:21
\item The Show Must Go On	1:36
\item In The Flesh	4:16
\item Run Like Hell	4:23
\item Waiting For The Worms	3:58
\item Stop	0:30
\item The Trial	5:19
\item Outside The Wall	1:43
\stopitemize

\stoptext

[-- Attachment #2: itemize-example1a.pdf --]
[-- Type: application/pdf, Size: 12336 bytes --]

[-- Attachment #3: itemize-example1b.pdf --]
[-- Type: application/pdf, Size: 12149 bytes --]

[-- Attachment #4: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-04 23:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-04 21:41 How to use \setupitemgroup? Csikos Bela
2017-02-04 22:13 ` Thomas A. Schmitz
2017-02-04 22:55   ` Csikos Bela
2017-02-04 23:18     ` Thomas A. Schmitz

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).