PDFKit two page display differs from Preview
PDFKit two page display differs from Preview
- Subject: PDFKit two page display differs from Preview
- From: Martin Hewitson <email@hidden>
- Date: Sat, 08 Dec 2012 11:20:09 +0100
Dear list,
When one uses PDFKit and PDFView to display a pdf, there are built-in view settings one can access (right-click context menu) for setting "Two Pages", "Two Page Continuous" etc. On Preview.app, you only get View->Single Page or View->Two Pages.
The issue I have is that given a PDF created in LaTeX to display correctly when bound as a book, PDFView and Preview have different behaviour for "Two Pages".
(The LaTeX setting is \documentclass[10pt,a4paper,fleqn,twosides,titlepage]{book})
Preview nicely shows the cover page as single and then subsequent pairs of pages side-by-side, like this
1
2 3
4 5
6 7
Whereas PDFView shows
1 2
3 4
5 6
which is kind of wrong.
Does anyone know how to replicate the Preview behaviour? It somehow is able to tell from the PDF that the first page is expected to have a blank rear side. Is this a hidden pdf attribute?
Interestingly, Acrobat (at least version 10) can replicate both behaviours via the View->Page Display->Show Cover Page menu.
Anyone had any experience with this?
Best wishes,
Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden