ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: thelabel problem
Date: Mon, 28 May 2012 14:51:47 +0200	[thread overview]
Message-ID: <CAG5iGsCsJjU_FNEVTOwUe7ZErJhZYq5d7VQK=1fTv8cC3sDbJA@mail.gmail.com> (raw)
In-Reply-To: <CAJ0n9eeDmXMvku9Dw2wQN2fPHp3PJ+O0KiU2eLf69zoYARJq8Q@mail.gmail.com>

On Mon, May 28, 2012 at 2:43 PM, Alfredo Catalina
<alfredo.catalina@gmail.com> wrote:
> I installed ConTeXt in 2009 in my laptop and wrote some documents. Now I
> have installed ConTeXt in other computer and tried to process some of those
> documents but it doesn't work.
>
> It looks that there is something wrong with Metapost/Metafun. I have tried a
> simple program like
>
> \starttext
>
> Testing
>
> \startuseMPgraphic{gh}
> draw thelabel.rt("the right way",a) withcolor .625red ;
> \stopuseMPgraphic
>
> \useMPgraphic{gh}
>
> \stoptext
>
> Then I get:
>
> system          > begin file kk2.tex at line 1
> metapost        > initializing instance 'metafun' using format 'metafun'
> metapost        > loading 'metafun.mp' (experimental metapost version two)
> ! terminal: >> a
>>> (3,0)
> ! Not implemented: (unknown numeric)+(pair).
> <to be read again>
>                    -
> thelabel->...((EXPR4)+labeloffset*laboff(SUFFIX2)-
>
> (labxf(SUFFIX2)*lrcorner.p...
> <*>  draw thelabel.rt("the right way",a)
>                                          withcolor .625red ; ;
> .
> system          > tex > error on line 10 in file kk2.tex: terminal: >> a
>>> (3,0)
> ! Not implemented: (unknown numeric)+(pair).
> <to be read again>
>                    -
> thelabel->...((EXPR4)+labeloffset*laboff(SUFFIX2)-
>
> (labxf(SUFFIX2)*lrcorner.p...
> <*>  draw thelabel.rt("the right way",a)
>                                          withcolor .625red ; ;
>
>
> Any ideas? Thank you.
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

What is the value of a ?

This is ok with mkii

\setupcolors[state=start]
\starttext

Testing

\startuseMPgraphic{gh}
pair a;
a:=(0,0);
draw thelabel.rt("the right way",a) withcolor .625red ;
\stopuseMPgraphic

\useMPgraphic{gh}

\stoptext


-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2012-05-28 12:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-28 12:43 Alfredo Catalina
2012-05-28 12:51 ` luigi scarso [this message]
2012-05-28 13:35 ` Alfredo Catalina
2012-05-28 13:38   ` Hans Hagen
     [not found]     ` <CAJ0n9edKzheEAU6QL7z019HrJUvEL6q8NgBVXLeq=jKM5CUwHA@mail.gmail.com>
2012-05-28 15:36       ` Alfredo Catalina
2012-05-28 15:55         ` luigi scarso
2012-05-28 16:11         ` Alfredo Catalina
2012-05-28 18:38           ` luigi scarso
2012-05-28 13:41   ` luigi scarso
2012-05-28 18:38 Alfredo Catalina
2012-05-28 18:50 Alfredo Catalina
2012-05-28 18:54 ` Alfredo Catalina
2012-05-28 19:06   ` luigi scarso
2012-05-28 19:16     ` luigi scarso
2012-05-28 19:20   ` Alfredo Catalina
     [not found]     ` <CAG5iGsAr=AYGbwcn0osdEhCoQCAJ6ynXCEEQua_Cs6dVWfL+EQ@mail.gmail.com>
2012-05-28 21:16       ` Alfredo Catalina

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='CAG5iGsCsJjU_FNEVTOwUe7ZErJhZYq5d7VQK=1fTv8cC3sDbJA@mail.gmail.com' \
    --to=luigi.scarso@gmail.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).