[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command line -dpaper-size overrides ly:set-option 'paper-size
From: |
Phil Burfitt |
Subject: |
Re: Command line -dpaper-size overrides ly:set-option 'paper-size |
Date: |
Wed, 9 Apr 2014 18:17:51 +0100 |
----- Original Message -----
From: "Phil Burfitt" <address@hidden>
To: <address@hidden>
Sent: Wednesday, April 09, 2014 5:35 PM
Subject: Command line -dpaper-size overrides ly:set-option 'paper-size
If I have #(ly:set-option 'paper-size "letter") in a .ly file and compile
with command line option -dpaper-size = "a4", the a4 setting overrides the
letter setting and creates an a4 pdf!
Should and why is that happening?
Additionally, ly:get-option 'paper-size returns "letter" in the above
situation, and returns "a4" if I remove the #(ly:set-option 'paper-size
"letter") line from the file!
Confused,
Phil.
I'm even more confused???
If I have
\paper { #(set-paper-size "letter") }
and compile with -dpaper-size = "a4"
I get a letter format pdf and ly:get-option 'paper-size returns "a4" ???
Phil.