> ---------- Forwarded message ----------
> From: Simon Albrecht <simon.albre...@mail.de>
> To: Francisco Vila <paconet....@gmail.com>, Dev <lilypond-devel@gnu.org>
> 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" }
c1
}
}

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



Thanks,

David Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
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

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to