Hi Idris,

I think Hans was trying to point you to the blocks mechanism. Blocks *do* nest:

\defineblock[sectionblock]
\defineblock[myblock]

\startmode[variantone]
\keepblocks[sectionblock]
\keepblocks[myblock]
\stopmode

\startmode[varianttwo]
\keepblocks[sectionblock]
\stopmode

\starttext
\beginsectionblock
\section{A to B}
\beginmyblock
A is for Amy, who fell down the stairs.
\endmyblock
\beginmyblock
B is for Basil, assaulted by bears.
\endmyblock
\endsectionblock

\stoptext



— 
Taco Hoekwater              E: t...@bittext.nl
genderfluid (all pronouns)



___________________________________________________________________________________
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
___________________________________________________________________________________
  • [NTG-con... Idris Samawi Hamid ادريس سماوي حامد via ntg-context
    • Re:... Aditya Mahajan via ntg-context
      • ... Idris Samawi Hamid ادريس سماوي حامد via ntg-context
        • ... Henning Hraban Ramm via ntg-context
          • ... Idris Samawi Hamid ادريس سماوي حامد via ntg-context
            • ... Taco Hoekwater via ntg-context
            • ... Henning Hraban Ramm via ntg-context
              • ... Idris Samawi Hamid ادريس سماوي حامد via ntg-context
        • ... Aditya Mahajan via ntg-context
          • ... Hans Hagen via ntg-context
            • ... Idris Samawi Hamid ادريس سماوي حامد via ntg-context
          • ... Idris Samawi Hamid ادريس سماوي حامد via ntg-context
    • Re:... Hans Hagen via ntg-context

Reply via email to