Hello again
I wish to use the structure of block to hide somme of them.
Unfortunately reseting them doesn't seem to work.
Here is a minimal example :
******************************************************
\starttext
\defineenumeration[exercice][location=inleft]
\defineblock[titre,question,reponse]
\hideblocks[,reponse]
\begintitre
\exercice {\bf Facile}
\endtitre%
%
\beginquestion
$\displaystyle \sin\left(\pi \over 6\right)$
\endquestion
\beginreponse
$1 \over 2$
\endreponse
{\bf Réponses}
\reset[exercice]
\useblocks[titre,reponse]
\stoptext
******************************************************
I get an error with
******************************************************
! Undefined control sequence.
\currentdescriptionnumber ... \currentdescription
\??dd \c!number
\endcsname
\@@ddresetsubsubsubnumber ...entdescriptionnumber
}\resetnumber [\v!
sub \v!s...
\@@ddresetsubsubnumber ...b \v!sub \c!number }{#1}
\resetnumber [\v!
sub \v!su...
\@@ddresetsubnumber ...!sub \v!sub \c!number }{#1}
\resetnumber [\v!
sub \@@de...
\@@ddresetnumber ...s!reset \v!sub \c!number }{#1}
\resetnumber
[\@@descripti...
\next1 #1,->\dodoreset{#1}
\doprocesscommaitem
…
1.47 \reset[exercice]
******************************************************
The line (47) is not the correct one here I deleted comments.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________