ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \beginBLOCKS and \endBLOCKS do not work in \dorecurse
       [not found] <20191111211048.GA3619.ref@nereid.neptune>
@ 2019-11-11 21:10 ` Romain Diss
  0 siblings, 0 replies; only message in thread
From: Romain Diss @ 2019-11-11 21:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I cannot make \beginBLOCKS and \endBLOCKS work in a \dorecurse loop. Is
it possible?

Here is a minimum non working exemple (from
https://wiki.contextgarden.net/Command/defineblock):

%% 
\startdocument

\defineblock[question]
\hideblocks[question] % We don't want to print blocks where we define them

\dorecurse{2}{
    \beginquestion[first]
    To be, or not to be?
    \endquestion

    \section{Let's see what blocks we've got.}
    \useblocks[question]

    \section{We've seen what blocks we've got. Let's take another look at that first question.}
    \useblocks[question][first]

    \beginquestion[last]
    Mais o\`u sont les neiges d'antan?
    \endquestion
}

\stopdocument
%%

Thank you in advance.

Best.

-- 
Romain Diss
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

only message in thread, other threads:[~2019-11-11 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191111211048.GA3619.ref@nereid.neptune>
2019-11-11 21:10 ` \beginBLOCKS and \endBLOCKS do not work in \dorecurse Romain Diss

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