On 07/29/2017 10:58 AM, Pablo Rodriguez wrote: > On 07/29/2017 12:57 AM, Aditya Mahajan wrote: >> [...] >> \placesidebyside >> {\typebuffer[example-1]} >> {\getbuffer[setups, example-1]} > [...] > Is there now hay to avoid the forced horizontal mode on both sides?
Replying to my own question, a fast fix (although far from perfect) would be using xtables: \def\replacesidebyside#1{% \blank\startembeddedxtable[frame=off, option=stretch] \startxrow \startxcell\typebuffer[#1][option=TEX]\stopxcell \startxcell\getbuffer[setups, #1]\stopxcell \stopxrow \stopembeddedxtable\blank} \def\replaceontopofeachother#1{% \blank\startembeddedxtable[frame=off, option=stretch] \startxrow \startxcell\typebuffer[#1][option=TEX]\stopxcell \stopxrow \startxrow[toffset=1em, split=yes] \startxcell\getbuffer[setups, #1]\stopxcell \stopxrow \stopembeddedxtable\blank} \starttext \startbuffer[example-1] \setupexternalfigures[location=default] \starttext \ConTeXt\ is awesome! \externalfigure[cow.pdf][scale=250] \stoptext \stopbuffer Frames won’t be split accross pages. There may be other issues, but none tham I’m aware of ;-). Just in case it helps, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________