Re: [NTG-context] \itemize[random] does not work

2009-03-01 Thread Wolfgang Schuster
On Sun, Mar 1, 2009 at 7:46 PM, Hans Hagen wrote: > i'd rather try to figure out why the initialization fails; i noticed it a > while ago, but couldn't find the reason Don't know why this happens with the randomizer in thrd-ran.tex but it's easy to solve it in supp-ran.tex Line 72 is '\ifx\norm

Re: [NTG-context] \itemize[random] does not work

2009-03-01 Thread Hans Hagen
Wolfgang Schuster wrote: Am 27.02.2009 um 22:22 schrieb Aditya Mahajan: I've also noticed a strange thing: the first item always is the first - it won't get mixed with the others. There is a bug somewhere in the initialization of the random number generator. The first random number is alway

Re: [NTG-context] \itemize[random] does not work

2009-03-01 Thread Wolfgang Schuster
Am 27.02.2009 um 22:22 schrieb Aditya Mahajan: I've also noticed a strange thing: the first item always is the first - it won't get mixed with the others. There is a bug somewhere in the initialization of the random number generator. The first random number is always 1. An easy work aroun

Re: [NTG-context] \itemize[random] does not work

2009-03-01 Thread batela
For multiple choice you can try: http://fourier.math.uoc.gr/~mk/much/example/ see: [NTG-context] create and grade multiple choice exams with MUCH an ConTeXT have a nice day Em 27/02/2009, às 10:45, Curious Learn escreveu: I was not aware of this cool feature in Context. This could be v

Re: [NTG-context] \itemize[random] does not work

2009-03-01 Thread Curious Learn
Aditya Mahajan umich.edu> writes: > \defineitemgroup[choices] > > \startmode[random] >\setupitemgroup[choices][1][random] >\nextrandom % to get rid of the randomize bug > \stopmode > Compile this file with "texexec --mode=random " to get random choices, > compile without --mode=... to

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Aditya Mahajan
On Fri, 27 Feb 2009, Curious Learn wrote: I was not aware of this cool feature in Context. This could be very useful in making multiple choice tests. I have one question. Is there a simple way in which one can switch between itemized lists that are random and non-random? For example, if I have 4

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Curious Learn
I was not aware of this cool feature in Context. This could be very useful in making multiple choice tests. I have one question. Is there a simple way in which one can switch between itemized lists that are random and non-random? For example, if I have 40 multiple choice questions, each of which ha

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Aditya Mahajan
On Fri, 27 Feb 2009, Wolfgang Schuster wrote: 2009/2/27 Marcin Borkowski : Thanks for a speedy response! I've also noticed a strange thing: the first item always is the first - it won't get mixed with the others. This is normal although I have here a document [1] where the first item always

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Wolfgang Schuster
2009/2/27 Marcin Borkowski : > Thanks for a speedy response! > > I've also noticed a strange thing: the first item always is the first - > it won't get mixed with the others. This is normal although I have here a document [1] where the first item always appear between the other items, you can try

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Marcin Borkowski
Dnia Fri, Feb 27, 2009 at 12:25:39PM +0100, Wolfgang Schuster napisał(a): > On Fri, Feb 27, 2009 at 11:57 AM, Marcin Borkowski > wrote: > > Hello, > > > > I've noticed that \startitemize[random] does not mix the items randomly. > > Is it a bug or am I doing something wrong? > > A simple \item is

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Wolfgang Schuster
On Fri, Feb 27, 2009 at 11:57 AM, Marcin Borkowski wrote: > Hello, > > I've noticed that \startitemize[random] does not mix the items randomly. > Is it a bug or am I doing something wrong? A simple \item is not enough, you need a \startitem ... \stopitem pair. Please add a note to the wiki. \sta

[NTG-context] \itemize[random] does not work

2009-02-27 Thread Marcin Borkowski
Hello, I've noticed that \startitemize[random] does not mix the items randomly. Is it a bug or am I doing something wrong? Here's the code (tested on context live): \starttext \startitemize[a,random] \item A \item B \item C \stopitemize \stoptext Regards -- Marcin Borkowski (http://mbork.pl)