[NTG-context] increase space on the left of pages included using \copypages

Thomas A. Schmitz thomas.schmitz at uni-bonn.de
Wed Feb 23 12:33:35 CET 2011

"Curiouslearn" (if you're older than 13 years, I'd appreciate a real name), it's not easy to see what you want to do. The included pages, like the document where you want to include them, are letter size. If you simply include them, they will take the entire width. The small margin left and big margin right are already in you includethis.pdf. If you want more margin left, all you can do is scale the image. Or adjust the papersize of the file you want to include. But if you want to have some special effect (like pushing part of your included image off the page), you'll have to use something like \externalfigure, as Hans suggested. Btw, if you know the number of pages you want to include, it's relatively trivial to write a simple loop, both in mkii (with \dorecurse and \recurselevel) or with a lua loop. 


On Feb 23, 2011, at 12:11 PM, Curiouslearn wrote:

> Anyone? If it cannot be done, I would appreciate if someone can say that. I
> Thanks you.
> On Tue, Feb 22, 2011 at 9:16 AM, Curiouslearn <curiouslearn at gmail.com> wrote:
>> Can someone please help me with this? I suppose I have not received an
>> answer because there is no minimal example. I thought it would be
>> straightforward for someone in the forum without seeing an example.
>> Anyhow I have attached a pdf file (includethis.pdf) and a tex file in
>> which I am trying to include pages from the pdf file. I want to
>> increase the left side margin on the pages on which included file is
>> present.
>> Thank you in advance.
>> On Mon, Feb 21, 2011 at 10:58 AM, Curiouslearn <curiouslearn at gmail.com> wrote:
>>> Hello,
>>> I am trying to use the \copypages command to include a pdf file,
>>> say file3pages.pdf with three pages in my context
>>> document. First, I issued the command:
>>>    \copypages[file3pages.pdf]
>>> The pages from file3pages.pdf are too close to the left
>>> margin. There is not enough white space on the left whereas,
>>> there is a lot of space on the right of the included pages. So, I tried
>>>    \hskip 0.5in \copypages[file3pages.pdf]
>>> This creates appropriate space on the left of the included pages,
>>> but only for the first page of file3pages.pdf. The second and
>>> third pages of file3pages.pdf are the same as before (too close
>>> to the left margin).
>>> How can I apply \hskip 0.5in to each of the pages included from the
>>> file3pages.pdf.
>>> Can someone please suggest if there is a better way to
>>> increase the space on the left. Please note that the included
>>> pages do not respect the margins I have set for the document.
>>> Thanks a lot.

More information about the ntg-context mailing list