Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
\nopagenumbers
\XeTeXpdffile "XeTeX-reference.pdf" page 16
\bye

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
add comment

Your Answer

 
discard

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.