Is startcombination ... stopcombination broken?
I'm trying to bring two pictures next to each other by using \startcombination, but I always get this error (on my box + on contextgarden): ! Missing { inserted. <to be read again> \egroup l.5 \stopcombination ? ! Emergency stop. <to be read again> \egroup l.5 \stopcombination Minimal example: \starttext \startcombination[2] \framed{here} \framed{there} \stopcombination \stoptext I have tried with all kinds of braces in all possible places, to no avail. Or am I missing anything terribly obvious? Best Thomas
Hello Thomas, there is a working example of startcombination in http://texshow.contextgarden.net/cmd=placefloat. Patrick -- ConTeXt wiki: http://contextgarden.net
\starttext \startcombination[2] \framed{here}{} \framed{there}{} \stopcombination \stoptext Matthias On Apr 6, 2005, at 7:43 AM, Patrick Gundlach wrote:
Hello Thomas,
there is a working example of startcombination in http://texshow.contextgarden.net/cmd=placefloat.
Patrick
-- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Thomas A.Schmitz wrote:
Minimal example:
\starttext \startcombination[2] \framed{here} \framed{there} \stopcombination \stoptext
I have tried with all kinds of braces in all possible places, to no avail. Or am I missing anything terribly obvious?
It is not terribly obvious, but your \framed commands are missing a second argument, see the big manual, p. 227, where it gives the model: \startcombination[n*m] {text1}{subcaption 1} {text2}{subcaption 2} ....... ............. \stopcombination and says: "The second argument can be empty: {xxxx}{}." That kind of implies that the braces in the second argument are necessary and apparently that's what texexec is complaining about... This works for me: % ------------------ \starttext \startcombination[2] \framed{here}{} \framed{there}{} \stopcombination \stoptext % ------------------ So just add the two pairs of braces after your \framed and things should work out! Mari (who's had her share of 'why in the #¤% doesn't my combination work')
Mari, thanks so much, that was it! Yes, the 'why in the #¤%' was on my mind, too! I'm using ConTeXt for my presentations this term, so I have to place externalfigures all the time. Phew, thanks! Best Thomas On Apr 6, 2005, at 2:53 PM, Mari Voipio wrote:
Thomas A.Schmitz wrote:
Minimal example: \starttext \startcombination[2] \framed{here} \framed{there} \stopcombination \stoptext I have tried with all kinds of braces in all possible places, to no avail. Or am I missing anything terribly obvious?
It is not terribly obvious, but your \framed commands are missing a second argument, see the big manual, p. 227, where it gives the model:
\startcombination[n*m] {text1}{subcaption 1} {text2}{subcaption 2} ....... ............. \stopcombination
and says: "The second argument can be empty: {xxxx}{}." That kind of implies that the braces in the second argument are necessary and apparently that's what texexec is complaining about...
This works for me: % ------------------ \starttext
\startcombination[2] \framed{here}{} \framed{there}{} \stopcombination
\stoptext % ------------------
So just add the two pairs of braces after your \framed and things should work out!
Mari (who's had her share of doesn't my combination work') _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (4)
-
Mari Voipio
-
Matthias Weber
-
Patrick Gundlach
-
Thomas A.Schmitz