Re: [NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread jbf via ntg-context
Don't worry... I've read contextgarden on lots of things and missed more 
than you've ever thought of I reckon! The answer to problems is usually 
in there somewhere, but finding it can be a bit of challenge sometimes.


Julian

On 26/4/23 13:58, Michael Urban via ntg-context wrote:



On Apr 25, 2023, at 8:30 PM, jbf via ntg-context  wrote:


\startitemize[continue]% THIS SHOULD DO WHAT YOU WANT


Wow, thanks.  I must have read that 'Enumerations' contextgarden wiki page a 
half dozen times and missed it anyway.

Mike

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread Michael Urban via ntg-context



> On Apr 25, 2023, at 8:30 PM, jbf via ntg-context  wrote:
> 
> 
> \startitemize[continue]% THIS SHOULD DO WHAT YOU WANT


Wow, thanks.  I must have read that 'Enumerations' contextgarden wiki page a 
half dozen times and missed it anyway.

Mike

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread jbf via ntg-context

\startitemize[continue]% THIS SHOULD DO WHAT YOU WANT

\item Picking up where we left off.

\item And all is well.

\stopitemize

Julian

On 26/4/23 13:21, Michael Urban via ntg-context wrote:

I am trying to have two numbered itemizations, with a paragraph in between, 
such that the second list starts where the first left off, without having to 
manually calculate the new start point.  The following does not work, and I do 
not understand why.

Mike


\starttext
\definecounter[mynumber][]
\startitemize[n]
\item The first item.
\item The second item
\item Item number \currentitemnumber{}, the last one.
\setcounter[mynumber][\currentitemnumber]
\stopitemize

The \type{\getnumber[mynumber]} value is \getnumber[mynumber].
\incrementcounter[mynumber]

And now the big finish, start at \getnumber[mynumber]:
\startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL?
\item Picking up where we left off.

\item And all is well.
\stopitemize
Done!
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist :ntg-context@ntg.nl  /https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  :https://www.pragma-ade.nl  /http://context.aanhet.net
archive  :https://bitbucket.org/phg/context-mirror/commits/
wiki :https://contextgarden.net
__
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread Michael Urban via ntg-context
I am trying to have two numbered itemizations, with a paragraph in between, 
such that the second list starts where the first left off, without having to 
manually calculate the new start point.  The following does not work, and I do 
not understand why.

Mike


\starttext
\definecounter[mynumber][]
\startitemize[n]
\item The first item.
\item The second item
\item Item number \currentitemnumber{}, the last one.
\setcounter[mynumber][\currentitemnumber]
\stopitemize

The \type{\getnumber[mynumber]} value is \getnumber[mynumber].
\incrementcounter[mynumber]

And now the big finish, start at \getnumber[mynumber]:
\startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL? 
\item Picking up where we left off.

\item And all is well.
\stopitemize
Done!
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___