Re: A question about scores and parts from a blind user
Daniel, On Mon, May 25, 2015 at 6:56 PM, Daniel Contreras [via Lilypond] < ml-node+s1069038n177052...@n5.nabble.com> wrote: > Can anyone tell me why my compilation is so large? Is it including the > entire score all over again? > Like Nick said, the \include command takes the contents of the included file and inserts it at the point you are including it. And yes, if you have a \score block in the file you are including, it will create that score in addition to the trumpet part file. Here's how I would recommend your work-flow if you want to do it this way: 1. Create two files. One file will contain the musical *content* assigned to variables, like this: % file name: parts.ily % this file contains the music for each instrument trumpetOneNotes = { c'1 } trumpetTwoNotes = { e'1 } and so on. The other file will contain the score *structure*, where the variables are used, like this: % file name: brasstrio.ly % this file contains the code for each score to be created, one for % the ensemble and one for each of the individual parts \book { \bookOutputSuffix "FullScore" \score { << \new Staff \trumpetOneNotes \new Staff \trumpetTwoNotes >> } } \book { \bookOutputSuffix "Trumpet1-Part" \score { \new Staff \trumpetOneNotes } } \book { \bookOutputSuffix "Trumpet2-Part" \score { \new Staff \trumpetTwoNotes } } Doing it this way will output a separate PDF for each \book block and will allow you to customize the header, layout, etc. for each. This forms the basis for any template you might use. 2. Decide which way you want to do the \include. If you want to \include the *content* file (parts.ily), then put \include "parts.ily" BEFORE the first \book block in brasstrio.ly. If you want to \include the *structure* file (brasstrio.ly), then put \include "brasstrio.ly" AFTER all the content variables in parts.ily. In either case, the implicit result is a file that has the variables at the top and the \book blocks at the bottom (which you can also do). You decide which way works best for you! - Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/A-question-about-scores-and-parts-from-a-blind-user-tp177052p177100.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: A question about scores and parts from a blind user
Daniel, Yes, when you use the "\include" function, LilyPond will treat the included file as though it is entirely included in the including file. So if you have an active "\score { . . . }" block inside the included file, LilyPond will generate that block as well as the "\score { . . . }" block in the trumpet part. To get around this, I usually put all of the notes in a file with no "\score { . . . }" block and then have separate files for the score and all the parts. That way I can use "\include" without generating a score that I don't want. Does that make sense? HTH, Nick On Mon, May 25, 2015 at 5:56 PM, Daniel Contreras wrote: > Hello everyone, > I am attempting to finish and arrangement to a song for three brass parts. > I'm not sure I fully grasp the understanding of the \include and its > function. I have one file which contains all of the variables that I am > using as well as the layout of the score. What I am trying to do, is used > that file to create my parts. I have created a trumpet part file, and when > I compile it using the variable from the score file, it returns to me a 7 > or 8 page long pdf. this doesn't seem right to me, as the score itself is > only five or six pages long. The part for the trumpet should be in my > estimation around two or three pages long. I have compressed the multi > measure rest. Can anyone tell me why my compilation is so large? Is it > including the entire score all over again? Thanks for any help. Sorry I was > unable to provide a tiny example, I had to step away from my computer a > little bit LOL. > > Daniel Contreras > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- And she forgot the stars, the moon, and sun, And she forgot the blue above the trees, And she forgot the dells where waters run, And she forgot the chilly autumn breeze... — Keats, "Isabella, or the Pot of Basil" ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
A question about scores and parts from a blind user
Hello everyone, I am attempting to finish and arrangement to a song for three brass parts. I'm not sure I fully grasp the understanding of the \include and its function. I have one file which contains all of the variables that I am using as well as the layout of the score. What I am trying to do, is used that file to create my parts. I have created a trumpet part file, and when I compile it using the variable from the score file, it returns to me a 7 or 8 page long pdf. this doesn't seem right to me, as the score itself is only five or six pages long. The part for the trumpet should be in my estimation around two or three pages long. I have compressed the multi measure rest. Can anyone tell me why my compilation is so large? Is it including the entire score all over again? Thanks for any help. Sorry I was unable to provide a tiny example, I had to step away from my computer a little bit LOL. Daniel Contreras ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user