Hi Thomas,
I am preparing notes for my lectures and I would like to include some
online news articles (such as NY times) that I save as PDF, in my
notes (these notes are for me). When I save these online articles as
pdf, I often get a small left margin and big right margin (just as in
includethis.pdf; I deliberately made it similar to these news
articles).
I will try to do this using lua loop. I should learn it. I am learning
so many new things currently that I have not had a chance to learn
Lua.
I was wondering if Aditya's filter module could be used to use Python
instead of Lua, but I suppose I should ask that as a new question.
Thanks for your help.
Bharat
On Wed, Feb 23, 2011 at 6:33 AM, Thomas A. Schmitz
"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.
Thomas
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
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
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.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________