Is it possible to make 2 (or more) PDF with the same source in Context ?
For example, I want to write a booklet with some algorithmics exercise, and a booklet with the solution wrote in Python (and after Java, C#…)
e.g.
\section{First Exercise} %common title to all booklets
\startQuestion %only for "exercise" booklet
Write a program to get the software version you are using
\stopQuestion
\startPython %only for Python booklet
print (sys.version)
\stopPython
\startJava %only for Java booklet
…
\stopJava
\stoptext
I've tried to use modes, but it did'nt work :( The Context Garden wiki is not very clear about that.
Thanks to help me :)