On Fri, 28 Jul 2017, Henning Hraban Ramm wrote:
Ahoi again,
I’m preparing some ConTeXt docs with a lot of examples and would like to
reproduce what we have in the wiki as
<context source="yes">
...
</context>
i.e. sourcecode beside the result.
Often the shown source is exactly what I want to show, in other cases I
need some additional setup that I don’t want to show.
Which approach would you suggest? Combinations?
\startbuffer[example-1]
....
\stopbuffer
\placesidebyside
{\typebuffer[example-1]}
{\getbuffer[setups, example-1]}
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________