Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've defined my item groups as:

\defineitemgroup[institm]
 \setupitemgroup[institm][1][text][symbol=2, indentnext=no, ]

And

\startinstitm
{\bf Contributors }     
\item Foo Pty Ltd {\sc nsw}
\item Bar Pty Ltd {\sc vic}
\stopinstitm

This produces a very lovely "block" of text. However, the "random" command does not seem to be working in version: 2012.05.30 11:26 Is it worth the effort of moving away from TeXlive to get the random command working?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

To randomize itemize you need to enclose each item in a \startitem ... \stopitem. For example (I made a few stylistic changes in your code):

\defineitemgroup[institm]

\setupinstitm[1][text, random]
\setupinstitm[1][symbol=2, indentnext=no]

\starttext

\bold{Contributions}
\startinstitm
  \startitem Foo Pvt Ltd {\sc nsw} \stopitem
  \startitem Bar Pvt Ltd {\sc vic} \stopitem
  \startitem Baz Pvt Ltd {\sc abc} \stopitem
\stopinstitm

\stoptext

enter image description here

share|improve this answer
    
How can I remove linebreaks between items with this? –  Brian Ballsun-Stanton Aug 3 '12 at 6:18
    
I am using ConTeXt 2012.07.19 and I don't get any line breaks between items. –  Aditya Aug 3 '12 at 14:40
    
Do you have newlines before the symbols? –  Brian Ballsun-Stanton Aug 3 '12 at 23:21
    
I have added an image showing the result that I get (which actually shows a bug in the randomization)! –  Aditya Aug 4 '12 at 1:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.