From: Bernhard Vogel <bbvogel@home.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: useblocks troubles
Date: Mon, 25 Jan 2010 17:44:21 +0100 [thread overview]
Message-ID: <201001251744.21536.bbvogel@home.nl> (raw)
Dear all,
When selecting multiple blocks: \useblocks[someblock,otherblock],
the blocks are selected but the before and after statements are not
processed.
Is the expected behaviour?
Tia, Bernard
Example:
\defineblock[someblock]
\defineblock[otherblock]
\setupblock[someblock]
[before={ -Begin- },
after={ -End- }]
\hideblocks[someblock,otherblock]
\starttext
\beginsomeblock
SOMEBLOCK
\endsomeblock
\beginotherblock
OTHERBLOCK
\endotherblock
\section{No before or after}
\useblocks[someblock,otherblock]
\useblocks[otherblock,someblock]
\section{Separately they work}
\useblocks[someblock]
\useblocks[otherblock]
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2010-01-25 16:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201001251744.21536.bbvogel@home.nl \
--to=bbvogel@home.nl \
--cc=ntg-context@ntg.nl \
/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).