From: Michael Urban via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Michael Urban <urban.m@ca.rr.com>
Subject: [NTG-context] Numbered Itemlist With Interruption
Date: Tue, 25 Apr 2023 20:21:02 -0700 [thread overview]
Message-ID: <75A21E06-84AA-4224-82B8-5E7C833BE8CB@ca.rr.com> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2023-04-26 3:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-26 3:21 Michael Urban via ntg-context [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=75A21E06-84AA-4224-82B8-5E7C833BE8CB@ca.rr.com \
--to=ntg-context@ntg.nl \
--cc=urban.m@ca.rr.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).