Re: lilypond-book questions
It's not supported in lilypond-book. In fact, the pdftex support in LilyPond does exist but hasn't been very actively supported, so it's highly likely to be broken. However, even if that part works, some work would be required to include the support in lilypond-book. /Mats D Josiah Boothby wrote: Hello, all Is pdflatex supported with lilypond-book (Debian, lilypond 2.2.6)? I've tried running this way only to find a way fraught with errors, but I don't know if I'm just missing something. An example error (using the musicological document example from the documentation) would be: lilypond-book (GNU LilyPond) 2.2.6 Reading musicology.tex... Dissecting... Writing snippets... All snippets are up to date... Compiling out/musicology.tex... This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) entering extended mode (./musicology.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german, ngerman, bahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, slovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (./musicology.aux) (./lily-679887058.tex (/usr/share/texmf/tex/lilypond/lilyponddefs.tex (/usr/share/texmf/tex/lilypond/feta20.tex) (/usr/share/texmf/tex/lilypond/lily-pdf-defs.tex)) ! Undefined control sequence. \kern 025.8248\outputscale \embeddedps {000.0650 000.0650 001.812... l.71 } % ? I know that the prescribed method for producing pdf output is mentioned in the documentation (latex yourfile.tex;dvips -Ppdf -u+ec-mftrace.map -u+lilypond.map yourfile.dvi;ps2pdf yourfile.ps), but I'm curious if there is a (relatively simple) way to make this work. Should I just wait until the new font handling in 2.6? Josiah ___ lilypond-user mailing list lilypond-user@gnu.org 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lily book
Hi list. I'm trying to start with lilypond book, for I want to translate a counterpoint treaty (16th century) from english to french. I'm beginning to understand texinfo, but I can't manage to insert lily code (when I run texinfo, it says that it doesn't know where lily is..). Can anyone send me a lily book full sample, so I can start with more easely ? Best regards ! JMArc ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lily book
Don't use texinfo. I definitely recommend to use LaTeX instead to write the document. You can find a full example of a lilypond-book LaTeX document in the manual. For an introduction to LaTeX, I recommend http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf /Mats Jean-marc LEGRAND wrote: Hi list. I'm trying to start with lilypond book, for I want to translate a counterpoint treaty (16th century) from english to french. I'm beginning to understand texinfo, but I can't manage to insert lily code (when I run texinfo, it says that it doesn't know where lily is..). Can anyone send me a lily book full sample, so I can start with more easely ? Best regards ! JMArc ___ lilypond-user mailing list lilypond-user@gnu.org 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Box markup box not a square
I know there have been some changes related to these functions in the recent development versions, but I don't know enough details to say if it's easy to fix it in your version. /Mats Arjan Bos wrote: Hi list, I'm using 2.4.2 In my pieces I like to have the default marks (with \mark \default) to be in a box. As per documentation I use the following lisp code: \set Score.markFormatter = #(lambda (mark context) (make-box-markup (format-mark-letters mark context))) And this results in a box that isn't square. A picture of it (zoomed in quite a few times) can be found at: http://zaaf.nl/unsquareBox.pdf (It's a pdf-file of a screen capture, don't ask ;-) Please notice that the right hand line of the square has moved a bit to the left. Is this a bug? Or can I make the box square. By the way: The boxes look square on paper and in the end that's what counts. So it might just be a display issue here. Kind regards, Arjan Bos --- Multiple exclamation marks are a sure sign of a sick mind -- (Terry Pratchett, Mort) ___ lilypond-user mailing list lilypond-user@gnu.org 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: adjusting stem length
Jean-marc LEGRAND wrote: Hi list ! Working on XP with lily 2.4.2 I have to adjust the stem length of several notes beamed together. I've tried : \once \override Stem #'beamed-lengths = #'(4) a8 [b c d e f] but it doesn't do anything, whereas Sure it does something, try #'beamed-lengths = #'(20) to see what happens, namely that the setting only applies to the first note, not to all notes involved in the beam. \override Stem #'beamed-lengths = #'(4) a8 [b c d e f] is OK. Is there a way to make sort of a \override Stem #'beamed-lengths = ##f after the notes to go back to a normal and automatic stem length ? The best, as has already been pointed out, is probably to do a \revert after the full beam. Another thing is that I don't quite understand the syntax of this \override Stem #'beamed-lengths... Search the mailing list archives, I think you can find some explanations there if the one in the manual doesn't help you. Also, since Graham has done several documentation improvements very recently, it might be a good idea to look also at the manual for version 2.5 in such situations, since most of the updates haven't propagated back to the manual of version 2.4. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Page layout
Hi all, I have some problems adjusting the page layout. Using \paper { leftmargin = 10\mm linewidth = 165\mm indent = 0.0 } works fine (the additional left margin) with Lilypond (2.4.2) but has no effect in lilyppond-book. How can I achieve an adjustment of my scores in latex? Thanks for any hints Georg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Page layout
lilypond-book will typeset the scores using the linewidth used in the rest of the LaTeX document, so just use ordinary LaTeX commands to specify the page layout you wish. I would recommend the geometry package. Run the command texdoc geometry to view the documentation (I'm not sure if the documentation is available this way if you run the cygwin distribution, though). /Mats Georg Dummer wrote: Hi all, I have some problems adjusting the page layout. Using \paper { leftmargin = 10\mm linewidth = 165\mm indent = 0.0 } works fine (the additional left margin) with Lilypond (2.4.2) but has no effect in lilyppond-book. How can I achieve an adjustment of my scores in latex? Thanks for any hints Georg ___ lilypond-user mailing list lilypond-user@gnu.org 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
pb invoking lilypond file in latex
Hi list ! Still working on XP :o( with Lily 2.4.2. I'm trying Latex and lilypond book : it seems quite great, but I have a slight pb : I want to insert in a text some noteheads without any staff. This is my lily file, which goes OK (thanks lily doc !) : \paper { linewidth = 30\mm indent = 0\mm } \score { \lyrics { \time 7/8 \markup { \raise #0.75 \vcenter \musicglyph #"noteheads--2neomensural" } 4 \markup { \raise #0.75 \vcenter \musicglyph #"noteheads--1neomensural" } 4 \markup { \raise #0.75 \vcenter \musicglyph #"noteheads-0neomensural" } 4 } } I've called it figure1.ly. Then I try to insert it in my text like this : (...) dont la dur\'{e}e d\'{e}pendait de la quantit\'{e} de mots ou de syllabes qui leur \'{e}tait associ\'{e}e (notamment parce que les signes \lilypondfile[quote,fragment,staffsize=16]{figure1.ly} n'existaient pas encore). (...) It seems that it is the way to do it (cf lily doc 9.2 Integrating LaTeX and music). But when I run lilypond-book, its says : [EMAIL PROTECTED] /cygdrive/c/cygwin/tetex/ofcounterpoint $ lilypond-book --output=out contrepoint.tex /usr/bin/lilypond-book (GNU LilyPond) 2.4.2 Reading contrepoint.tex... Dissecting... Writing snippets... Processing... Running lilypond...GNU LilyPond 2.4.2 Processing `lily-593403792.ly' Parsing... Renaming input to: `figure1.ly' figure1.ly:26:5: error: syntax error, unexpected PAPER: \pape r { figure1.ly:28:19: error: unknown escaped string: `\mm': linewidth = 30\mm figure1.ly:29:15: error: unknown escaped string: `\mm': indent = 0\mm figure1.ly:54:0: error: Error found in this music expression. Ignoring it: } error: failed files: lily-593403792.ly /usr/bin/lilypond-book: error: Process /usr/bin/lilypond -f tex -I /cygdrive/c/c ygwin/tetex/ofcounterpoint exited unsuccessfully. Removing `out/contrepoint.tex' I think that I forgot to say something to "him" because he doesn't want to recognize some typical lily features. Any help ? Bye ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Score.skipBars
Hello folks, I have been preparing several scores where it is useful to have the ability to have numbered multi-rest bars rather than, say, 32 full bar rests. I have been able to implement this using the following setting as described in the manual:- \set Score.skipBars = ##t The only problem is that sometimes I can get it to work for me, but other times not, and I have been unable to figure out why. For example, the following source does not work, the bars come out fully expanded:- \header { \include "header.ly" subtitle = "Clarinet (Vocal Version)" } \include "notes.ly" \score { \notes << \time 4/4 \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (make-markletter-markup (1- mark) { % Bb Instruments << \context ChordNames { \set chordChanges = ##t \transpose bes c' \Changes } \context Staff { \key d \major \clef treble \set Score.skipBars = ##t \transpose bes c'' {\Intro \notes{r2 \bar"||" R1*11 r2} \LeadBreak R1*8} } >> } >> \midi { \tempo 4=140 } \paper{ papersize = "a4" indent = 0 } } -- But the source below does work as expected. I seem to have reached a brick wall in trying to figure out why, so any help would be much appreciated! Thanks in advance, Jennifer. \header { \include "header.ly" \include "directions.ly" subtitle = "Tenor Sax" } % \include "english.ly" \include "notes.ly" \score { \notes << \time 4/4 \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (make-markletter-markup (1- mark) { << \context ChordNames { \set Staff.midiInstrument = "acoustic piano" \set chordChanges = ##t %\transpose bes c' %\Changes } \context Staff { \set Staff.midiInstrument = "tenor sax" #(set-accidental-style 'modern-cautionary) \key c \major \clef treble \set Score.skipBars = ##t \transpose c c' {\TenorSax} } %\lyricsto "" \new Lyrics \lyrics { the text } >> } >> \include "settings.ly" } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Score.skipBars
Please always tell what LilyPond version you use, when sending a question to the mailing list (actually a good practice is to include a \version "..." statement in every .ly file you write). Also, it's much easier to get help from the mailing list if you send a full example that people can try directly without having to guess what you have in your \included files. If possible, try to make it a small example. /Mats Jennifer Clark wrote: Hello folks, I have been preparing several scores where it is useful to have the ability to have numbered multi-rest bars rather than, say, 32 full bar rests. I have been able to implement this using the following setting as described in the manual:- \set Score.skipBars = ##t The only problem is that sometimes I can get it to work for me, but other times not, and I have been unable to figure out why. For example, the following source does not work, the bars come out fully expanded:- \header { \include "header.ly" subtitle = "Clarinet (Vocal Version)" } \include "notes.ly" \score { \notes << \time 4/4 \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (make-markletter-markup (1- mark) { % Bb Instruments << \context ChordNames { \set chordChanges = ##t \transpose bes c' \Changes } \context Staff { \key d \major \clef treble \set Score.skipBars = ##t \transpose bes c'' {\Intro \notes{r2 \bar"||" R1*11 r2} \LeadBreak R1*8} } >> } >> \midi { \tempo 4=140 } \paper{ papersize = "a4" indent = 0 } } -- But the source below does work as expected. I seem to have reached a brick wall in trying to figure out why, so any help would be much appreciated! Thanks in advance, Jennifer. \header { \include "header.ly" \include "directions.ly" subtitle = "Tenor Sax" } % \include "english.ly" \include "notes.ly" \score { \notes << \time 4/4 \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (make-markletter-markup (1- mark) { << \context ChordNames { \set Staff.midiInstrument = "acoustic piano" \set chordChanges = ##t %\transpose bes c' %\Changes } \context Staff { \set Staff.midiInstrument = "tenor sax" #(set-accidental-style 'modern-cautionary) \key c \major \clef treble \set Score.skipBars = ##t \transpose c c' {\TenorSax} } %\lyricsto "" \new Lyrics \lyrics { the text } >> } >> \include "settings.ly" } ___ lilypond-user mailing list lilypond-user@gnu.org 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Box markup box not a square
Ok, thanks for the answer. It doesn't show up on the paper output, so it might just be a display thing in my MacOS X / Fink setting somewhere. I'll wait and see what 2.6 will bring. Arjan On 24 feb 2005, at 9:41, Mats Bengtsson wrote: I know there have been some changes related to these functions in the recent development versions, but I don't know enough details to say if it's easy to fix it in your version. /Mats Arjan Bos wrote: Hi list, I'm using 2.4.2 In my pieces I like to have the default marks (with \mark \default) to be in a box. As per documentation I use the following lisp code: \set Score.markFormatter = #(lambda (mark context) (make-box-markup (format-mark-letters mark context))) And this results in a box that isn't square. A picture of it (zoomed in quite a few times) can be found at: http://zaaf.nl/unsquareBox.pdf (It's a pdf-file of a screen capture, don't ask ;-) Please notice that the right hand line of the square has moved a bit to the left. Is this a bug? Or can I make the box square. By the way: The boxes look square on paper and in the end that's what counts. So it might just be a display issue here. Kind regards, Arjan Bos --- Multiple exclamation marks are a sure sign of a sick mind -- (Terry Pratchett, Mort) ___ lilypond-user mailing list lilypond-user@gnu.org 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user --- Multiple exclamation marks are a sure sign of a sick mind -- (Terry Pratchett, Mort) --- A marriage is always made up of two people who are prepared to swear that only the other one snores. -- (Terry Pratchett, The Fifth Elephant) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Score.skipBars
Thanks Mats, that is good advice - when attempting to reduce the file size to make the problem more obvious to those on list as you suggested, I actually found the problem - I had been including chord changes in the tune which means that the rest bars were always be written out in full, not in condensed form. I'm just off to see if making a new set of chord changes with rests that align will work out. Jennifer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lily book
There's a complete example of LaTeX and texinfo in the 2.5 manual. Look in the "example templates" section. - Graham On 24-Feb-05, at 12:59 AM, Mats Bengtsson wrote: Don't use texinfo. I definitely recommend to use LaTeX instead to write the document. You can find a full example of a lilypond-book LaTeX document in the manual. For an introduction to LaTeX, I recommend http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf /Mats Jean-marc LEGRAND wrote: Hi list. I'm trying to start with lilypond book, for I want to translate a counterpoint treaty (16th century) from english to french. I'm beginning to understand texinfo, but I can't manage to insert lily code (when I run texinfo, it says that it doesn't know where lily is..). Can anyone send me a lily book full sample, so I can start with more easely ? Best regards ! JMArc ___ lilypond-user mailing list lilypond-user@gnu.org 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
to remove empty rhythmic staffs
Dear friends, I tried to apply \RemoveEmptyStaffContext to a RhythmicStaff but it didn't work, so I simply added the following lines to engraver-init.ly right after the definition of RemoveEmptyStaffContext: RemoveEmptyRhythmicStaffContext= \context { \RhythmicStaff \remove "Axis_group_engraver" \consists "Hara_kiri_engraver" \override Beam #'auto-knee-gap = #'() } It worked fine. Maybe you'll add this in a new release (or a better solution). Of course, even better could be to remove not only completely empty systems, but also individual empty measures. Thanks for a great program, Jose Miguel Pasini ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Global sizes
Hello. Is there an equivalent to #(set-global-staff-size 16) but for fonts? The manual (v2.4.2) states #(set-global-staff-size 14) This sets the global default size to 14pt staff height, and scales all fonts accordingly. But the font is *not* sized appropriately. In other words, is there a way such that one does not have to \set Staff.fontSize = #-4 for each Staff separately? Thanks. Gilles ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
trillspan issue
I am using lilypond-2.4.2 on windoze for the first time (have 2.2 on my FreeBSD box). I am trying to use startTrillSpan and stopTrillSpan with a skip note of duration 0 to make it stop before the bar line, but that doesn't to work, the trill still continues across the barline and over the first note of the next bar. I have the .pdf and the .ly available here - http://www.wiegand.org/~chip/19.pdf and http://www.wiegand.org/~chip/19.ly. Also notice that the one measure with two half-notes and a trill on each note, measure 40, the trills collide becuase of the length. What am I doing wrong? Regards, Chip PS, If you run the file 19.ly you should also get an error on line 71 (measure 35) for the voice.TextScript override stuff. It seems to work fine with the error, but what is causing the error? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user