Re: [NTG-context] about \startcombination

2012-01-11 Thread Marco
On 2012-01-11 dalyoung hak...@me.com wrote:

 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


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] about \startcombination

2012-01-11 Thread 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
-
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] about \startcombination

2012-01-11 Thread dalyoung
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
 -

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] about \startcombination

2012-01-11 Thread dalyoung
Dear Marco,

Thank you for your reply.
It is totally my fault. 
I should be more careful to edit.

Best regards,

Dalyoung
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___