Re: Creating multi-score books
Don Gingrich: ... > What I'd like to create is: > > > > > > > > > > ... I do this regulary. You usually use lilypond-book, but I got tired of all thoose lily- files, I couldn't use that in makefiles, e.g. So, I made my own version and have ever since used that. ... > \header{ > title = "some silly thing" >composer = "Not Mozart" > } > { > << ... You can do the headers either in lilypond or latex. I do them in latex, when latex is involved, since I usually also include some text after the header. > As putting a bunch of individual scores together into a book may > be a more or less common task, a good template would be brilliant > and potentially useful for others My lilypond/latex code are in: http://turkos.aspodata.se/git/musik/ Examples of my work is: http://turkos.aspodata.se/choir/osthammar/mozart/requiem.pdf http://turkos.aspodata.se/choir/osthammar/mozart/cover.pdf http://turkos.aspodata.se/git/musik/WAMozart/requiem/ http://turkos.aspodata.se/noter/victoria/o_quam_gloriosum/motet/all.pdf http://turkos.aspodata.se/git/musik/TomasLuisdeVictoria/o_quam_gloriosum/motet/ Let's dissect the motet example. The entry file is all.tex, it is a usual latex file. To get hold of what lilypond produces I do: \input{A-systems.tex} for scores, and to include smaller music fragments I do: \includegraphics{sign-1.eps} To make latex and lilypond work together, I use the Makefile, it has %.lyi: %.ly echo '\include' \"$(INC)/I.ly\" > $@ echo '\include' \"$<\" >> $@ %.eps %-systems.tex:%.lyi rm -f $(patsubst %.ly,%,$<)-*.eps $(LP) --ps -dbackend=eps $< $(BIN)lilypond-psfonts $*.psfonts $(patsubst %.lyi,%,$<).eps The lyi thing is just to include \include "lilypond-book-preamble.ly" \include "../include/choirbook.ly" The "lilypond-book-preamble.ly" and "$(LP) --ps -dbackend=eps $<" make lilypond work in "lilypond-book mode" so I get the files A-1.eps ... A-9.eps A-systems.tex etc. If you run lilypond-book, thoose files would be named lily-.yyy instead, but since you can predict their names you can include them directly instead of going the way around lilypond-book. The thing missing from lilypond-book though, is that you must manually match the line length for your lilypond files and latex for full width music: $ grep line-width ../include/choirbook.ly line-width = 153 \mm $ grep textwidth all.tex \setlength{\textwidth}{155mm} Regards, /Karl Hammar --- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Creating multi-score books
Hi all, > If I don't misunderstand you I would compile the songs individually and > include them using \includepdf. This is exactly what I do. Works fabulously. I highly recommend it. HTH, 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
Re: Creating multi-score books
> Am 16.02.2017 um 07:39 schrieb Don Gingrich: >> On Thu, 16 Feb 2017 07:32:09 you wrote: >>> Am 16. Februar 2017 07:02:10 MEZ schrieb Don Gingrich >>: I've got a basic problem, and I'm not having much joy with the documentation. Over the past few years I've created several scores for folk songs. Now, I'm going to be doing a workshop discussing their origins. What I'd like to create is: and so on I'm probably more familiar with LaTeX than LilyPond, so I'd really prefer to do the cover page and discussion in TeX and the scores in LilyPond. Hi Don, I hadn’t seen you original mail. I’m using ConTeXt to typeset songbooklets, with all the text and lyrics in TeX and only the scores in LilyPond, so quite similar to your requirements. You can find my setup here: http://wiki.contextgarden.net/LilyPond Of course you would have to get acquainted with ConTeXt (MkIV, i.e. with LuaTeX) instead of LaTeX. The mentioned LyLuaTeX uses a similar approach of including LilyPond code into LaTeX with the help of Lua. Greetlings, Hraban --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Creating multi-score books
Greetings Don, To add to the suggestions, you might consider using pdftk - assuming of course that both LaTeX and LilyPond files will be converted to pdf. Hwaen Ch'uqi On 2/16/17, Abbé Jacques Peronwrote: > Hello, > > Another alternative is lyluatex, that you may find here : > https://github.com/jperon/lyluatex. > > For this to work, you'll have to use lualatex. > > Jacques Peron + > > > Le 16 févr. 2017 14:32, "Urs Liska" a écrit : > > > > Am 16. Februar 2017 07:02:10 MEZ schrieb Don Gingrich < > gingr...@internode.on.net>: >>I've got a basic problem, and I'm not having much >>joy with the documentation. >> >>Over the past few years I've created several scores >>for folk songs. >> >>Now, I'm going to be doing a workshop discussing >>their origins. >> >>What I'd like to create is: >> >> >> >> >> >> >> >> >> >> >> >>and so on >> >>I'm probably more familiar with LaTeX than >>LilyPond, so I'd really prefer to do the cover >>page and discussion in TeX and the scores >>in LilyPond. > > If I don't misunderstand you I would compile the songs individually and > include them using \includepdf. > > HTH > Urs > > >> >>Note that some of the scores were originally >>entered using MuseScore and the converted >>using xml2ly -- so the LilyPond code is *ugly* >>but works as a standalone score. In my copious >>free time I'd like to shift these converted scores >>into clean code, but it's in the "if it ain't broke." >>category unless the converted stuff is likely to be >> breaking things. >> >>My minimal example winds up being several hundred >>lines, so I've not included it. >> >>I tried this: >> >>\header { >> title = "Eight miniatures" >> composer = "Igor Stravinsky" >>} >>\score { >> … >> \header { piece = "Romanze" } >>} >>\markup { >> …text of second verse… >>} >>\markup { >> …text of third verse… >>} >>\score { >> … >> \header { piece = "Menuetto" } >>} >> >>With including the score files and it >>did not work. >> >>I tried this first: >> >>\documentclass[a4paper]{article} >> >>\begin{document} >> >>Documents for \verb+lilypond-book+ may freely mix music and text. >>For example, >> >>Options are put in brackets. >> >>Larger examples can be put into a separate file, and introduced with >>\verb+\lilypondfile+. >> >>\lilypondfile[quote,noindent]{MyFileName.ly} >> >>(If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file >>you put in the same directory as this file.) >> >>\end{document} >> >>And all that I got was the filename printed where the score should >>have been. >> >>I also looked at the thread titled: >>"Problem with lilypond-book and \markup blocks" from 2007 >>But when I tried to add a header after the \score{ -- e.g. >>\score { >> \header{ >> title = "some silly thing" >> composer = "Not Mozart" >>} >>{ >><< >> >>The title and composer disappeared into the ether -- clearly >>the method here only works for snippets, not full or multi-page >>scores. >> >>I keep banging at this and getting nowhere. >> >> >>As putting a bunch of individual scores together into a book may >>be a more or less common task, a good template would be brilliant >>and potentially useful for others >> >>Thanks, >> >>-Don >> >>-- >>Don Gingrich >> >> >> >>___ >>lilypond-user mailing list >>lilypond-user@gnu.org >>https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- > Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail > gesendet. > > ___ > 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: Creating multi-score books
Hello, Another alternative is lyluatex, that you may find here : https://github.com/jperon/lyluatex. For this to work, you'll have to use lualatex. Jacques Peron + Le 16 févr. 2017 14:32, "Urs Liska"a écrit : Am 16. Februar 2017 07:02:10 MEZ schrieb Don Gingrich < gingr...@internode.on.net>: >I've got a basic problem, and I'm not having much >joy with the documentation. > >Over the past few years I've created several scores >for folk songs. > >Now, I'm going to be doing a workshop discussing >their origins. > >What I'd like to create is: > > > > > > > > > > > >and so on > >I'm probably more familiar with LaTeX than >LilyPond, so I'd really prefer to do the cover >page and discussion in TeX and the scores >in LilyPond. If I don't misunderstand you I would compile the songs individually and include them using \includepdf. HTH Urs > >Note that some of the scores were originally >entered using MuseScore and the converted >using xml2ly -- so the LilyPond code is *ugly* >but works as a standalone score. In my copious >free time I'd like to shift these converted scores >into clean code, but it's in the "if it ain't broke." >category unless the converted stuff is likely to be > breaking things. > >My minimal example winds up being several hundred >lines, so I've not included it. > >I tried this: > >\header { > title = "Eight miniatures" > composer = "Igor Stravinsky" >} >\score { > … > \header { piece = "Romanze" } >} >\markup { > …text of second verse… >} >\markup { > …text of third verse… >} >\score { > … > \header { piece = "Menuetto" } >} > >With including the score files and it >did not work. > >I tried this first: > >\documentclass[a4paper]{article} > >\begin{document} > >Documents for \verb+lilypond-book+ may freely mix music and text. >For example, > >Options are put in brackets. > >Larger examples can be put into a separate file, and introduced with >\verb+\lilypondfile+. > >\lilypondfile[quote,noindent]{MyFileName.ly} > >(If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file >you put in the same directory as this file.) > >\end{document} > >And all that I got was the filename printed where the score should >have been. > >I also looked at the thread titled: >"Problem with lilypond-book and \markup blocks" from 2007 >But when I tried to add a header after the \score{ -- e.g. >\score { > \header{ > title = "some silly thing" > composer = "Not Mozart" >} >{ ><< > >The title and composer disappeared into the ether -- clearly >the method here only works for snippets, not full or multi-page >scores. > >I keep banging at this and getting nowhere. > > >As putting a bunch of individual scores together into a book may >be a more or less common task, a good template would be brilliant >and potentially useful for others > >Thanks, > >-Don > >-- >Don Gingrich > > > >___ >lilypond-user mailing list >lilypond-user@gnu.org >https://lists.gnu.org/mailman/listinfo/lilypond-user -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. ___ 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: Creating multi-score books
(Please always reply-to-all) Am 16.02.2017 um 07:39 schrieb Don Gingrich: > On Thu, 16 Feb 2017 07:32:09 you wrote: >> Am 16. Februar 2017 07:02:10 MEZ schrieb Don Gingrich >: >>> I've got a basic problem, and I'm not having much >>> joy with the documentation. >>> >>> Over the past few years I've created several scores >>> for folk songs. >>> >>> Now, I'm going to be doing a workshop discussing >>> their origins. >>> >>> What I'd like to create is: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> and so on >>> >>> I'm probably more familiar with LaTeX than >>> LilyPond, so I'd really prefer to do the cover >>> page and discussion in TeX and the scores >>> in LilyPond. >> If I don't misunderstand you I would compile the songs individually and >> include them using \includepdf. > Hmmm I hadn't looked at it that way, but > it may be the simplest way to get the job done. > > But, in the long run I would like to be able to > build multi-page books of LilyPond scores, > though this seems to be a difficult task. > > But to get it together for the upcoming workshop > keeping it simple is likely a good idea. > > Cheers, > > -Don > > I'm not totally sure about that. Keeping separate things separate like this feels pretty clean to me. Combine that with a good makefile, and you have both, perfect integration plus the option of standalone scores. Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Creating multi-score books
Am 16. Februar 2017 07:02:10 MEZ schrieb Don Gingrich: >I've got a basic problem, and I'm not having much >joy with the documentation. > >Over the past few years I've created several scores >for folk songs. > >Now, I'm going to be doing a workshop discussing >their origins. > >What I'd like to create is: > > > > > > > > > > > >and so on > >I'm probably more familiar with LaTeX than >LilyPond, so I'd really prefer to do the cover >page and discussion in TeX and the scores >in LilyPond. If I don't misunderstand you I would compile the songs individually and include them using \includepdf. HTH Urs > >Note that some of the scores were originally >entered using MuseScore and the converted >using xml2ly -- so the LilyPond code is *ugly* >but works as a standalone score. In my copious >free time I'd like to shift these converted scores >into clean code, but it's in the "if it ain't broke." >category unless the converted stuff is likely to be > breaking things. > >My minimal example winds up being several hundred >lines, so I've not included it. > >I tried this: > >\header { > title = "Eight miniatures" > composer = "Igor Stravinsky" >} >\score { > … > \header { piece = "Romanze" } >} >\markup { > …text of second verse… >} >\markup { > …text of third verse… >} >\score { > … > \header { piece = "Menuetto" } >} > >With including the score files and it >did not work. > >I tried this first: > >\documentclass[a4paper]{article} > >\begin{document} > >Documents for \verb+lilypond-book+ may freely mix music and text. >For example, > >Options are put in brackets. > >Larger examples can be put into a separate file, and introduced with >\verb+\lilypondfile+. > >\lilypondfile[quote,noindent]{MyFileName.ly} > >(If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file >you put in the same directory as this file.) > >\end{document} > >And all that I got was the filename printed where the score should >have been. > >I also looked at the thread titled: >"Problem with lilypond-book and \markup blocks" from 2007 >But when I tried to add a header after the \score{ -- e.g. >\score { > \header{ > title = "some silly thing" > composer = "Not Mozart" >} >{ ><< > >The title and composer disappeared into the ether -- clearly >the method here only works for snippets, not full or multi-page >scores. > >I keep banging at this and getting nowhere. > > >As putting a bunch of individual scores together into a book may >be a more or less common task, a good template would be brilliant >and potentially useful for others > >Thanks, > >-Don > >-- >Don Gingrich > > > >___ >lilypond-user mailing list >lilypond-user@gnu.org >https://lists.gnu.org/mailman/listinfo/lilypond-user -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Creating multi-score books
I've got a basic problem, and I'm not having much joy with the documentation. Over the past few years I've created several scores for folk songs. Now, I'm going to be doing a workshop discussing their origins. What I'd like to create is: and so on I'm probably more familiar with LaTeX than LilyPond, so I'd really prefer to do the cover page and discussion in TeX and the scores in LilyPond. Note that some of the scores were originally entered using MuseScore and the converted using xml2ly -- so the LilyPond code is *ugly* but works as a standalone score. In my copious free time I'd like to shift these converted scores into clean code, but it's in the "if it ain't broke." category unless the converted stuff is likely to be breaking things. My minimal example winds up being several hundred lines, so I've not included it. I tried this: \header { title = "Eight miniatures" composer = "Igor Stravinsky" } \score { … \header { piece = "Romanze" } } \markup { …text of second verse… } \markup { …text of third verse… } \score { … \header { piece = "Menuetto" } } With including the score files and it did not work. I tried this first: \documentclass[a4paper]{article} \begin{document} Documents for \verb+lilypond-book+ may freely mix music and text. For example, Options are put in brackets. Larger examples can be put into a separate file, and introduced with \verb+\lilypondfile+. \lilypondfile[quote,noindent]{MyFileName.ly} (If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file you put in the same directory as this file.) \end{document} And all that I got was the filename printed where the score should have been. I also looked at the thread titled: "Problem with lilypond-book and \markup blocks" from 2007 But when I tried to add a header after the \score{ -- e.g. \score { \header{ title = "some silly thing" composer = "Not Mozart" } { << The title and composer disappeared into the ether -- clearly the method here only works for snippets, not full or multi-page scores. I keep banging at this and getting nowhere. As putting a bunch of individual scores together into a book may be a more or less common task, a good template would be brilliant and potentially useful for others Thanks, -Don -- Don Gingrich ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user