<div dir="ltr"><div dir="ltr"><div>Dear list</div><div><br></div><div>The configuration below is what I found for a question and answer section. If would like the text to start immediately after "question 1", "question2", etc. and not below it and the same for the answers. Is there an easy way to achieve this?</div><div><br></div><div>Regards, Jeroen<br></div><div><br></div><div><br></div><div>\setupinteraction[state=start]<br> <br>\define[1]\QuestionTextCommand<br>   {\doglobal\increment\QuestionCounter<br>    \pagereference[question:\QuestionCounter]%<br>    \doifreferencefoundelse{answer:\QuestionCounter}<br>      {\goto{#1}[answer:\QuestionCounter]}<br>      {#1}}<br> <br>\define[1]\AnswerTextCommand<br>   {\doglobal\increment\AnswerCounter<br>    \pagereference[answer:\AnswerCounter]%<br>    \doifreferencefoundelse{question:\AnswerCounter}<br>      {\goto{#1}[question:\AnswerCounter]}<br>      {#1}}<br> <br>\defineenumeration<br>   [question]<br>   [text=Question,<br>    headcommand=\QuestionTextCommand]<br> <br>\defineenumeration<br>   [answer]<br>   [text=Answer,<br>    headcommand=\AnswerTextCommand]<br> <br>\defineblock[answer]<br> <br>\startbuffer<br>     %<br>     \startquestion<br>     \input knuth<br>     \stopquestion<br>     %<br>     \beginanswer<br>         \startanswer<br>         \input knuth<br>         \stopanswer<br>     \endanswer<br>     %<br>\stopbuffer<br> <br>\starttext</div><div>\dorecurse{10}{\getbuffer}<br> <br>\page<br> <br>\useblocks[answer]<br> <br>\stoptext</div></div></div>