• Force page 1 to be shown opposite page 2

    From Julian D. A. Wiseman@21:1/5 to All on Sat Apr 8 12:31:36 2017
    I have a PostScript program used to generate PDFs. When such PDFs are viewed two-pages-at-a-time, side-by-side, I want page 1 to be opposite page 2, rather than the usual behaviour of page 1 alone and page 2 opposite 3.

    Presumably if there is a way to specify this in the PDF, that specification could be passed to the PDF from PostScript by mark … pdfmark.

    ¿Please, is there a way for a PDF to require that page 1 is to be shown opposite page 2?

    For those interested, link to program and its manual: http://www.jdawiseman.com/papers/placemat/placemat.ps http://www.jdawiseman.com/papers/placemat/placemat.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Flynn@21:1/5 to Julian D. A. Wiseman on Sat Apr 8 21:49:37 2017
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256

    On 04/08/2017 08:31 PM, Julian D. A. Wiseman wrote:
    I have a PostScript program used to generate PDFs. When such PDFs
    are viewed two-pages-at-a-time, side-by-side, I want page 1 to be
    opposite page 2, rather than the usual behaviour of page 1 alone
    and page 2 opposite 3.

    Presumably if there is a way to specify this in the PDF, that
    specification could be passed to the PDF from PostScript by mark …
    pdfmark.

    No, this is not specified in the PDF (I think).
    It's an artifact of your viewer.
    See if there is an option for "two-page view without cover"
    (It think p.1 is the cover of a booklet).

    ///Peter
    - --
    XML FAQ: http://xml.silmaril.ie/
    Formatting Information: http://latex.silmaril.ie/



    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2

    iQEcBAEBCAAGBQJY6UyKAAoJEHt9ZfbX6inQ+x0H/3h3P9EwIzmIWD9PGRuJLzWo PtxdjdDMB/D4TCPvhSyWlmeA8Zw3sZ6K6VNLX7qosOQHxcy9E6RDK1Wy3OxpYl+a FTeSxNK9Ep+5VKAIe1q9114hx3HlEW/GNEa/qnlk/Eeo8t9ElaMBGcbjA4rDs2T1 wtax22DZkO24/H6YiVotCBZtAzrZs8AoSBuS94b+DnQYwe5NuQXg1EpE38ZIJSQW NlMh2o4YWkFJFcH9G6IjoMmbajjfrHOVoVEOBEu8EI3bPmJE31syGDF/f5GU3JAn zs8D1mJftH1Pwr/ot9g8ZmcRrv58aCDi60sc2aM8dFhgc4mf4BzLMsmrj/74Jzg=
    =53QW
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julian D. A. Wiseman@21:1/5 to Peter Flynn on Sat Apr 8 15:16:49 2017
    On Saturday, 8 April 2017 21:49:39 UTC+1, Peter Flynn wrote:
    No, this is not specified in the PDF (I think).

    Thank you for the reply, confirming my (less knowledgeable) suspicion.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tlvp@21:1/5 to Julian D. A. Wiseman on Sun Apr 9 01:24:01 2017
    On Sat, 8 Apr 2017 12:31:36 -0700 (PDT), Julian D. A. Wiseman wrote:

    I have a PostScript program used to generate PDFs. When such PDFs are viewed two-pages-at-a-time, side-by-side, I want page 1 to be opposite page 2, rather than the usual behaviour of page 1 alone and page 2 opposite 3.

    Presumably if there is a way to specify this in the PDF, that specification could be passed to the PDF from PostScript by mark … pdfmark.

    ¿Please, is there a way for a PDF to require that page 1 is to be shown opposite page 2?

    For those interested, link to program and its manual: http://www.jdawiseman.com/papers/placemat/placemat.ps http://www.jdawiseman.com/papers/placemat/placemat.html

    I would suggest prepending a blank page 0 to your page-set.

    (You can get pdftk to do such prepending for you, given a blank PDF page.)

    Then the viewer will treat that blank page as the start page, to be
    displayed by itself, and will treat your pages 1 and 2 as its second and
    third pages, to be shown facing, etc. HTH. Cheers, -- tlvp
    --
    Avant de repondre, jeter la poubelle, SVP.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julian D. A. Wiseman@21:1/5 to tlvp on Sun Apr 9 06:08:05 2017
    On Sunday, 9 April 2017 06:24:06 UTC+1, tlvp wrote:
    I would suggest prepending a blank page 0 to your page-set.

    Ick! That’s damaging a bigger thing to hack a smaller thing.

    But illuminating, in that if that is the best solution then there really isn’t a proper solution.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From SaGS@21:1/5 to Julian D. A. Wiseman on Sun Apr 9 08:27:24 2017
    On Saturday, April 8, 2017 at 10:31:37 PM UTC+3, Julian D. A. Wiseman wrote:
    I have a PostScript program used to generate PDFs. When such PDFs are viewed two-pages-at-a-time, side-by-side, I want page 1 to be opposite page 2, rather than the usual behaviour of page 1 alone and page 2 opposite 3.
    ...

    [{Catalog} << /PageLayout /TwoColumnLeft >> /PUT pdfmark

    or, if you prefer (requries PDF 1.5 or above)

    [{Catalog} << /PageLayout /TwoPageLeft >> /PUT pdfmark

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julian D. A. Wiseman@21:1/5 to SaGS on Wed Apr 12 13:47:05 2017
    On Sunday, 9 April 2017 16:27:25 UTC+1, SaGS wrote:
    [{Catalog} << /PageLayout /TwoColumnLeft >> /PUT pdfmark

    or, if you prefer (requries PDF 1.5 or above)

    [{Catalog} << /PageLayout /TwoPageLeft >> /PUT pdfmark

    Thank you. That’s what I wanted.

    (Except that it’s ignored by Apple Preview {growl}, but that’s Apple Preview.)

    Is there any disadvantage to choosing the first?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From SaGS@21:1/5 to Julian D. A. Wiseman on Thu Apr 13 02:05:44 2017
    On Wednesday, April 12, 2017 at 11:47:06 PM UTC+3, Julian D. A. Wiseman wrote:

    [{Catalog} << /PageLayout /TwoColumnLeft >> /PUT pdfmark

    or, if you prefer (requries PDF 1.5 or above)

    [{Catalog} << /PageLayout /TwoPageLeft >> /PUT pdfmark

    Is there any disadvantage to choosing the first?

    No, but there is a difference between the two. The 1st is ‘continuous view’, that is one can scroll to see the bottom of a 2-page spread and the top of the next. With the 2nd the scroll ‘jumps’ at page boundaries (or 2-page spreads in this case).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julian D. A. Wiseman@21:1/5 to All on Thu Apr 13 11:20:35 2017
    Thank you. It’s in
    http://www.jdawiseman.com/papers/placemat/placemat.ps
    for which the manual is at http://www.jdawiseman.com/papers/placemat/placemat.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)