From: Alfredo Catalina <alfredo.catalina@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: thelabel problem
Date: Mon, 28 May 2012 15:35:22 +0200 [thread overview]
Message-ID: <CAJ0n9ecfuds08F5SRiFhZzax+0iu5J65t-NaSifUUODFdEAy7g@mail.gmail.com> (raw)
In-Reply-To: <CAJ0n9eeDmXMvku9Dw2wQN2fPHp3PJ+O0KiU2eLf69zoYARJq8Q@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3599 bytes --]
Sorry, that's right, it works. I forgot the definition. I have been trying
some things before.
In fact the problem is this:
\starttext
Testing
\startuseMPgraphic{gh}
textX:=87.51u;
textY:=96.31u;
pic:=thelabel.urt(btex {Test} etex scaled 1.00,(0,0));
draw pic shifted (textX, textY);
\stopuseMPgraphic
\useMPgraphic{gh}
\stoptext
And I get:
! terminal: >> pic
>> picture
! Equation cannot be performed (numeric=picture).
<to be read again>
;
<*> ...rt(rawtextext("{Test}") scaled 1.00,(0,0));
draw pic shifted (textX,
...
>> pic
>> (0.90863textY,textY)
! Not implemented: (unknown numeric)shifted(unknown pair).
<to be read again>
;
<*> ...00,(0,0)); draw pic shifted (textX, textY);
;
>> 0.90863textY
! Undefined x coordinate has been replaced by 0.
<to be read again>
withpen
draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
.currentpen.fi._op_
<to be read again>
;
<*> ...00,(0,0)); draw pic shifted (textX, textY);
;
>> textY
! Undefined y coordinate has been replaced by 0.
<to be read again>
withpen
draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
.currentpen.fi._op_
<to be read again>
;
<*> ...00,(0,0)); draw pic shifted (textX, textY);
;
.
system > tex > error on line 14 in file kk2.tex: terminal: >> pic
>> picture
! Equation cannot be performed (numeric=picture).
<to be read again>
;
<*> ...rt(rawtextext("{Test}") scaled 1.00,(0,0));
draw pic shifted (textX,
...
>> pic
>> (0.90863textY,textY)
! Not implemented: (unknown numeric)shifted(unknown pair).
<to be read again>
;
<*> ...00,(0,0)); draw pic shifted (textX, textY);
;
>> 0.90863textY
! Undefined x coordinate has been replaced by 0.
<to be read again>
withpen
draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
.currentpen.fi._op_
<to be read again>
;
<*> ...00,(0,0)); draw pic shifted (textX, textY);
;
>> textY
! Undefined y coordinate has been replaced by 0.
<to be read again>
withpen
draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
.currentpen.fi._op_
<to be read again>
;
<*> ...00,(0,0)); draw pic shifted (textX, textY);
;
...
4
5 \startuseMPgraphic{gh}
6
7 textX:=87.51u;
8 textY:=96.31u;
9 pic:=thelabel.urt(btex {Test} etex scaled 1.00,(0,0));
10 draw pic shifted (textX, textY);
11
12 \stopuseMPgraphic
13
14 >> \useMPgraphic{gh}
15
16 \stoptext
17
<inserted text> ...re.mp ; fi ; ;;;;]===], false)}
\processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
\egroup \placeMPgraphic
\d...
\handleuseMPgraphic ...hics \processMPgraphic {#3}
\endgroup
\douseMPgraphic ...{\@@MPG \currentMPgraphicname }
\empty \endMPgraphicgroup
<to be read again>
l.14 \useMPgraphic{gh}
[-- Attachment #1.2: Type: text/html, Size: 4609 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-05-28 13:35 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
2012-05-28 13:35 ` Alfredo Catalina [this message]
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=CAJ0n9ecfuds08F5SRiFhZzax+0iu5J65t-NaSifUUODFdEAy7g@mail.gmail.com \
--to=alfredo.catalina@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).