* inserting pdf
@ 2009-10-08 12:36 Mohamed Bana
2009-10-08 12:39 ` luigi scarso
2009-10-08 12:45 ` Peter Rolf
0 siblings, 2 replies; 5+ messages in thread
From: Mohamed Bana @ 2009-10-08 12:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
hi folks,
assuming x.pdf has more than 1 page, this only inserts the first. i'd
like to insert all the pages. how would i do that?
startTEXpage
\externalfigure[x.pdf]
\stopTEXpage
\externalfigure[x.pdf][page=1-2]
doesn't work either. I have to do;
\startTEXpage
\externalfigure[x.pdf][page=1]
\stopTEXpage
\startTEXpage
\externalfigure[x.pdf][page=2]
\stopTEXpage
I'm using
$ pdftex --version
pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)
and whatever comes with texlive 2008.
regards,
Mohamed
___________________________________________________________________________________
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] 5+ messages in thread
* Re: inserting pdf
2009-10-08 12:36 inserting pdf Mohamed Bana
@ 2009-10-08 12:39 ` luigi scarso
2009-10-08 12:43 ` Taco Hoekwater
2009-10-08 12:45 ` Peter Rolf
1 sibling, 1 reply; 5+ messages in thread
From: luigi scarso @ 2009-10-08 12:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1184 bytes --]
On Thu, Oct 8, 2009 at 2:36 PM, Mohamed Bana <mbana.lists@googlemail.com>wrote:
> hi folks,
>
> assuming x.pdf has more than 1 page, this only inserts the first. i'd like
> to insert all the pages. how would i do that?
>
> startTEXpage
> \externalfigure[x.pdf]
> \stopTEXpage
>
>
>
> \externalfigure[x.pdf][page=1-2]
>
> doesn't work either. I have to do;
>
> \startTEXpage
> \externalfigure[x.pdf][page=1]
> \stopTEXpage
>
> \startTEXpage
> \externalfigure[x.pdf][page=2]
> \stopTEXpage
>
>
> I'm using
>
> $ pdftex --version
> pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)
>
> and whatever comes with texlive 2008.
>
> regards,
> Mohamed
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
hmm maybe
\copypages
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 1997 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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] 5+ messages in thread
* Re: inserting pdf
2009-10-08 12:39 ` luigi scarso
@ 2009-10-08 12:43 ` Taco Hoekwater
2009-10-08 12:45 ` Mohamed Bana
0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2009-10-08 12:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
luigi scarso wrote:
> hmm maybe
> \copypages
Or, if you need more control, something like this:
\getfiguredimensions[x.pdf]%
\imgcount=\noffigurepages\relax
\dorecurse
{\the\imgcount}
{\externalfigure
[x.pdf]
[page=\recurselevel]}
Best wishes,
Taco
___________________________________________________________________________________
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] 5+ messages in thread
* Re: inserting pdf
2009-10-08 12:43 ` Taco Hoekwater
@ 2009-10-08 12:45 ` Mohamed Bana
0 siblings, 0 replies; 5+ messages in thread
From: Mohamed Bana @ 2009-10-08 12:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 966 bytes --]
thank you both.
why can't u just extend the the original macro to take a page range?
e.g., [page=1-2]
Taco Hoekwater wrote:
> luigi scarso wrote:
>
>> hmm maybe
>> \copypages
>>
>
> Or, if you need more control, something like this:
>
> \getfiguredimensions[x.pdf]%
> \imgcount=\noffigurepages\relax
> \dorecurse
> {\the\imgcount}
> {\externalfigure
> [x.pdf]
> [page=\recurselevel]}
>
>
> Best wishes,
> Taco
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 1842 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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] 5+ messages in thread
* Re: inserting pdf
2009-10-08 12:36 inserting pdf Mohamed Bana
2009-10-08 12:39 ` luigi scarso
@ 2009-10-08 12:45 ` Peter Rolf
1 sibling, 0 replies; 5+ messages in thread
From: Peter Rolf @ 2009-10-08 12:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Mohamed!
Mohamed Bana schrieb:
> hi folks,
>
> assuming x.pdf has more than 1 page, this only inserts the first. i'd
> like to insert all the pages. how would i do that?
>
\filterpages[file.pdf][1:6][width=18cm]
see
http://wiki.contextgarden.net/Including_pages_from_PDF_document
for more details.
Best wishes, Peter
> startTEXpage
> \externalfigure[x.pdf]
> \stopTEXpage
>
>
>
> \externalfigure[x.pdf][page=1-2]
>
> doesn't work either. I have to do;
>
> \startTEXpage
> \externalfigure[x.pdf][page=1]
> \stopTEXpage
>
> \startTEXpage
> \externalfigure[x.pdf][page=2]
> \stopTEXpage
>
>
> I'm using
>
> $ pdftex --version
> pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)
>
> and whatever comes with texlive 2008.
>
> regards,
> Mohamed
> ___________________________________________________________________________________
>
> 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
> ___________________________________________________________________________________
>
>
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2009-10-08 12:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-08 12:36 inserting pdf Mohamed Bana
2009-10-08 12:39 ` luigi scarso
2009-10-08 12:43 ` Taco Hoekwater
2009-10-08 12:45 ` Mohamed Bana
2009-10-08 12:45 ` Peter Rolf
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).