Hi, Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} I got an error message as following: ..... fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded ! Missing { inserted. system > tex > error on line 8 in file Workshop.tex: Missing { inserted ... 1 \starttext 2 3 \placefigure[][]{} 4 {\startcombination[3*1] 5 {\externalfigure[cow][width=.3\makeupwidth]} 6 {\externalfigure[cow][width=.3\makeupwidth]} 7 {\externalfigure[cow][width=.3\makeupwidth]} 8 >> \stopcombination} 9 10 \stoptext 11 12 13 <inserted text> { <to be read again> & \docombination_b ->& &&\hskip \combinationparameter \c!distance &\docombination l.8 \stopcombination} ? case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally. \placefigure[][]{} {\startcombination[2*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} Since there is no question about this in the list, I wonder it happens in my system only. Would you please test the above? The versions of LuaTeX and of ConTeXt are as following: This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) ConTeXt ver: 2011.12.23 09:52 MKIV fmt: 2011.12.31 Thank you. Best regards, Dalyoung
On 2012-01-11 dalyoung
Today, I found a strange behavior of \startcombination.
case 1.
\placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination}
\placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]}{} {\externalfigure[cow][width=.3\makeupwidth]}{} {\externalfigure[cow][width=.3\makeupwidth]}{} \stopcombination}
case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally.
Add the missing braces. Works here. Marco
On 11-1-2012 14:35, dalyoung wrote:
Hi,
Today, I found a strange behavior of \startcombination.
case 1.
\placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination}
I got an error message as following:
......
fonts> virtual math> unable to resolve name mapsfromchar fonts> fallback modern rm 12pt is loaded ! Missing { inserted. system> tex> error on line 8 in file Workshop.tex: Missing { inserted ... 1 \starttext 2 3 \placefigure[][]{} 4 {\startcombination[3*1] 5 {\externalfigure[cow][width=.3\makeupwidth]} 6 {\externalfigure[cow][width=.3\makeupwidth]} 7 {\externalfigure[cow][width=.3\makeupwidth]} 8>> \stopcombination} 9 10 \stoptext 11 12 13 <inserted text> { <to be read again> & \docombination_b ->& &&\hskip \combinationparameter \c!distance&\docombination l.8 \stopcombination} ?
case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally.
\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]}{1} {\externalfigure[cow][width=.3\makeupwidth]}{2} {\externalfigure[cow][width=.3\makeupwidth]}{3} \stopcombination so, combinations come in pairs where the even ones can be empty ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Dear Hans, I am sorry for the false alarm. I should be more careful. Thank you. Best regards, Dalyoung 2012. 1. 11., 오후 10:45, Hans Hagen 작성:
On 11-1-2012 14:35, dalyoung wrote:
Hi,
Today, I found a strange behavior of \startcombination.
case 1.
\placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination}
I got an error message as following:
......
fonts> virtual math> unable to resolve name mapsfromchar fonts> fallback modern rm 12pt is loaded ! Missing { inserted. system> tex> error on line 8 in file Workshop.tex: Missing { inserted ... 1 \starttext 2 3 \placefigure[][]{} 4 {\startcombination[3*1] 5 {\externalfigure[cow][width=.3\makeupwidth]} 6 {\externalfigure[cow][width=.3\makeupwidth]} 7 {\externalfigure[cow][width=.3\makeupwidth]} 8>> \stopcombination} 9 10 \stoptext 11 12 13 <inserted text> { <to be read again> & \docombination_b ->& &&\hskip \combinationparameter \c!distance&\docombination l.8 \stopcombination} ?
case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally.
\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]}{1} {\externalfigure[cow][width=.3\makeupwidth]}{2} {\externalfigure[cow][width=.3\makeupwidth]}{3} \stopcombination
so, combinations come in pairs where the even ones can be empty
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
dalyoung
-
Hans Hagen
-
Marco