ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Berend de Boer <berend@pobox.com>
Subject: How to influence numbers in blocks
Date: Fri, 27 Nov 1998 11:20:38 +0100	[thread overview]
Message-ID: <01BE19F7.F63AFCB0.berend@pobox.com> (raw)

Hello All,

I've a software specification document which lists every specification of 
the system. At the end of the document I want to list all specifications. I 
accomplished this by doing:

	\doornummeren
		[Requirement]
		[plaats=links,
	   tekst=Eis,
		 breedte=5em]
	\definieerblok[requirement]

	...

	\gebruikblokken[requirement][versie2]

But: for every specification there is also a version. At the end of the 
document I want to list all specifications for a given version. I did:

	\beginvanrequirement[version1]
	\Requirement Hello world.
	\eindvanrequirement

I now say:

	\gebruikblokken[requirement][version1]

However, the numbering is wrong in such a case as it seems that blocks 
which are not placed are skipped entirely, so they are not numbered. Is 
there anyway I can influcence this so I can number sequentially throughout 
the document and also have the same numbers in the overview?

------------sample.tex----------------
\doornummeren
	[Requirement]
	[plaats=links,
   tekst=Eis,
	 breedte=5em]
\definieerblok[requirement]

\starttekst

\paragraaf{Alles}

\beginvanrequirement[versie2]
\Requirement Dit is eis 1 (versie 2).
\eindvanrequirement

\beginvanrequirement[versie1]
\Requirement Dit is eis 2 (versie 1).
\eindvanrequirement

\geenblokkenmeer
\reset[Requirement]

\paragraaf{Versie 1}

\gebruikblokken[requirement][versie1]

\paragraaf{Versie 2}

\gebruikblokken[requirement][versie2]

\stoptekst
------------sample.tex----------------

Groetjes,

Berend.


             reply	other threads:[~1998-11-27 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-27 10:20 Berend de Boer [this message]
1998-11-27 12:20 Hans Hagen

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=01BE19F7.F63AFCB0.berend@pobox.com \
    --to=berend@pobox.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).