ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: dalyoung <haksan@me.com>
Subject: Re: about \startcombination
Date: Wed, 11 Jan 2012 14:45:28 +0100	[thread overview]
Message-ID: <4F0D9278.3010408@wxs.nl> (raw)
In-Reply-To: <35DEE623-5121-46DB-8F12-2BFEC1E0E411@me.com>

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
___________________________________________________________________________________


  parent reply	other threads:[~2012-01-11 13:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 13:35 dalyoung
2012-01-11 13:44 ` Marco
2012-01-11 13:45 ` Hans Hagen [this message]
2012-01-11 14:03   ` dalyoung
2012-01-12  2:21 dalyoung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0D9278.3010408@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).