ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* External Figure inside MPpage
@ 2012-09-04 12:23 Troy Henderson
  2012-09-04 12:36 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Troy Henderson @ 2012-09-04 12:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 221 bytes --]

I was wondering if there is a way to place an external figure (JPG/PDF)
inside a MPpage.  The following does not work.

\startMPpage
   \externalfigure[spiral/andrew/andrew.jpg][height=4.75in]
\stopMPpage

Troy Henderson

[-- Attachment #1.2: Type: text/html, Size: 246 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: External Figure inside MPpage
  2012-09-04 12:23 External Figure inside MPpage Troy Henderson
@ 2012-09-04 12:36 ` Wolfgang Schuster
  2012-09-04 12:48   ` Troy Henderson
  2012-09-28 22:47   ` Troy Henderson
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2012-09-04 12:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.09.2012 um 14:23 schrieb Troy Henderson <thenders@gmail.com>:

> I was wondering if there is a way to place an external figure (JPG/PDF) inside a MPpage.  The following does not work.
> 
> \startMPpage
>    \externalfigure[spiral/andrew/andrew.jpg][height=4.75in]
> \stopMPpage

\startMPpage
draw externalfigure "mill" scaled 4.75in ;
\stopMPpage

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: External Figure inside MPpage
  2012-09-04 12:36 ` Wolfgang Schuster
@ 2012-09-04 12:48   ` Troy Henderson
  2012-09-28 22:47   ` Troy Henderson
  1 sibling, 0 replies; 6+ messages in thread
From: Troy Henderson @ 2012-09-04 12:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 106 bytes --]

> \startMPpage
> draw externalfigure "mill" scaled 4.75in ;
> \stopMPpage
>

Excellent.  Thank you!

Troy

[-- Attachment #1.2: Type: text/html, Size: 320 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: External Figure inside MPpage
  2012-09-04 12:36 ` Wolfgang Schuster
  2012-09-04 12:48   ` Troy Henderson
@ 2012-09-28 22:47   ` Troy Henderson
  2012-09-29  0:02     ` Aditya Mahajan
  1 sibling, 1 reply; 6+ messages in thread
From: Troy Henderson @ 2012-09-28 22:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 161 bytes --]

>
> \startMPpage
> draw externalfigure "mill" scaled 4.75in ;
> \stopMPpage
>

What if "mill" is a multi-page PDF and I want to include a particular page?

Troy

[-- Attachment #1.2: Type: text/html, Size: 356 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: External Figure inside MPpage
  2012-09-28 22:47   ` Troy Henderson
@ 2012-09-29  0:02     ` Aditya Mahajan
  2012-09-29  0:16       ` Troy Henderson
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2012-09-29  0:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 28 Sep 2012, Troy Henderson wrote:

>>
>> \startMPpage
>> draw externalfigure "mill" scaled 4.75in ;
>> \stopMPpage
>>
>
> What if "mill" is a multi-page PDF and I want to include a particular page?

Untested:

draw textext("\externalfigure[mill][page=1]") scaled ... ;

should work.

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: External Figure inside MPpage
  2012-09-29  0:02     ` Aditya Mahajan
@ 2012-09-29  0:16       ` Troy Henderson
  0 siblings, 0 replies; 6+ messages in thread
From: Troy Henderson @ 2012-09-29  0:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 90 bytes --]

>
> draw textext("\externalfigure[mill][page=1]") scaled ... ;
>

Awesome.  Thanks.

Troy

[-- Attachment #1.2: Type: text/html, Size: 270 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-29  0:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-04 12:23 External Figure inside MPpage Troy Henderson
2012-09-04 12:36 ` Wolfgang Schuster
2012-09-04 12:48   ` Troy Henderson
2012-09-28 22:47   ` Troy Henderson
2012-09-29  0:02     ` Aditya Mahajan
2012-09-29  0:16       ` Troy Henderson

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).