Difference between revisions of "Command/copypages"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \copypages") |
|||
Line 18: | Line 18: | ||
<cd:parameter name="offset"> | <cd:parameter name="offset"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="cd:dimension">this influences the scale of the included pages. | + | <cd:constant type="cd:dimension">this influences the scale of the included pages, higher values make the included page smaller (by a lot). This setting overrides any <code>scale</code> setting in the third argument, so probably should not be used unless you know exactly what the effect is.</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="n"> | <cd:parameter name="n"> |
Latest revision as of 10:43, 15 November 2021
Contents
\copypages
Summary
The command \copypages is used to insert pages from another PDF
Settings
\copypages[...][...=...,...][...=...,...] | |
[...] | file |
marking | on off |
offset | dimension |
n | number |
...=...,... | inherits from \setupexternalfigure |
Option | Explanation | ||
---|---|---|---|
offset |
| ||
n |
|
Description
Insert pages from another PDF file as pages in the current document. This command differs from \filterpages because one cannot pick and choose, and from \insertpages because one cannot insert extra blank 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
\copypages[file.pdf][n=30][scale=950]
Insert the first 30 pages of file.pdf, scaled down to 95%.
Notes
See also
- \defineexternalfigure
- \setupexternalfigure
- page-sel.mkvi
- \filterpages to pick and choose PDF pages to insert
- \insertpages to insert pages from 1 to 'n' from another PDF, with extra blank pages at specific locations
- \startpagefigure to insert a figure as a separate page