Dear Dalyoung, On Fri, 23 Nov 2007 22:56:30 -0700, Jeong Dalyoung <[EMAIL PROTECTED]> wrote:
> Dear Idris, > > I have used buffers and \plcadefigures to display formula and figure > together. Here is my short sample file. > > \startbuffer[one] > \startformula \startmatrix > \NC \NC e_1 \NC e_2 \NC e_3 \NC e_5 \NC e_5 \NR > \NC u \NC 0 \NC 1 \NC 1 \NC 0 \NC 1 \NR > \NC v \NC 1 \NC 0 \NC 1 \NC 0 \NC 0 \NR > \NC w \NC 1 \NC 1 \NC 0 \NC 1 \NC 0 \NR > \NC x \NC 0 \NC 0 \NC 1 \NC 0 \NC 1 \NR > \NC y \NC 1 \NC 0 \NC 0 \NC 1 \NC 0 \NR > \stopmatrix \stopformula > \stopbuffer > > \starttext > > \placefigure[here][fig:test]{Test of buffers} > {\startcombination[2*2] > {\externalfigure[7starmagic1][width=.25\makeupwidth]}{G} > {\externalfigure[one.tmp]}{AA} > {\externalfigure[one.tmp]}{BB} > {\externalfigure[one.tmp]}{CC} > \stopcombination} > > \stoptext > > Then, I got a strange output(fig 1: wide blank spaces between > columns). If I use \getbuffer instead of \externalfigure, I got > somewhat proper output(fig 2), but the figure is located much higher > than the matrix(horizontal alignment is bad). > > What is wrong in my sample? Is there any option for \startcombination? \start-stopformula are for math display mode ($$-$$). Apparently having display mode turned on within the buffer creates the extra space. Since you are using combinations for your display there is no need for display mode. The following works here: =============== \startbuffer[one] %\startformula \startmatrix \NC \NC e_1 \NC e_2 \NC e_3 \NC e_5 \NC e_5 \NR \NC u \NC 0 \NC 1 \NC 1 \NC 0 \NC 1 \NR \NC v \NC 1 \NC 0 \NC 1 \NC 0 \NC 0 \NR \NC w \NC 1 \NC 1 \NC 0 \NC 1 \NC 0 \NR \NC x \NC 0 \NC 0 \NC 1 \NC 0 \NC 1 \NR \NC y \NC 1 \NC 0 \NC 0 \NC 1 \NC 0 \NR \stopmatrix %\stopformula \stopbuffer \starttext \setupcombinations[distance=2cm] \placefigure[here][fig:test]{Test of buffers} {\startcombination[2*2] % {\externalfigure[7starmagic1][width=.25\makeupwidth]}{G} {\externalfigure[one.tmp]}{AA} {\externalfigure[one.tmp]}{BB} {\externalfigure[one.tmp]}{CC} {\externalfigure[one.tmp]}{DD} \stopcombination} \stoptext =============== Notice the \setupcombinations[distance=2cm] ! Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________