Command/insertpages
< Command
Jump to navigation
Jump to search
Contents
\insertpages
Summary
The command \insertpages is used to insert pages from another PDF file
Settings
\insertpages[...][...,...][...=...,...] | |
[...] | file |
[...,...] | number |
width | dimension |
n | number |
category | name |
Option | Explanation | ||
---|---|---|---|
number | Included pages after which to insert an extra empty page | ||
width |
| ||
n |
| ||
category |
|
Description
Insert pages from another PDF file as pages in the current document. The second argument causes ConTeXt to insert blank pages after specific inserted pages.
Please note that the inserted pages will be placed on your ConTeXt pages like a new "layer", or floating object. This means that your existing headers, footers, crop marks will still be printed on top of or behind the inserted pages.
If you want to insert pages as completely independent pages between your existing ConTeXt pages, use \startpagefigure.
Examples
Example 1
This inserts the first 30 pages of the file.pdf and adds a blank page after the first and the third page, inserting 32 pages in all.
\insertpages[file.pdf][1,3][n=30,width=18cm]
Notes
See also
- page-sel.mkvi
- \filterpages to pick and choose PDF pages to insert
- \copypages to insert pages from 1 to 'n' from another PDF
- \startpagefigure to insert a figure as a separate page
- \defineexternalfigure