From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Textext Question
Date: Fri, 26 May 2006 18:57:08 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0605261853130.3148@nqvgln> (raw)
In-Reply-To: <87wtc8ttz9.fsf@borlap.bornier.net>
On Fri, 26 May 2006, Jean Magnan de Bornier wrote:
> Le 26 mai à 18:10:43 Willi Egger <w.egger@boede.nl> écrit notamment:
>
>> Hi Jean Magnan,
>>
>> You should add \useMPlibrary[txt] in order to get textext working.
>> Further define AX as a path only.
>> In the dummy-graphic say drawdblarrow AX.withcolor blue;
>>
>> After these changes I got the label as well as the double arrow.
> Hi,
> thanks to you and Renaud; I changed my file to this:
> ...................................
> \setupoutput[pdftex]
> \runMPgraphicstrue
> \useMPlibrary[txt]
>
> \setuppapersize[S6][S6]
> \setupcolors[state=start]
>
> \startMPinclusions
> numeric u; u=.8cm;
> path AX; AX=(10u,0)--(0,0)--(0,10u);
> \stopMPinclusions
> \starttext
> \startuseMPgraphic{dummy}
> pickup pencircle scaled .8mm;
> drawdblarrow AX withcolor green;
> label.rt(textext("$3x^2+\pi$"), (5u,6u));
> \stopuseMPgraphic
>
> \placefigure[left]{bla.bla}{\useMPgraphic{dummy}}
> \input dawkins
> \stoptext
> ...................................
>
> I get the same "unknown" in place of the label.
> On computer one (my everyday machine) context is provided by TeX-Live, and
> I made the same experiment with my computer two where context is installed
> via TeTeX.
> Same result on both!
This file compiles fine here (Windows XP + ConTeXt ver:
2006.05.17 10:08). I get proper text in the right location.
> I Think I have followed normal installation procedures (enabling
> write18 etc.) So I'm confused Thanks for any more help!
Your first message said that you were running texexec.pl. Try
switching to texexec.rb, i.e., invoke context with
texmfstart texexec <filename>
Aditya
next prev parent reply other threads:[~2006-05-26 22:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-26 15:17 Jean Magnan de Bornier
2006-05-26 15:46 ` Renaud AUBIN
2006-05-26 16:10 ` Willi Egger
2006-05-26 20:24 ` Jean Magnan de Bornier
2006-05-26 22:06 ` Otared Kavian
2006-05-27 6:18 ` Jean Magnan de Bornier
2006-05-26 22:57 ` Aditya Mahajan [this message]
2006-05-27 12:07 ` Hans Hagen
2006-05-26 23:19 ` Aditya Mahajan
2006-05-27 18:09 ` Willi Egger
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=Pine.WNT.4.63.0605261853130.3148@nqvgln \
--to=adityam@umich.edu \
--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).