Re: [NTG-context] importing figures in metapost

2005-06-14 Thread andrea valle
Thanks Mojca, (I put again the discussion on the list) andrea valle wrote: Thanks a lot, It seems that it is exactly what I need,as I want to use pdfs. Actually I'm able to scale, but not to shift. I don't understand why not. Can you send an (non-working) example? It seems to me that

Re: [NTG-context] importing figures in metapost

2005-06-13 Thread andrea valle
Thanks Mojca, (I put again the discussion on the list) andrea valle wrote: Thanks a lot, It seems that it is exactly what I need,as I want to use pdfs. Actually I'm able to scale, but not to shift. I don't understand why not. Can you send an (non-working) example? It seems to me that

Re: [NTG-context] importing figures in metapost

2005-06-13 Thread Mojca Miklavec
andrea valle wrote: Thanks Mojca, (I put again the discussion on the list) andrea valle wrote: It seems to me that this: Btw: take a look at the thread MetaFun questions in ConTeXt archive and at the command naturalfigure(expr name) defined in mp-figs.mp. externalfigure mptext.pdf

Re: [NTG-context] importing figures in metapost

2005-06-13 Thread Taco Hoekwater
andrea valle wrote: It seems to me that this: % 1 ... and % 2 ... ...have the same results. That's what I would expect as well, from identical input ;) Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] importing figures in metapost

2005-06-13 Thread andrea valle
(...) ahem, yes. Sorry, I forgot a % before a shifted (3cm, 6cm); in the second example I suppose Mojca has already replied considering the %. Thanks -a- On 13 Jun 2005, at 19:20, Taco Hoekwater wrote: andrea valle wrote: It seems to me that this: % 1 ... and % 2 ... ...have the

Re: [NTG-context] importing figures in metapost

2005-06-13 Thread h h extern
Mojca Miklavec wrote: andrea valle wrote: But: is it possible to import an external figure inside metapost giving it a precise place in terms of xy coordinates? Sure: externalfigure filename.pdf xyscaled (theWidth, theHeight) shifted (theLowerLeftX, theLowerLeftY); (However, I

[NTG-context] importing figures in metapost

2005-06-12 Thread andrea valle
Hi to all, newbie here, so please pardon me if I'm asking obvious things. I'm a latex user, but I am fascinated by context. I've a project and I'd like to know if it's possible to do it in context. The idea is the following: I have to draw a directed graph representing relations between musical

Re: [NTG-context] importing figures in metapost

2005-06-12 Thread Mojca Miklavec
andrea valle wrote: But: is it possible to import an external figure inside metapost giving it a precise place in terms of xy coordinates? Sure: externalfigure filename.pdf xyscaled (theWidth, theHeight) shifted (theLowerLeftX, theLowerLeftY); (However, I don't know if