TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the dvipdfm documetation, there is a special command for including the first page of an embedded pdf (using \special{pdf:epdf ... (file.pdf)}. Is there a way to insert for instance the fifth page of a pdf file.

share|improve this question
up vote 5 down vote accepted

According to XeTeX reference, it should be as simple as \XeTeXpdffile <filename> [page <int>], so, for example:

\hoffset-1in\voffset-1in\advance\hsize by1in\advance\vsize by1in
\XeTeXpdffile "XeTeX-reference.pdf" page 16

should give you the 16th page of the reference file, which includes information on other options you can use.

share|improve this answer
I knew I saw it somewhere. Thanks, that will do it. – Adam L. S. Aug 13 '11 at 7:28
This has a scale option with, just have to append the scale/xscale/width/… word, and then the scaling. – Adam L. S. Aug 13 '11 at 7:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.