Difference between revisions of "Command/copypages"

From ConTeXt wiki
Jump to navigationJump to search
 
Line 6: Line 6:
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>copypages</syntax>
 
<syntax>copypages</syntax>
 +
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Latest revision as of 16:05, 12 November 2019

\copypages

Syntax (autogenerated)

\copypages[...][...=...,...][...=...,...]
[...]file
markingon off
offsetdimension
nnumber
...=...,...inherits from \setupexternalfigure


Syntax

\copypages[...][...][...]
[...] filename
[...] n=number of pages, counting from start
[...] other settings (TBD)
[...] figure options, see \useexternalfigure

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.

Example

\copypages[file.pdf][n=30][scale=950]

Insert the first 30 pages of file.pdf, scaled down to 95%.

See also

  • \filterpages to pick and choose PDF pages to insert
  • \copypages to insert pages from 1 to n from another PDF
  • \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
  • \setuparranging to arrange the document's pages on the sheet

Help from ConTeXt-Mailinglist/Forum

All issues with: