Re: [NTG-context] sample={99}

2006-07-11 Thread Peter Münster
On Sat, 8 Jul 2006, David Arnold wrote:

 Was I surprised to find that my numbering went to multiples of 2 when  
 I added the option sample={99}. Is this a bug?

Hello,
it's always a nice exercise to create a minimal example, that shows the
problem:

\defineenumeration[question][width=fit,sample=9]
\starttext
\dorecurse{10}{\startquestion bla\stopquestion}
\stoptext

So it's perhaps just ConTeXt's way to say, that width=fit and sample=...
are contradictory.
But anyway: it seems that the sample option is completely broken, or I don't
understand it's meaning.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] sample={99}

2006-07-08 Thread David Arnold
All,

Was I surprised to find that my numbering went to multiples of 2 when  
I added the option sample={99}. Is this a bug?

\defineenumeration
[question]
[text=,]

\setupenumerations
[question]
[location=left,
width=fit,
 distance=1em,
 hang=2,
 sample={99},
 margin=0pt,
headcolor=green,
right=.,
way=bysection,
sectionnumber=no]

\setupcolumns[page=no]

\starttext

\startcolumns[n=2]

\noindent Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county.

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\noindent Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county.
\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startcolumns[n=2]

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\stopcolumns

\stoptext

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context