Featured Book

LaTeX Beginners Guide

Who is online

In total there are 5 users online :: 1 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: ghuczek and 4 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

How to View Page Dimensions of PDF? Topic is solved

Add tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

How to View Page Dimensions of PDF?

Postby insipidtoast on Thu Dec 20th, 2012

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:
Code: Select all  •  Open in writeLaTeX
  \usepackage[
       noinfo,
       cam,
        width=6.25in,         % the width of the galley
       height=9.25in,        % the height of the galley
       center                % actual page is centered on the galley
     ]{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
insipidtoast
 
Posts: 128
Joined: Wed Jul 4th, 2012

Re: How to View Page Dimensions of PDF?

Postby insipidtoast on Thu Dec 20th, 2012

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
insipidtoast
 
Posts: 128
Joined: Wed Jul 4th, 2012

Re: How to View Page Dimensions of PDF?  Topic is solved

Postby mas on Fri Dec 21st, 2012

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
Code: Select all  •  Open in writeLaTeX
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 2013; Editor : Vim
mas
 
Posts: 150
Joined: Thu Dec 4th, 2008

Re: How to View Page Dimensions of PDF?

Postby insipidtoast on Tue Jan 15th, 2013

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
insipidtoast
 
Posts: 128
Joined: Wed Jul 4th, 2012


Return to Page Layout

Who is online

Users browsing this forum: ghuczek and 4 guests