ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Numbered Itemlist With Interruption
@ 2023-04-26  3:21 Michael Urban via ntg-context
  2023-04-26  3:30 ` jbf via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Urban via ntg-context @ 2023-04-26  3:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Michael Urban

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
___________________________________________________________________________________

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

end of thread, other threads:[~2023-04-26  4:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-26  3:21 [NTG-context] Numbered Itemlist With Interruption Michael Urban via ntg-context
2023-04-26  3:30 ` jbf via ntg-context
2023-04-26  3:58   ` Michael Urban via ntg-context
2023-04-26  4:22     ` jbf via ntg-context

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