Re: Books, bookparts, includes: what?
Il giorno Sun, 07 Mar 2010 00:15:17 +0100 Giovanni Roversi giovi@gmail.com ha scritto: 2) Why does the table of contents go down on the page? Can we put it a bit upper? It goes down because of the \header block. In a previous private message I suggested you to remove it, but there's a much better solution. Keep the \header block and put this line in the \paper block (so you remove it from the first page but you can still use it in other places, for example you may want to print some header information in oddHeaderMarkup and evenHeaderMarkup...): \paper{ bookTitleMarkup = ##f } @Giovanni use Reply to All you sent a couple of emails just to me and I'm sure you wanted to send them to the list.. otherwise why using english? ;-) Ciao, Federico -- http://gnurag.net/blog/ http://fsfe.org/ http://groups.fsf.org/wiki/LibrePlanetItalia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Books, bookparts, includes: what?
Il giorno mar, 09/03/2010 alle 12.56 +0100, Federico Bruni ha scritto: Il giorno Sun, 07 Mar 2010 00:15:17 +0100 Giovanni Roversi giovi@gmail.com ha scritto: 2) Why does the table of contents go down on the page? Can we put it a bit upper? It goes down because of the \header block. In a previous private message I suggested you to remove it, but there's a much better solution. Keep the \header block and put this line in the \paper block (so you remove it from the first page but you can still use it in other places, for example you may want to print some header information in oddHeaderMarkup and evenHeaderMarkup...): \paper{ bookTitleMarkup = ##f } Ok, but I found another solution again: http://lsr.dsi.unimi.it/LSR/Item?id=368. I modified a little bit the code cancelling the scoreTitleMarkup = \markup \null, and I have also a more elegant score :D @Giovanni use Reply to All you sent a couple of emails just to me and I'm sure you wanted to send them to the list.. otherwise why using english? ;-) Ciao, Federico THAT'S why they didn't appear on the forum ;D Ciao, Giovanni ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Books, bookparts, includes: what?
Le 6 mars 2010 à 20:09, Giovanni Roversi a écrit : Ok ok, I know I'm opening a new thread on the same topic just after few days, but I saw another possible solution. The problem follows: I'm transcribing the complete Supper's Ready suite by Genesis, and I want achieve a book: in the first page, the title Supper's Ready, the composer Genesis, and the table of contents with the various parts and their pages. In the second page, the title (or subtitle) 1. Lover's Leap and the text I've wrote there; at the end of the Lover's Leap's score, the second part with title and text, etc. So, I'm trying this: [...] \score { \include Lover's Leap.ly } Your problem is here. Your included file contains top-level declarations, such as global = ... tenorVoiceI = ... or the include of italiano.ly which also contains toplevel decalarations. These are forbidden inside a block (a \book, \bookpart or \score block). A posible solution: put your variables declarations in, say, Lover's Leap-music.ly, and the score block itself in a separate file, e.g. Lover's Leap-score.ly. Then your top file becomes: \version 2.12.2 \include italiano.ly \include Lover's Leap-music.ly \paper { ... } \header { ... } \markuplines \table-of-contents \bookpart { \tocItem \markup { 1. Lover's Leap } \include Lover's Leap-score.ly } Note that you do not need to write \pageBreak at the end of a \bookpart. Nicolas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Books, bookparts, includes: what?
Ok ok, I know I'm opening a new thread on the same topic just after few days, but I saw another possible solution. The problem follows: I'm transcribing the complete Supper's Ready suite by Genesis, and I want achieve a book: in the first page, the title Supper's Ready, the composer Genesis, and the table of contents with the various parts and their pages. In the second page, the title (or subtitle) 1. Lover's Leap and the text I've wrote there; at the end of the Lover's Leap's score, the second part with title and text, etc. So, I'm trying this: \version 2.12.2 \include italiano.ly \book { \paper { ragged-last-bottom = ##t oddFooterMarkup = \markup { \column { \fill-line { \on-the-fly #first-page \fromproperty #'header:copyright } \fill-line { \on-the-fly #part-last-page \fromproperty #'header:parttagline } \fill-line { \on-the-fly #last-page \fromproperty #'header:tagline } } } } \header { title = Supper's Ready composer = Genesis } \markuplines \table-of-contents \pageBreak \bookpart { \tocItem \markup { 1. Lover's Leap } \score { \include Lover's Leap.ly } \pageBreak } \bookpart { \tocItem \markup { 2. The Guaranteed Eternal Sanctuary Man } \score { \include The Guaranteed Eternal Sanctuary Man.ly } \pageBreak } } I attached files, so tell me what it doesn't work, please! Is it for the '\include italiano.ly' in attachments? Is it for the structure of them? Thank you and bye bye, Giovanni from italy. \version 2.12.2 \include italiano.ly \header { title = 1. Lover's Leap } \markup { \justify {\large {\column {\line {In which two lovers are lost in each other's eyes, and found } \line {again transformed in the bodies of another male and female.} } } } } global = { \tempo 4=120 } tenorVoiceI = \relative do' { \override Score.VerticalAxisGroup #'remove-first = ##t \key re \major \time 4/4 \global \dynamicUp la8 la la la~ la4. fad8 | la8 si fad2~ fad8 fad | sold4 sold8 la4 si4. | \break red,4 red8 mi4 (fad4.) | r2 fad8 fad fad sol~ | sol4 fad r r8 fad | \break si8 si4 fad sold lad8~ | lad2 r | la4 la8 la4.~ la8 la | \break la si fad2 r4 | sold4. la si4 | red,4. mi~ mi8. fad16 | \break lad4 lad sold fad | fa fa2 r8 fa | re8 re4 red mid4. | \break fa8 mib4. mib8 fa4. | \bar || r2 sol'8 fa4 fa8~ | fa2 r8 mib re do~ | \break do do4 do sib sib8 | re8 fa~ fa2 r4 | r2 sol4 fa8 fa~ | \break fa4 sib mib, re8 do~ | do4 do re8 (do) sib4 | sib16 (fa sol8~ sol2) r4 | \break \bar || R1*5 | \bar || la8 la4. la4 la | \break la8 si4 fad4.~ fad8 fad | sold8 sold4. la4 si8 red,~ | red red4. mi4 fad | \break r2 fad8 fad fad sol~ | sol4 fad r4. fad8 | lad4 si4. fad8 sold lad~ | \break lad2 r | la2 la4 la | la8 si4 fad8~ fad4. r8 | \break sold4 sold8 la4. si4 | red,2 mi8 fad4 fad8 | lad8 lad4 sold fad mid8~ | \break mid4 r r4. re16 re | re4 re8 mib4. fa8 fa | r2 fa8 fa4. | \bar || \break r2 sol'4. fa8 | fa4. r8 r4. sib,8 | la do4 do do sib8 | \break re8 (fa~ fa2) r4 | r2 sol4 fa8 fa~ | fa fa4 r8 mib4 re8 do~ | \break do do4 re4. sib4 | sib16 (fa sol8~ sol2) r4 | r1 | \break lad4. lad lad4 | lad4. la4 la4. | la4. la4 la4. | \break sib4 (la8) sol4. r4 | r4. sol'8 sol sol4 fad8~ | fad mi4 re4. r4 | \break r1 | r2 r8 si si si | si4 sol la2~ | \break la2 r | r1 | \clef bass r2 \times 2/3 {mi8 re re} r4 | \break \bar || R1*71 | \pageBreak } verseTenorVoiceI = \lyricmode { Wal king a cross the sit ting room I turned the te le vi sion off __ Sit ting be side you, I looked in to your eyes As the sound of mo tor cars fades in the night time I swear I saw your face change it di dn't seem quite ri ght. And it's Hel lo babe with your oh guar dian ey es so blue. hey my ba by don't you know our love is true? Co ming clo ser with our eyes, a dis tance falls a round our bo dies. Out in the gar den, the moon seems ve ry bright. Six sain tly shrou ded men move a cross the lawn slow ly, the sev enth walks in front with a cross held high in hand. And it's hey ba be your sup per's wait ing for you. Hey my ba by don't you know our love is true? I've been so far from here, far from your warm arms. It's good to feel you again. It's been a long long time. Has n't it? } tenorVoiceII = \relative do' { \override Score.VerticalAxisGroup #'remove-first = ##t \global \dynamicUp R1*29 | R1*37 | R1*8 | \clef bass do fa1~ | do fa2.. (fa8) | si, mi4. do fa16 si mi la re2~ | la re r | si mi1~ | si mi | la re4. si mi16 la re sol do2~ | sol do r | la do fa1~ | la do fa | sol si mi4. la do fa16 sol si mi fa la re2~ | fa la re r | sol si mi1~ | sol si mi | fa la re4. sol si mi16 fa la re mi sol do2 | \clef
Re: Books, bookparts, includes: what?
Il giorno Sat, 06 Mar 2010 20:09:50 +0100 Giovanni Roversi giovi@gmail.com ha scritto: Ok ok, I know I'm opening a new thread on the same topic just after few days, but I saw another possible solution. The problem follows: [...] I attached files, so tell me what it doesn't work, please! Is it for the '\include italiano.ly' in attachments? Is it for the structure of them? Thank you and bye bye, Giovanni from italy. Hi Giovanni, I don't know why your solution does not work.. I had hard times with \bookpart some months ago. But I can tell you a working solution based on \include (I've tested it with your files). First, in the included files you should move the \header block inside the \score block, before \layout. Then the book.ly file should look like this: \version 2.12.2 \paper { ragged-last-bottom = ##t print-all-headers = ##t oddFooterMarkup = \markup { \column { \fill-line { \on-the-fly #first-page \fromproperty #'header:copyright } \fill-line { \on-the-fly #part-last-page \fromproperty #'header:parttagline } \fill-line { \on-the-fly #last-page \fromproperty #'header:tagline } } } } \header { title = Supper's Ready composer = Genesis } \markuplines \table-of-contents \pageBreak \tocItem \markup Lover's Leap \include Lover's Leap.ly \tocItem \markup The Guaranteed Eternal Sanctuary Man \include The Guaranteed Eternal Sanctuary Man.ly You may need to change other settings, but at least including files works fine. Ciao, Federico -- http://gnurag.net/blog/ http://fsfe.org/ http://groups.fsf.org/wiki/LibrePlanetItalia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user