ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: incompatibility metafun / metaobj
Date: Fri, 17 Sep 2004 10:32:54 +0200	[thread overview]
Message-ID: <20040917083254.GA4236@cebitec.uni-bielefeld.de> (raw)

Hi all,

there seems to be an incompatibility between metafun's anglebetween
macro and the metaobj package. Sample input:

\startMPinclusions
	input metaobj;
\stopMPinclusions
\startreusableMPgraphic{ff}
	draw anglebetween(origin--(0,100),origin--(100,0),(btex $\vartheta$ etex));
\stopreusableMPgraphic
\starttext
	\reuseMPgraphic{ff}
\stoptext

This results into:
error in metapost run : fftest-mpgraph.mp:124

Running 'mpost fftest-mpgraph' manually shows the following error:
! Missing argument to arctime.
<to be read again> 
                   (19.92523)
on->(arctime.if(EXPR0)>0:(EXPR0)
                                else:(arclength((EXPR1))+(EXPR0))fi.of(EXPR1...
<to be read again> 
                   ;
anglebetween->...nta:=point.anglelength.on(EXPR2);
                                                  pointb:=point.anglelength....
l.121 ))
        ;
?

I have tried to locate the problem more precisely, but my metapost
skills are not sufficient, so I have to ask for help here.

Regards,
Eckhart

                 reply	other threads:[~2004-09-17  8:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20040917083254.GA4236@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.de \
    --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).