Re: using footnotes on lyrics with lilypond-book

5 messages
Open this post in threaded view
|

Re: using footnotes on lyrics with lilypond-book

 It should be noted that this solution will not work in LilyPond version 2.5 or later.     /Mats Marcus Brinkmann wrote: > Hi, > > here is a small how-to for others who try to do the same.  I had to > add footnotes for lyrics in my song book, here is how I did it: > > In the .ly file: > > First set encoding to TeX, so the extra tex commands will not be > counted as space: > > \encoding "Tex" > > To add footnotes, you need to put the lyrics in double-quotes, and put > the exact footnote number in brackets, as lilypond may reorder them in > the .tex output file.  The encoding "TeX" makes sure the marker is not > counted as space, but this means the footnotemark is not counted at > all, so I add a single space to compensate for that.  Maybe the TeX > encoding could be improved to calculate the space better. > > ... "please\footnotemark[1] " ... > > Then in the lilypond book, add the footnote text: > > \lilypondfile{002.ly} > \footnotetext[1]{Also: tease.} > > That's it.  Have fun. > > Thanks, > Marcus > > > > _______________________________________________ > lilypond-user mailing list > [hidden email] > http://lists.gnu.org/mailman/listinfo/lilypond-user-- =============================================         Mats Bengtsson         Signal Processing         Signals, Sensors and Systems         Royal Institute of Technology         SE-100 44  STOCKHOLM         Sweden         Phone: (+46) 8 790 8463          Fax:   (+46) 8 790 7260         Email: [hidden email]         WWW: http://www.s3.kth.se/~mabe============================================= _______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

Re: using footnotes on lyrics with lilypond-book

 At Thu, 02 Jun 2005 14:55:00 +0200, Mats Bengtsson <[hidden email]> wrote: > > It should be noted that this solution will not work in LilyPond > version 2.5 or later. I won't look at lilypond 2.5 until it becomes 2.6 ;) but I hope that footnotes (and maybe other TeX constructs) in lyrics will still be possible.  I don't care much about the exact syntax, but I would hope that over time something stable and supported will emerge. If not, there are still alternatives of course, like repeating the lyrics below the score, and put the footnotes there.  But I think that for rehearsal, having text repeated is a disadvantage, and I try to get as close to the original prints of this document from 1867 as I humanly can with the tools we have. BTW, upgrading my lilypond book with 200 pages and 136 songs from lilypond 2.2 to 2.4 was relatively easy with convert-ly and a couple of further automatic replacements.  So, good job there. I know how hard the task at hand is, and I have a deep respect for the difficulty, and I can understand that syntactical and semantical changes are inevitable. Thanks, Marcus _______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

Re: using footnotes on lyrics with lilypond-book

 Marcus Brinkmann wrote: > At Thu, 02 Jun 2005 14:55:00 +0200, > Mats Bengtsson <[hidden email]> wrote: > >>It should be noted that this solution will not work in LilyPond >>version 2.5 or later. > > > I won't look at lilypond 2.5 until it becomes 2.6 ;) but I hope that > footnotes (and maybe other TeX constructs) in lyrics will still be > possible.  I don't care much about the exact syntax, but I would hope > that over time something stable and supported will emerge. > > If not, there are still alternatives of course, like repeating the > lyrics below the score, and put the footnotes there.  But I think that it's doable to add footnote support to the output engine, however, I haven't planned anything, so I consider this a sponsored feature. --   Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen_______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user