LaTeX forum ⇒ Page LayoutHow to View Page Dimensions of PDF? Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

How to View Page Dimensions of PDF?

Postby insipidtoast » Thu Dec 20, 2012 2:00 am

I have an interesting situation. I had to correct a few pages from my book before sending just those pages back to the printer for printing. I used the pdfpages (to include only a few pages from my pdf) option to select just a few pages from the pdf file of my book. The printer wants me to send each corrected page as its own separate pdf document.

The printer said that the corrected pages are a quarter inch smaller than they are supposed to be. I have no idea why, because I am looking at my latex preamble (the one from which I generated the pdf file of my book) and it has the following code:
  1. \usepackage[
  2. noinfo,
  3. cam,
  4. width=6.25in, % the width of the galley
  5. height=9.25in, % the height of the galley
  6. center % actual page is centered on the galley
  7. ]{crop}


The pages should all export at the above dimensions because the book is going to be 6x9. After entering the above code the page dimensions will obviously be 6.25x9.25 with quarter-inch crop marks.

So, why does the printer tell me that the corrected pages I sent them (the ones that I extracted from the pdf file of the book) are only 6"x9". I extracted them from a pdf document that was set at 6.25x9.25, so why aren't they the same dimensions?


Also, simpler question: how do I view the page dimensions of a pdf document once I have created it? I need to be able to confirm that I've done things properly so I don't have to keep wasting my time.
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class

Link:
BBcode:
HTML:
Hide post links
Show post links

insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Postby insipidtoast » Thu Dec 20, 2012 2:58 am

Well I think I know the answer to my own question: it's because the parameters of the new document override the parameters of the inserted document.

In this case, I had the page layout set at 6x9 instead of 6.25x9.25.

The printer also just told me that the crop marks were wrong one one side of the page though, but not on the other. Hah I have no idea how that happened.
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class

Link:
BBcode:
HTML:
Hide post links
Show post links

mas
Posts: 188
Joined: Thu Dec 04, 2008 4:39 am

Postby mas » Fri Dec 21, 2012 3:11 am

insipidtoast wrote:I had to correct a few pages from my book before sending just those pages back to the printer for printing. I used the pdfpages (to include only a few pages from my pdf) option to select just a few pages from the pdf file of my book. The printer wants me to send each corrected page as its own separate pdf document.

Glad that you have found an answer to your problem. I have a suggestion for these kind of situations. Use pdftk. It is the swiss army knife for pdf's.

Your problem could have been solved easily with
  1. pdftk inputfile.pdf cat p1-p10,p15 output new.pdf

There is no need to create another TeX file just to extract some pages. That way the document settings are not altered.

Regards.

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim

Link:
BBcode: Topic is solved[/url]" title="Click to select post's link in BBcode format" onclick="this.focus();this.select();" />
HTML: Topic is solved</a>" title="Click to select post's link in HTML format" onclick="this.focus();this.select();" />
Hide post links
Show post links

insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Postby insipidtoast » Tue Jan 15, 2013 7:16 pm

Great suggestion. Thanks!
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 3 guests