Re: Landscape printing
On Sun 07 Apr 2024 at 22:09:05 (+0100), Wol wrote: > On 07/04/2024 21:15, David Wright wrote: > > \version "2.24.0" % 2017-06-14 > > %% Seehttp://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html > > %% The paper itself is rotated to landscape. > > \paper { > >#(set-paper-size "letterlandscape") > > } > > So I guess what SHOULD work is > > \paper { > #(set-paper-size "a4landscape") > \include "../../Include/paper.bookTitleMarkup.ily" > } > > > Guess what :-( it has absolutely no effect. (And I tried putting the > paper block both before, and after, the score. I think I also had it > inside the score block at one point.) > > That's why I'm so puzzled, because Colonel Bogey has landscape music. > Grandioso - absolutely nothing works. With your four attachments in /tmp/, I ran the first and fourth. First: portrait paper with portrait music. Fourth: portrait paper with landscape music on its side. I then edited "a4" 'landscape) → "a4landscape") and got the attached, fully landscape, music. Cheers, David. partTromboneI3.pdf Description: Adobe PDF document GNU LilyPond 2.25.10 (running Guile 2.2) Processing `partTromboneI3.ly' Parsing... partTromboneI3.ly:7:10: error: cannot find file: `voiceTromboneI.ily' (search path: `/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/ly:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/ps:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/scm:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/fonts/otf/:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/fonts/svg/:/home/david/LilyLib/:/home/david/LilyLib/margins/:/home/david/LilyLib/parts-midis/:') \include "voiceTromboneI.ily" partTromboneI3.ly:10:10: error: cannot find file: `header.ily' (search path: `/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/ly:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/ps:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/scm:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/fonts/otf/:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/fonts/svg/:/home/david/LilyLib/:/home/david/LilyLib/margins/:/home/david/LilyLib/parts-midis/:') \include "header.ily" partTromboneI3.ly:24:33: error: unknown command: `\voiceTromboneI' \voiceTromboneI partTromboneI3.ly:24:33: error: string outside of text script or \lyricmode \voiceTromboneI partTromboneI3.ly:35:20: error: cannot find file: `../../Include/paper.bookTitleMarkup.ily' (search path: `/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/ly:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/ps:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/scm:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/fonts/otf/:/home/david/lilypond-2.25.10-linux-x86_64/share/lilypond/2.25.10/fonts/svg/:/home/david/LilyLib/:/home/david/LilyLib/margins/:/home/david/LilyLib/parts-midis/:') \include "../../Include/paper.bookTitleMarkup.ily" Note: compilation failed and \version outdated, did you update input syntax with convert-ly? https://lilypond.org/doc/v2.25/Documentation/usage/updating-files-with-convert_002dly Interpreting music...[8] Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Converting to `partTromboneI3.pdf'... fatal error: failed files: "partTromboneI3.ly"
Landscape printing
On 7 Apr 2024 at 20:30, Wol wrote: > I'm having fun trying to get things to print landscape. Okay, I'm doing > "monkey see monkey do" programming, but I have two apparently almost > identical files, one of which prints landscape, the other portrait. The syntax for specifying landscape output ws changed recently. Try this: \paper { #(set-paper-size "letterlandscape") } That's all by itself, not in the header block. It works for me. -- Tim Slattery timslatt...@utexas.edu
Re: Landscape printing
On 07/04/2024 21:15, David Wright wrote: \version "2.24.0" % 2017-06-14 %% Seehttp://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html %% The paper itself is rotated to landscape. \paper { #(set-paper-size "letterlandscape") } Cheers, David. So I guess what SHOULD work is \paper { #(set-paper-size "a4landscape") \include "../../Include/paper.bookTitleMarkup.ily" } Guess what :-( it has absolutely no effect. (And I tried putting the paper block both before, and after, the score. I think I also had it inside the score block at one point.) That's why I'm so puzzled, because Colonel Bogey has landscape music. Grandioso - absolutely nothing works. Cheers, Wol
Re: Landscape printing
On Sun 07 Apr 2024 at 20:30:53 (+0100), Wol wrote: > I'm having fun trying to get things to print landscape. Okay, I'm > doing "monkey see monkey do" programming, but I have two apparently > almost identical files, one of which prints landscape, the other > portrait. I use the following files, named to taste: \version "2.24.0" % 2013-11-11 \paper { #(set-paper-size "letter") } \version "2.24.0" % 2017-06-14 %% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html %% The music is rotated to landscape, but the paper itself is still portrait. \paper { #(set-paper-size "letter" 'landscape) } \version "2.24.0" % 2017-06-14 %% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html %% The paper itself is rotated to landscape. \paper { #(set-paper-size "letterlandscape") } Cheers, David.
Landscape printing
I'm having fun trying to get things to print landscape. Okay, I'm doing "monkey see monkey do" programming, but I have two apparently almost identical files, one of which prints landscape, the other portrait. Even worse, putting the stuff in the paper block seems to be completely ignored. Okay, part of it is confusion between "set-paper-size" and "set-default-paper-size", but at the end of the day, nothing makes sense. I attach two "part" files which are almost identical. Both have set-default-paper-size in the layout block. Both are physically portrait, but Grandioso (the one I'm working on) is fully portrait. Colonel Bogey is on its side, so it's effectively landscape that's been rotated 90 degrees. Okay, my ideal scenario would be to have the page properly landscape, but I can't even get the music to rotate on the page ... is there anything obviously different and wrong with Grandioso compared to Colonel Bogey? The other ideal scenario would be to actually understand what's going on :-) I've read the manual https://lilypond.org/doc/v2.25/Documentation/notation/setting-the-paper-size but like most man pages it probably only makes sense once you already understand it ... (Comment out bookTitleMarkup - I've just redefined/overridden the standard one to give a Brass Band header rather than an orchestral header.) Cheers, Wol\version "2.10.2" \include "english.ly" %\include "header.ily" \include "voiceStaff.ily" \include "voiceTrombone.ily" \header { \include "header.ily" instrument = \markup \line { "1st Trombone" \tiny \smaller \smaller \musicglyph #"clefs.F" } } %#(ly:set-option 'point-and-click #f) %#(set-global-staff-size 15.87) \score { \new Staff { \set Score.skipBars = ##t { \clef "bass" << \voiceTimeSig \keepWithTag #'TromI \voiceTrombone \voiceMarkup % \voiceDynamicsI >> } } \layout { % system-system-spacing #'minimum-distance = #0 system-system-spacing #'padding = #0 %#(set-default-paper-size "a4" 'landscape) % systems-per-page = 6 page-count = 1 % #(layout-set-staff-size 5) } } \paper { % systems-per-page = 6 \include "../../Include/paper.bookTitleMarkup.ily" } \version "2.10.0" voiceTimeSig = { % \numericTimeSignature \time 6/8 \key bf \major s2.*8 s2.*70 s1*16 s1*16 s1*16 \key bf \major \repeat volta 2 { s1*14 } \alternative { { s1*2 } { s1*2 } } \repeat volta 2 { s1*29 } \alternative { { s1*2 } { s1*2 } } } voiceMarkup = { s2.*8 \bar "||" s2.*70 \bar "||" s1*16 \bar "||" s1*16 \bar "||" s1*16 \repeat volta 2 { s1*14 } \alternative { { s1*2 } { s1*2 } } \repeat volta 2 { s1*29 } \alternative { { s1*2 } { s1*2 } } } % mbreak = {} mbreak = { \break } voiceTrombone = \transpose c' c' \relative c' { r4 f8\ff ef4 d8 | c2. r4 ef8 d4 c8 | bf2. r8 d c bf a g | f4.-> fs-> g-> a-> bf4-> r8 r4 r8 || bf,2.->\p ~ bf4. c-> d-> ef-> ~ ef2. | f2.-> ~ f4. g-> \mbreak % 2 f-> ef-> ~ ef2. | d-> ~ d c-> ~ c | bf-> ~ bf ~ bf8\<( b c cs d ef | e f fs g gs a) bf2.\f ~ bf4. c-> d-> ef-> ~ ef2. | f-> ~ f4. g4.-> | \mbreak % 3 f4.-> ef-> ~ | ef2. d-> ~ d c-> ~ c | bf8( a af g gf f | ff ef d df c cf | bf r4 << \tag #'TromI { bf'4. ~ bf2. ~ bf8 r4 bf4.-> ~ bf2. a8\<( fs g gs a bf \mbreak b c cs d df ef) } \tag #'TromII { df4.-> ~ df2.( d8) r4 df4.-> ~ df2. c8\<( fs g gs a bf \mbreak b c cs d df ef) } >> \resetRelativeOctave f' f2.->\ff ~ f4. g,-> a->bf-> ~ bf2. c2.-> ~ c4. d-> | c-> bf-> ~ bf2. a-> ~ a g-> ~ g | f'8(\> e ef d df c | cf bf a af g gf)\! \mbreak % 5 f4 r8 << \tag #'TromI { c'4.( d ef) } \tag #'TromII { a'( bf c) } >> \resetRelativeOctave bf, bf2.-> ~ bf4. c-> d-> ef-> ~ ef2. f-> f4. g-> f-> ef-> ~ ef2. d-> ~ d c-> ~ c bf4-> r8 r4 r8 r4 r8 << \tag #'TromI { ef4.->( \mbreak d8) r4 r4 r8 r4 r8 ef4.->( d8) r4 d4.-> ~ d2. } \tag #'TromII { a'4->( \mbreak bf8) r4 r r8 af4.-> bf8 r4 af4.-> ~ af2. } >> || << \tag #'TromI { g4. ~ g4 a8 bf2. ef d4. c f,4. ~ f4 g8 af2. d c4. bf g4. ~ g4 a8 bf2. c c4. c } \tag #'TromII { ef4. ~ ef4 f8 g2. ef d4. c d,4. d4 ef8 f2. d' c4. bf ef,4. ~ ef4 f8 g2. c a4. a } >> \mbreak 7 \mbreak \mbreak \mbreak \mbreak \mbreak \mbreak } \version "2.18.2" \include "english.ly" %\include "../../functions.ily" %\include "header.ly" \include "voiceStaff.ily" \include "voiceTromboneI.ily" \header { \include "header.ily" instrument = "1st Trombone" } %#(ly:set-option 'point-and-click #f) %#(set-global-staff-size 15.87) \score { \new Staff { \set Score.skipBars = ##t { \clef "bass" << \voiceTimeSig \voiceTromboneI \voiceMarkup >> } } \layout { #(set-default-paper-size "a4" 'landscape) } } \paper { \include "../../Include/paper.bookTitleMarkup.ily" }
Re: Fresobaldi landscape printing
Urs, I've just updated Fresco to 2.20, and there seems to be an extra check box in the printer dialogue - portrait or landscape (or I missed it before). Set it to "landscape" and it prints fine. Thanks for the idea. Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Thursday, July 25, 2019, 10:46:09 AM, Urs Liska wrote: What versions of Frescobaldi and LilyPond do you use? I'm asking because there have been changes in how Frescobaldi generates the command to invoke LilyPond (actually because of another, more annoying issue with a Ghostscript version mismatch). You are using a downloaded LilyPond I assume? What is the exact invocation as specified in the Frescobaldi Preferences dialog? Urs 25. Juli 2019 10:48, "Peter Toye" schrieb: David, Hmmm. Ghostscript doesn't seem to have an "upgrade" path, just a "download". Which I did and installed 9.27. But Fresco is still picking up 9.20. Any idea how to get Fresco to change its allegiance? It might be that my 9.20 seems to be the 32-bit version, and I downloaded the 64-bit version which fits the OS better (windows Home 64 bit). Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Wednesday, July 24, 2019, 8:15:24 PM, David Kastrup wrote: > Peter Toye writes: >> David, >> Thanks. It's GPL Ghostscript 9.20 > That's from 2016. The changelog mentions > 2016-09-20 09:03:31 -0700 > Ray Johnston > 0e1153bf2d344044cd9fdfb7706f829b63348118 > FitPage should not add in rotation if > destination page is square. > If the PageSize was square, it would be > treated as "not landscape", > but landscape pages in would be arbitrarily rotated. > Note this does not change the bahavior > of PS or EPS page fitting. > TBD: Add an option to fit to a page and > never rotate (FitPageNR) > Resource/Init/pdf_main.ps > which sounds like GhostScript would rotate of > its own accord. I think > we had some kind of fix for that. > Oh yes: > commit 84675bc536af363543bdae1fa422903a977e1ec8 > Author: Masamichi Hosoda > Date: Thu Apr 27 21:18:41 2017 +0900 > Issue 5126: Prevent Ghostscript's unwanted automatic page rotation > > Ghostscript is "too clever" to rotate pages automatically > with "majority decision". > This behavior can cause unwanted page rotation. > > This commit prevents such behavior > by adding option `-dAutoRotatePages=/None` to Ghostscript. > That would be 2.19.60. So it would seem like > something does not work as > intended here. > Maybe that option is only supported in later > GhostScript versions than > what you have?___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
What versions of Frescobaldi and LilyPond do you use? I'm asking because there have been changes in how Frescobaldi generates the command to invoke LilyPond (actually because of another, more annoying issue with a Ghostscript version mismatch). You are using a downloaded LilyPond I assume? What is the exact invocation as specified in the Frescobaldi Preferences dialog? Urs 25. Juli 2019 10:48, "Peter Toye" mailto:lilyp...@ptoye.com?to=%22Peter%20Toye%22%20)> schrieb: David, Hmmm. Ghostscript doesn't seem to have an "upgrade" path, just a "download". Which I did and installed 9.27. But Fresco is still picking up 9.20. Any idea how to get Fresco to change its allegiance? It might be that my 9.20 seems to be the 32-bit version, and I downloaded the 64-bit version which fits the OS better (windows Home 64 bit). Best regards, Peter mailto:lilyp...@ptoye.com (mailto:lilyp...@ptoye.com) www.ptoye.com (http://www.ptoye.com) - Wednesday, July 24, 2019, 8:15:24 PM, David Kastrup wrote: > Peter Toye mailto:lilyp...@ptoye.com)> writes: >> David, >> Thanks. It's GPL Ghostscript 9.20 > That's from 2016. The changelog mentions > 2016-09-20 09:03:31 -0700 > Ray Johnston mailto:ray.johns...@artifex.com)> > 0e1153bf2d344044cd9fdfb7706f829b63348118 > FitPage should not add in rotation if > destination page is square. > If the PageSize was square, it would be > treated as "not landscape", > but landscape pages in would be arbitrarily rotated. > Note this does not change the bahavior > of PS or EPS page fitting. > TBD: Add an option to fit to a page and > never rotate (FitPageNR) > Resource/Init/pdf_main.ps > which sounds like GhostScript would rotate of > its own accord. I think > we had some kind of fix for that. > Oh yes: > commit 84675bc536af363543bdae1fa422903a977e1ec8 > Author: Masamichi Hosoda mailto:truer...@trueroad.jp)> > Date: Thu Apr 27 21:18:41 2017 +0900 > Issue 5126: Prevent Ghostscript's unwanted automatic page rotation > > Ghostscript is "too clever" to rotate pages automatically > with "majority decision". > This behavior can cause unwanted page rotation. > > This commit prevents such behavior > by adding option `-dAutoRotatePages=/None` to Ghostscript. > That would be 2.19.60. So it would seem like > something does not work as > intended here. > Maybe that option is only supported in later > GhostScript versions than > what you have? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
David, Hmmm. Ghostscript doesn't seem to have an "upgrade" path, just a "download". Which I did and installed 9.27. But Fresco is still picking up 9.20. Any idea how to get Fresco to change its allegiance? It might be that my 9.20 seems to be the 32-bit version, and I downloaded the 64-bit version which fits the OS better (windows Home 64 bit). Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Wednesday, July 24, 2019, 8:15:24 PM, David Kastrup wrote: > Peter Toye writes: >> David, >> Thanks. It's GPL Ghostscript 9.20 > That's from 2016. The changelog mentions > 2016-09-20 09:03:31 -0700 > Ray Johnston > 0e1153bf2d344044cd9fdfb7706f829b63348118 > FitPage should not add in rotation if > destination page is square. > If the PageSize was square, it would be > treated as "not landscape", > but landscape pages in would be arbitrarily rotated. > Note this does not change the bahavior > of PS or EPS page fitting. > TBD: Add an option to fit to a page and > never rotate (FitPageNR) > Resource/Init/pdf_main.ps > which sounds like GhostScript would rotate of > its own accord. I think > we had some kind of fix for that. > Oh yes: > commit 84675bc536af363543bdae1fa422903a977e1ec8 > Author: Masamichi Hosoda > Date: Thu Apr 27 21:18:41 2017 +0900 > Issue 5126: Prevent Ghostscript's unwanted automatic page rotation > > Ghostscript is "too clever" to rotate pages automatically > with "majority decision". > This behavior can cause unwanted page rotation. > > This commit prevents such behavior > by adding option `-dAutoRotatePages=/None` to Ghostscript. > That would be 2.19.60. So it would seem like > something does not work as > intended here. > Maybe that option is only supported in later > GhostScript versions than > what you have?___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
David, Nope. That didn't work! Now updating GhostScript. Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Wednesday, July 24, 2019, 8:18:27 PM, David Kastrup wrote: > Peter Toye writes: >> David, >> \paper { >> #(set-paper-size "a4" 'landscape) >> } > Wait. Maybe try > \paper { > #(set-paper-size "a4landscape") > } > instead. Could be that the PDF conversion > isn't happy about true rotation.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
Peter Toye writes: > David, > > \paper { > #(set-paper-size "a4" 'landscape) > } Wait. Maybe try \paper { #(set-paper-size "a4landscape") } instead. Could be that the PDF conversion isn't happy about true rotation. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
Sorry - forgot to include the mailing list. ===8<==Original message text=== David, Thanks. It's GPL Ghostscript 9.20 Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Wednesday, July 24, 2019, 6:49:47 PM, David Kastrup wrote: > Peter Toye writes: >> David, >> Well, it doesn't seem to! >> LP version 2.19.52. > Ah, it actually was changed last in 2.17.10 so > that should not be an issue. >> Not sure how to find out what version of Ghostscript I've got. > Probably mentioned as "Creator" in your PDF file metadata. ===8<===End of original message text===Title: Re: Fresobaldi landscape printing David, Thanks. It's GPL Ghostscript 9.20 Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Wednesday, July 24, 2019, 6:49:47 PM, David Kastrup wrote: > Peter Toye <lilyp...@ptoye.com> writes: >> David, >> Well, it doesn't seem to! >> LP version 2.19.52. > Ah, it actually was changed last in 2.17.10 so > that should not be an issue. >> Not sure how to find out what version of Ghostscript I've got. > Probably mentioned as "Creator" in your PDF file metadata. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
On 7/24/2019 12:01 PM, Peter Toye wrote: Fresobaldi landscape printing I have a score with the paper set to A4 landscape. But when I print it directly from Frescobaldi it's printed in portrait format, and the edges (with quite a lot of music) disappear. Is there any way of getting Fresco to print in landscape format? The workaround is to load the PDF file into a PDF reader and print from that, but it's a bit of a pain. Regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com <http://www.ptoye.com> Hi Peter, I just tried Frescobaldi and it does print landscape correctly, both to paper and PDF output. Which version / OS are you using? Is there anything maybe in your code that could be causing a conflict or something? Are you on version 2.x or 3.x? \version "2.19.82" \header { title = "Composition" composer = "Ben" tagline = ##f } \relative c' { \repeat unfold 100 { c2 d e f g g } \bar "|." } \paper { top-margin = 0.5\in left-margin = 0.75\in right-margin = 0.75\in bottom-margin = 0.5\in ragged-last-bottom = ##f #(set-paper-size "a4" 'landscape) } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
Peter Toye writes: > David, > > \paper { > #(set-paper-size "a4" 'landscape) > } That should, depending on Ghostscript and LilyPond version, suffice for printing in actual (rotated) landscape orientation. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
David, \paper { #(set-paper-size "a4" 'landscape) } Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Wednesday, July 24, 2019, 5:03:54 PM, David Kastrup wrote: > Peter Toye writes: >> I have a score with the paper set to A4 landscape. > How so?___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fresobaldi landscape printing
Peter Toye writes: > I have a score with the paper set to A4 landscape. How so? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fresobaldi landscape printing
I have a score with the paper set to A4 landscape. But when I print it directly from Frescobaldi it's printed in portrait format, and the edges (with quite a lot of music) disappear. Is there any way of getting Fresco to print in landscape format? The workaround is to load the PDF file into a PDF reader and print from that, but it's a bit of a pain. Regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
On Mon 10 Sep 2018 at 00:55:36 (+0200), Simon Albrecht wrote: > On 09.09.2018 23:13, David Kastrup wrote: > > Kieren MacMillan writes: > > > Hi Martin, > > > > \paper { > > > > #(set-paper-size "a4" 'landscape) > > > > } > > > If I’m not mistaken, the correct incantation is > > > > > > \paper { > > > #(set-paper-size "a4landscape") > > > } > > That sets_only_ the papersize, not the orientation. For the screen it > > might be what you want. Whether your printer driver is smart enough to > > figure out what you want is a different question then. > > It has to be, doesn’t it? I don't see why, unless your PDF viewer is unable to rotate pages. > #(set-paper-size "a4landscape" 'landscape) > doesn’t help, because then it’s displayed wrong by both evince and > PyQtPdfViewer (I don’t know its exact name, the one in Frescobaldi…). I avoid ever writing that because it gives the impression that it's going to produce a4landscape paper output, which of course it doesn't. NR §4.1.2 has an odd way of saying this: "When the paper size ends with an explicit ‘landscape’ or ‘portrait’, the presence of a 'landscape symbol only affects print orientation, not the paper dimensions used for layout." AIUI the effect of the 'landscape symbol is unchanged: the pages¹ are rotated and the layout changes to match. > Can’t test printing right now. OK, but the results of such a test would not in general be applicable to others, as we all have different printers, queues, drivers, OSes, etc. Rotating the print on a fixed-orientation page can be an efficient strategy depending on the individual's circumstances. > Although: I get furious every time I feed an A4 page into a normal > copy machine (at my university) the wrong way and the damn thing isn’t > able to figure it out, but goes exactly with the orthogonal relation > and creates a cropped print. This is 2018, man… and that’s still > happening. Yes, copiers and printers aren't in the habit of saying, "Are you sure?" ¹ I would have written "print" rather than "pages". In the context, "Pages" invites confusion with the paper itself. Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
On 09/09/18 23:55, Simon Albrecht wrote: > On 09.09.2018 23:13, David Kastrup wrote: >> Kieren MacMillan writes: >>> Hi Martin, \paper { #(set-paper-size "a4" 'landscape) } >>> If I’m not mistaken, the correct incantation is >>> >>> \paper { >>> #(set-paper-size "a4landscape") >>> } >> That sets_only_ the papersize, not the orientation. For the screen it >> might be what you want. Whether your printer driver is smart enough to >> figure out what you want is a different question then. > > It has to be, doesn’t it? #(set-paper-size "a4landscape" 'landscape) > doesn’t help, because then it’s displayed wrong by both evince and > PyQtPdfViewer (I don’t know its exact name, the one in Frescobaldi…). > Can’t test printing right now. > Although: I get furious every time I feed an A4 page into a normal copy > machine (at my university) the wrong way and the damn thing isn’t able > to figure it out, but goes exactly with the orthogonal relation and > creates a cropped print. This is 2018, man… and that’s still happening. > fwiw, I use the #(set-default-paper-size "a4" 'landscape) syntax and everything works just fine and normal for me. I use okular as my pdf viewer. It seems to be a hard thing to get right, however, because that cropped print you mention, I seem to get quite a lot with firefox. If the damn web-page won't print properly losing stuff to the right, I often select landscape, only to discover the paper prints landscape fine, but the print itself is still cropped to portrait width!!! Cheers, Wol ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
On 09.09.2018 23:13, David Kastrup wrote: Kieren MacMillan writes: Hi Martin, \paper { #(set-paper-size "a4" 'landscape) } If I’m not mistaken, the correct incantation is \paper { #(set-paper-size "a4landscape") } That sets_only_ the papersize, not the orientation. For the screen it might be what you want. Whether your printer driver is smart enough to figure out what you want is a different question then. It has to be, doesn’t it? #(set-paper-size "a4landscape" 'landscape) doesn’t help, because then it’s displayed wrong by both evince and PyQtPdfViewer (I don’t know its exact name, the one in Frescobaldi…). Can’t test printing right now. Although: I get furious every time I feed an A4 page into a normal copy machine (at my university) the wrong way and the damn thing isn’t able to figure it out, but goes exactly with the orthogonal relation and creates a cropped print. This is 2018, man… and that’s still happening. Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
On Sun, 9 Sep 2018, Kieren MacMillan wrote: Hi Martin, \paper { #(set-paper-size "a4" 'landscape) } If I’m not mistaken, the correct incantation is \paper { #(set-paper-size "a4landscape") } Hope that helps! Thanks :-) MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
On Sun, 9 Sep 2018, David Kastrup wrote: Kieren MacMillan writes: Hi Martin, \paper { #(set-paper-size "a4" 'landscape) } If I’m not mistaken, the correct incantation is \paper { #(set-paper-size "a4landscape") } That sets _only_ the papersize, not the orientation. For the screen it might be what you want. Whether your printer driver is smart enough to figure out what you want is a different question then. It seems my printerdriver is smart enough :-) -- MT___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
Am 09.09.2018 um 19:42 schrieb Kieren MacMillan: Hi Martin, \paper { #(set-paper-size "a4" 'landscape) } If I’m not mistaken, the correct incantation is \paper { #(set-paper-size "a4landscape") } This has changed in 2.19.60, see https://github.com/wbsoft/frescobaldi/issues/768 (for some discussion and the support for it in Frescobaldi. IIUC the point is that "a4" 'landscape expresses: "paper format: a4", option: landscape (meaning: rotate the score to print a landscape format on a "regular" paper), while "a4landscape" refers to "landscape" as a property of the paper itself. When you print I don't think there's any difference, this surfaces only when displayed on screen. HTH Urs Hope that helps! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
Kieren MacMillan writes: > Hi Martin, > >> \paper { >> #(set-paper-size "a4" 'landscape) >> } > > If I’m not mistaken, the correct incantation is > > \paper { > #(set-paper-size "a4landscape") > } That sets _only_ the papersize, not the orientation. For the screen it might be what you want. Whether your printer driver is smart enough to figure out what you want is a different question then. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
On Sun 09 Sep 2018 at 19:17:54 (+0200), Martin Tarenskeen wrote: > I used someting like > > \paper { > #(set-paper-size "a4" 'landscape) > } > > My score is turned 90 degrees and formatted for landscape printing. > This is ok for printing but my viewer (Evince) doesn't turn the page > for viewing on my laptop's screen . I have a nice tool named "pdfmod" > that allows me to fix this and now the file looks good on paper and on > on screen. > > But shouldn't lilypond do this for me? > > I'm using lilypond 2.19.82 on Linux Fedora 28. AIUI: LilyLib/Letter-landscape.ily : \version "2.19.49" % 2017-06-14 %% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html %% The paper itself is rotated to landscape. \paper { #(set-paper-size "letterlandscape") } LilyLib/Letter-rotated.ily : \version "2.19.49" % 2017-06-14 %% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html %% The music is rotated to landscape, but the paper itself is still portrait. \paper { #(set-paper-size "letter" 'landscape) } Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: landscape printing and viewing
Hi Martin, > \paper { > #(set-paper-size "a4" 'landscape) > } If I’m not mistaken, the correct incantation is \paper { #(set-paper-size "a4landscape") } Hope that helps! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
landscape printing and viewing
Hi, I used someting like \paper { #(set-paper-size "a4" 'landscape) } My score is turned 90 degrees and formatted for landscape printing. This is ok for printing but my viewer (Evince) doesn't turn the page for viewing on my laptop's screen . I have a nice tool named "pdfmod" that allows me to fix this and now the file looks good on paper and on on screen. But shouldn't lilypond do this for me? I'm using lilypond 2.19.82 on Linux Fedora 28. -- MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user