ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: [NTG-context] Re: "Missing number, case 7, treated as zero" error message.
Date: Thu, 28 Nov 2024 23:30:45 +0100	[thread overview]
Message-ID: <87e6667a-b4fa-4dbc-b7cc-0295bea82814@freedom.nl> (raw)
In-Reply-To: <643fc08b-133d-55b5-a4fd-07dc0e2288e2@gmail.com>

On 11/28/2024 11:20 PM, Wolfgang Schuster wrote:
> Jeong Dal via ntg-context schrieb am 28.11.2024 um 22:44:
>> Dear lister,
>>
>> I have an error which I can not locate.
>> Please help me what is wrong in the following example.
>>
>> Thanks for reading.
>>
>> Regards,
>>
>> Dalyoung
>>
>> \useMPlibrary[dum]
>> \starttext
>> \startplacefigure[location=,reference=fig:gateNOT,title=]
>> \startcombination[nx=2,ny=1]
>> {externalfigure[dummy][width=.25\textwidth]}{a}
>> {externalfigure[dummy][width=.25\textwidth]}{b}
> 
> You're missing the backslash in front of \externalfigure.

in addition to WS's fix:

as a bonus, one can also say:

     {\externalfigure[dummy][width=.25tw]}{a}
     {\externalfigure[dummy][width=.25tw]}{b}

in which case you'd see the error

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2024-11-28 22:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-28 21:44 [NTG-context] " Jeong Dal via ntg-context
2024-11-28 22:20 ` [NTG-context] " Wolfgang Schuster
2024-11-28 22:30   ` Hans Hagen via ntg-context [this message]

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=87e6667a-b4fa-4dbc-b7cc-0295bea82814@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.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).