[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDF landscape issue

From: Flaming Hakama by Elaine
Subject: Re: PDF landscape issue
Date: Sun, 2 Jul 2017 17:38:02 -0700

> ---------- Forwarded message ----------
> From: Simon Albrecht <address@hidden>
> To: Francisco Vila <address@hidden>, Dev <address@hidden>
> Cc:
> Bcc:
> Date: Sat, 1 Jul 2017 20:17:53 +0200
> Subject: Re: PDF landscape issue
> On 01.07.2017 18:44, Francisco Vila wrote:
>> Hello,
>> I'd like to know if something has changed recently about the way
>> LilyPond creates landscape documents.
>> In 2.19.58, a landscape document looks right in Evince and in
>> Frescobaldi music PDF preview. In 2.19.62, the same document is rotated
>> 90º counter-clockwise, which is not a problem for Evince as I can rotate
>> it on a keystroke, but there is no such mechanism in Frescobaldi.
>> What is really strange is that the properties dialog in Evince says the
>> document is portrait, not lansdcape.
> This is an intentional change. If I don’t confuse it right now, the
> #(set-paper-size "foo" 'landscape) syntax didn’t actually change paper
> dimensions, but set page rotation. Instead, it’s better to use
> #(set-paper-size "foolandscape") which will reliably set paper dimensions.
> Best, Simon

I was just going to write in about this since I just upgraded from 2.19.15
to 2.19.63 and this is breaking my existing scores.

This command:
#(set-default-paper-size "legal" 'landscape)

Used to set the paper size to legal, lay it out in landscape, and rotate it.
Now, it sets the paper size to legal and lays it out in landscape, but does
not rotate it.

So, what is the command to rotate the page?

\version "2.19.63"

#(set-default-paper-size "legal")
\book {
    \bookOutputSuffix "legal-portrait"
\relative c' {
\mark \markup { "Letter portrait" }

#(set-default-paper-size "legal" 'landscape)
\book {
    \bookOutputSuffix "legal-landscape"
\relative c' {
\mark \markup { "Letter landscape" }


David Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist

Attachment: paper-sizes-legal-portrait.pdf
Description: Adobe PDF document

Attachment: paper-sizes-legal-landscape.pdf
Description: Adobe PDF document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]