ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* useblocks troubles
@ 2010-01-25 16:44 Bernhard Vogel
  0 siblings, 0 replies; only message in thread
From: Bernhard Vogel @ 2010-01-25 16:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-25 16:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-25 16:44 useblocks troubles Bernhard Vogel

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