ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: jbf via ntg-context <ntg-context@ntg.nl>
To: Michael Urban via ntg-context <ntg-context@ntg.nl>
Cc: jbf <roma83537@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] Numbered Itemlist With Interruption
Date: Wed, 26 Apr 2023 13:30:06 +1000	[thread overview]
Message-ID: <bcfb627d-e345-daf5-6a47-a863c50698a7@gmail.com> (raw)
In-Reply-To: <75A21E06-84AA-4224-82B8-5E7C833BE8CB@ca.rr.com>


[-- Attachment #1.1: Type: text/plain, Size: 1516 bytes --]

\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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 3272 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2023-04-26  3:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26  3:21 Michael Urban via ntg-context
2023-04-26  3:30 ` jbf via ntg-context [this message]
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=bcfb627d-e345-daf5-6a47-a863c50698a7@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=roma83537@gmail.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).