Re: Possibly silly question but…
Hugh, You might want to look at the lyluatex package for LaTeX. It allows you to include LilyPond snippets in a LaTeX document processed with lualatex.I've used it to prepare a collection of Barbershop tags. LilyPond creates PDF files for each tag. LaTex handles the layout and prepares the indexes. I see there is also a lilyglyphs package available on CTAN that also might be useful for you. David Bowen On Fri, Nov 13, 2020 at 7:26 PM Hugh S. Myers wrote: > There are quite a few font viewers out there for win10 and Linux, so that > is not a problem. I've played around with writing code that writes the code > for a type specimen sheet—perhaps now is the time to return to that > project. In the meantime, I'll take a look at the Emmentaler font. Thanks > for the tip!! > > On Fri, Nov 13, 2020 at 6:56 PM Andrew Bernard > wrote: > >> Sorry, that's probably total rubbish from me. C059 just seems to be >> some free text font. The other font in the test PDF is just >> Emmentaler, so I suppose it must be letters from there. [I have never >> quiet figured out what simple tool there is to view Emmentaler font >> glyphs - must be something around.] >> >> Andrew >> >> On Sat, 14 Nov 2020 at 12:47, Andrew Bernard >> wrote: >> > >> > I asked what is the real question in order to find the use to which you >> > want to put it, as there may be an easier way. I am no expert but I am >> > sure you can embed snippets of lilypond scores in TeX works simplty. >> > >> > Anyway, making a test TAB PDF, the font used is CO59, and I see this is >> > supplied in the standard lilypond distribution font directory. >> > >> > By the way, there are no silly questions on the list! >> > >> > Andrew >> > >> > >> >>
Re: Configuring home/bin PATH directory
What OS are you using? For Linux your $PATH is usually set in one of the shell . files, for Windows it is set in ControlPanel\System. David Bowen On Mon, Nov 12, 2018 at 7:34 PM Keizen Li Qian wrote: > Hello, > > I installed 2.18.2 on a drive with a partitioned home directory which had > an old ~home/bin/lilypond. Somewhere the path had been set to this > directory so even after convert-ly successfully converted my old files to > 2.18, running lilypond still grabbed an old version in home/bin. After > renaming the old directory, I get bash: /home/bin/lilypond: No such file or > directory > > I'd appreciate any detailed suggestions for updating this path and finding > information like this. Thank you! > > Keizen > ___ > 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: vars and multiple scores
Klaus, Have you considered the possibility of making each song its own file and then using lylualatex to build the songbook. I'm using that workflow to create a collection of barbershop tags, where the tags run about two or three lines. I have a lilypond template for tags that defines standard names for note and lyric variables and having one tag per file eliminates conflicts between tags. Using lylualatex makes it easy to generate indexes and also to rearrange tags if I need to move things around to improve the spacing on a page. David Bowen On Mon, Jan 14, 2019 at 12:34 PM Klaus Ethgen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi Folks, > > I read the documentation of lilypond and it recommend to define the > notes in variables and use them afterwards. > > But how is that with multiple scores for setting multiple songs in one > file/book? I cannot set the vars inside the score, they have to be > global. But then it is painful to have such a pollution of the global > namespace. > > What is a better way to do so? > > Another think is about transposing. In the example I had before I have > the cords "a:m g a:m g c g d:m a" But with a->e, the d:m gets > transposed to a:m but the song only works with a c here. > > I do not know transposing very well, so, is that just a wrong chord in > the original or is there any trick to get the c from the d:m? If I look > at the Circle of fifths, I just think, the first assumption is right. > > Regards >Klaus > - -- > Klaus Ethgen http://www.ethgen.ch/ > pub 4096R/4E20AF1C 2011-05-16Klaus Ethgen > Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C > -BEGIN PGP SIGNATURE- > Comment: Charset: ISO-8859-1 > > iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlw81hIACgkQpnwKsYAZ > 9qx4sQwAkJzjtn57H152QTIfceVnoDvr6oU0/CklQHidiRGoIFOaNyMZ1ZCOdM3t > MxHXmcY4ex1KHLPXwxIZk+CeEQbwTkEIZs1rh4WnabZd4IMZGyYANMMGsAgj16FH > LdLQ03BN6hT5D/lTwTixtvH+rMqwa6G9VN/RepLrLrV//IxBV8rJL36vEopSBmMr > J3t9/Xbd1svWo3gEu2AnxYwSJQTP4DG+0DdOftTw85sifommMbQe4gtz736N75yD > m1fVv38xi0zGrfK3tvEFE3+qgzKCtgdI2l94oPWM4gQwZhl6doOFqCLNgk9OmEph > I2Q0xZ0ac3dPNliDZN4OS9oU12kgQb68fkcMihILxoFq4XI1iV6DrwEISxj84Kpg > kyR9ozM3odE7SIzJWFjLXkvTkrl0QjLnNLUmdajYxOB37TsfbD9KBenBNkCM9DTt > 4n2sXrGER1Ru4Du9sUmK4NoSR8TJFGX4qOEXx+fknR07dQ/8QtQyTGB4ZhGJ6aSM > 9FiUFBfa > =IHYM > -END PGP SIGNATURE- > > ___ > 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: vars and multiple scores
Klaus, Attached are a simplified LaTeX file and the two Lilypond files it references. Barbershop harmony is for unaccompanied voices, so there's no piano part or chord symbols, but from what you've written, I gather that seeing how the lilypond gets included in the LaTeX is what interests you. David Bowen On Mon, Jan 14, 2019 at 1:52 PM Klaus Ethgen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi David, > > Am Mo den 14. Jan 2019 um 20:15 schrieb David Bowen: > >Have you considered the possibility of making each song its own file > and > > then using lylualatex to build the songbook. > > Something like that was in my mind at first. (Using pdflatex instead of > lylualatex) But at the moment I would be more than happy to have a > simple but pretty printed songbook. So I decided to start with a > lilypond file and I might split it up in future. > > > I'm using that workflow to > > create a collection of barbershop tags, where the tags run about two or > > three lines. I have a lilypond template for tags that defines standard > > names for note and lyric variables and having one tag per file eliminates > > conflicts between tags. Using lylualatex makes it easy to generate > indexes > > and also to rearrange tags if I need to move things around to improve the > > spacing on a page. > > If you have some simple example, that would be nice. > > How would it look like? Would it be a full lilypond file with version > and core->cords, frets, grandtsaff->voices and lyrics or would the > lyrics come from inside LaTeX? > > I think, I should use "\lilypondfile{sond1.ly}" in latex for such files > and then use just pdflatex to compile it? > > Regards >Klaus > - -- > Klaus Ethgen http://www.ethgen.ch/ > pub 4096R/4E20AF1C 2011-05-16Klaus Ethgen > Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > \version "2.19.82" \language "english" \header { title = "Dear Old Girl" composer = "Theodore F. Morse" poet = "Richard Henry Buck" arranger = "O. T. Neal" } global = { \key c \major \time 4/4 \accidentalStyle modern-voice-cautionary \partial 4 } tenorMusic = \relative c' { f4 |e g a a | gs gs2 r4 | ds4 e f f | e2. e8 e | ef4 f gf f | e ( g) g2 | c,4 e a c \fermata |d2 c | a a | c1 | } leadMusic = \relative c' { g4 | c c e ds | e b2 b8 b | a4 a a a | c2. g8 g | af4 af af af | g (f) e2 | c'4 c c a | b2 a | c fs, | g1 | } leadWords = \lyricmode { The blind- ing tears are fall- ing as I think of my lost pearl, and my bro- ken heart is call-_ ing, call- ing for you dear old, dear old girl } bariMusic = \relative c' { b4 | g g c b | d d2 r4 | c4 c d ef | g,2. c8 c | c4 c c b | c (d) cs2 | c4 c ef fs | f2 ds | ds ds | e1 } bassMusic = \relative c { d4 | c e g fs | b e,2 b'8 b | f4 e d c | c2. c8 c | gf'4 f ef df | c (bf) a2 | c'4 a f d \fermata | g2 f | f b, | c1 } \score { \new ChoirStaff << \new Staff = "high" << \clef "treble_8" \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> } \new Voice = "leads" { \voiceTwo << \global \leadMusic >> } >> \new Lyrics = "leads" \new Staff = "lo" << \clef bass \new Voice = "baris" { \voiceOne << \global \bariMusic >> } \new Voice = "basses" { \voiceTwo << \global \bassMusic >> } >> \context Lyrics = "leads" \lyricsto "leads" \leadWords >> } Demo.tex Description: Binary data \version "2.19.82" \language english \header { title = "Kissing The Blarney Stone" composer = "Jim Richards" copyright = "" } global = { \key f \major \time 3/4 \accidentalStyle modern-voice-cautionary \partial 4 } tenorMusic = \relative c' { r4 |d4 d d |df2 df8 df | c4 f g |fs2 fs4 | g fs f | } tenorMusicb = \relative c' { e2 e4 | ef (d) df |c2. | } tenorWords = \lyricmode { Blar- ney Blar- __ ney Stone. } leadMusic = \relative c { d8 e | f4 g a | g2 f8 g | a4 c e |d2 a4 | d4 d d | c (a) g | f2. ~ f } leadWords = \lyricmode { Does it make an- y sense one should gain el- o- quence by kiss- ing the Blar- ney Stone __ } bariMusic = \relative c { r4 | f4 f f | f2 g8 f | f4 a cs |c2 c4 |bf c bf | } bariMusicb = \relative c' { bf (c
Re: Using \lyricsto for small variation in repeats to match lyrics
I use LilyPond for barbershop quartet music. The barbershop style is mostly homophonic, but there are frequent spots where one or more parts will need their own lyrics for a measure or two. I use the split voice approach mentioned above to handle those spots and it works well. For example \version "2.19.82" \language english global = { \key bf \major \time 4/4 \accidentalStyle modern-voice-cautionary \partial 4 } tenorMusic = \relative c'' { af4 | \tuplet 3/2 {g4 g g} g4 g8 a | bf f4 d8 f2 |r4 e e e | } tenorMusicb = \relative c'' { g8 f g f~f4 g | bf1 ~ bf2. r4 } tenorMusicc = \relative c'' { g4 gf2. | bf1 \bar "|." } tenorWords = \lyricmode { af- ter you've gone __ a- way, __ } leadMusic = \relative c' { d4 | \tuplet 3/2 {c4 c c} cs4 cs8 cs | d d4 c8 b2 | r4 d c d| ef2. ef4 | ff2 (~ ff8 ef ff4 f2.) r4 | ef4 ff2. | f1 \bar "|." } leadWords = \lyricmode { You told me good- bye now it's your turn to cry, af- ter you've gone a- way __ gone a- way. } bariMusic = \relative c' { bf4 | \tuplet 3/2 {bf4 bf bf} a4 a8 g | f bf4 af8 g2 | r4 bf bf bf| } barimusicb = \relative c' { bf8 a bf a ~ a4 a | df2 (~df8 c df4 d2.) r4 | } bariMusicc = \relative c' { c4 df2. | df1 \bar "|." } bariWords = \lyricmode { af- ter you've gone __ a- way, __ } bassMusic = \relative c { f4 | \tuplet 3/2 {ef4 ef ef} e4 e8 e | bf bf4 f'8 d2 | r4 g g g | } bassMusicb = \relative c { c2. c4 | gf'1 ( bf1 ~bf ~ bf) \bar "|." } bassWords = \lyricmode { gone a- way. __ } \score { \new ChoirStaff << \new Lyrics = "tenors" \with { % this is needed for lyrics above a staff \override VerticalAxisGroup.staff-affinity = #DOWN } \new Staff = "high" << \clef "treble_8" { \new Voice = "tenors" {\voiceOne \global \tenorMusic } \new Voice = "tenb" {\voiceOne \tenorMusicb } \new Voice = "tenc" {\voiceOne \tenorMusicc } } { \new Voice = "leads" {\voiceTwo \global \leadMusic } } >> \new Lyrics = "leads" \new Lyrics = "baris" \with { % this is needed for lyrics above a staff \override VerticalAxisGroup.staff-affinity = #DOWN } \new Staff = "lo" << \clef bass { \new Voice = "baris" { \voiceOne \global \bariMusic } \new Voice = "barib" { \voiceOne \barimusicb } \new Voice = "baric" { \voiceOne \bariMusicc } } { \new Voice = "basses" {\voiceTwo \global \bassMusic } \new Voice = "bsb" {\voiceTwo \bassMusicb } } >> \new Lyrics = "basses" \context Lyrics = "tenors" \lyricsto "tenb" \tenorWords \context Lyrics = "leads" \lyricsto "leads" \leadWords \context Lyrics = "baris" \lyricsto "barib" \bariWords \context Lyrics = "basses" \lyricsto "bsb" \bassWords >> } David Bowen On Mon, Aug 26, 2019 at 8:13 PM Aaron Hill wrote: > On 2019-08-26 3:34 pm, Michael Wagner wrote: > > When I am entering music into lilypond, I come across situations where > > a measure or two of a repeated bit of music has a slight melodic > > variation and I wold like to associate the appropriate lyrics with > > that measure. > > [ . . . ] > > I might be able to a align the lyrics with the appropriate voice using > > skips, etc., but it seems as though using \lyricsto would be more > > elegant. > > The examples in the manual that use \lyricsto seem to be assigning the > > equivalent of a whole verse to a voice. Can I align a part of a verse > > to a voice? > > As far as I can tell, \lyricsto does not have a direct way to specify a > limited scope, since you only get to provide the name of the context. > To restrict alignment to only a particular subset of notes within a > Voice, you would need to explicitly separate out those notes into their > own named context to use with \lyricsto. > > LilyPond provides a NullVoice context that makes it easy to include such > an extraction of notes to be used just for timing but not display. I > use this feature quite a bit, mainly because I also use \partcombine > which is not compatible with \lyricsto; but that is another story. > > > -- Aaron Hill > > ___ > 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: Detecting first and last pages of a score
The Sacred Harp hymnbooks I'm familiar with are set in landscape mode with two systems per page, so you won't have three songs on a page. Dave Bowen On Tue, Sep 3, 2019 at 7:19 AM Andrew Bernard wrote: > Lovely! Do you use the shape heads? > > Are you trying to make a book like the 19c originals? Is there an example > we can take a look at? > > I'm confused about what the page title should be if you have say three > songs on one page, or does that not happen? > > Andrew > > > On Tue, 3 Sep 2019 at 21:51, Leah Velleman > wrote: > >> > To do what? >> >> So here's the situation. >> >> I'm writing a template for collections of Sacred Harp–style songs. >> (Templates for individual songs already exist, but not openly available >> ones that handle an entire collection.) >> > ___ > 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