Hi John,
John R. Culleton :
> I need to insert some example pages from one document into
> another. Both are 8.5 x 11.
>
> I have read the old posts about \startTEXpage etc. and looked at
> the source code. But I still have a few questions:
> 1. Can I select e.g., just page 2 from the external document to
> insert in my document? How?
I'm no expert, but here's the way I do it:
\externalfigure[filename][page=2]
Then, I adjust the clipping to -- for instance -- get rid of the page
number of the inserted `figure', as well as of its top and left margins.
\clip [ voffset=1.25in, % clip the topmost part of the inserted page
hoffset=1.5in, % clip the left margin of the inserted page
height=9in, % clip the bottom of the inserted page
width=5.1in] % clip the right margin
{\externalfigure[filename][page=2]}}
And, if you like, you can put all this into a \midaligned{}.
> 2. Does Context automatically bump its page counter to compensate
> for the inserted page or pages, or do I have to adjust it after
> each such insertion?
Well, if you treat the inserted PDF page as a figure, the page number of
your main document won't be affected. Just clip the page number (if any)
which lies on the inserted PDF page.
Regards,
David
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context