ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* sample={99}
@ 2006-07-08  7:28 David Arnold
  2006-07-11 17:20 ` sample={99} Peter Münster
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2006-07-08  7:28 UTC (permalink / raw)


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

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

* Re: sample={99}
  2006-07-08  7:28 sample={99} David Arnold
@ 2006-07-11 17:20 ` Peter Münster
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Münster @ 2006-07-11 17:20 UTC (permalink / raw)


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/

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

end of thread, other threads:[~2006-07-11 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-08  7:28 sample={99} David Arnold
2006-07-11 17:20 ` sample={99} Peter Münster

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