Re: tex backend
Message: 9 Date: Mon, 12 Feb 2007 00:14:55 +0100 From: "Dr. Johannes Zellner" <[EMAIL PROTECTED]> Subject: Re: tex backend To: lilypond-user@gnu.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=utf-8 You wrote: See also my other post from today where I ask how I could get a font like (in latex) \newfont{\lyfontFont}{texnansi-anttr scaled 1440} for the lilypond lyrics. I guess lilypond-book would perfectly do the job if I could manage to get this font for the font lyrics. I tried \override Score . LyricText #'font-name = #"texnansi-anttr" but this didn't work. As far as I have understood this it is fairly easy to use otf fonts with lilypond, there is a part in the documentation, I don't just remember the exact part but you will find it, it is about using other fonts (in the example times and arial, I think). Just insert this kind of line into the head of your files and you will get the font globally converted. With #(ly:font-config-display-fonts) you get all fonts that can be used by lilypond in an easy way of inserting the line: \override #'(font-name . "Warnock Pro" -- change the name to something you have. Lilypond is looking for fonts in the fonts direcotry via pango, so the normal way you install fonts on your debian should do it. Since you use Antykwa torunska (is that right) they distribution also includes otf fonts of the same font. Just pick them from there tex path and copy them to the font directory, run the font update mechanism and it should show in the list given from the first command in my mail. hope this helpes you. Greetings Till ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Catching error messages
Cameron Horsburgh wrote: On Sun, Feb 11, 2007 at 03:13:36PM -0800, Graham Percival wrote: > lilypond $f &> $f.log Yeah, I eventually got that, or something pretty close. It can be pretty useful. I might write a page for the docs regarding batch processing. The main problem, of course, is that this is OS dependent. Well, kind-of. I mean, every serious operating system has bash installed. ;) (or users who know the difference between that and csh, ksh, or whatever they use). The other obvious place is in section 13.1, since that's where I went first to see if there were options to help with log files and the like. This is my preference. I'd probably put it in chapter 13, with one or two sentences somewhere in chapters 3-5 to pique people's interest. (What would be really nice, but getting-off-topic-and-besides-I-don't-want-to-do-it would be a tutorial about how to use Makefiles and preprocessors with LilyPond. http://lists.gnu.org/archive/html/lilypond-user/2007-01/msg00181.html (I know there are a few people who do such things. I don't think it would belong in the LilyPond docs per se, and thus not really our concern, but if somebody were to do such a thing it could be useful to a lot of Lily users.) If something is useful, not redundant, and the author wishes to place it under GNU FDL, I'll find a place for it in the lilypond manual. Even if I have to make a new chapter just for it. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Catching error messages
On Sun, Feb 11, 2007 at 03:13:36PM -0800, Graham Percival wrote: > Cameron Horsburgh wrote: > >On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote: > >>Cameron Horsburgh wrote: > >>>I'd love to be able to specify a log file for either each file or the > >>>entire run. Does this exist? If not, does anyone have any idea how I > >>>might be able to do this? > >>for f in *.ly ; do lilypond $f > $f.log ; done; > >> > >>Something like that, at least. > >> > > > >Yeah, that's what I tried first. It seems the output is on stderr, > >not stdout. > > http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html > > lilypond $f &> $f.log > Yeah, I eventually got that, or something pretty close. It can be pretty useful. I might write a page for the docs regarding batch processing. The main problem, of course, is that this is OS dependent. If I were to do that, where would be the best place to put it? Two places come to mind -- first, 4.1.3 might be expanded to suggest using separate files for each part in an ensemble. That's the main use I have for batch processing -- twenty music files for each instrument which are \include-d in instrumental parts and similarly combined in a conductor's score. I'll normally run that with a for-do-done loop. (Is this set up explained in the manual? I think it was once, but it might have moved.) The other obvious place is in section 13.1, since that's where I went first to see if there were options to help with log files and the like. This is my preference. Experience tells me that different commands operate differently, too. For example, 'convert-ly -e *ly' works as expected. 'lilypond *ly' works, but with a huge load on the machine, like it's processing all files concurrently. (What would be really nice, but getting-off-topic-and-besides-I-don't-want-to-do-it would be a tutorial about how to use Makefiles and preprocessors with LilyPond. I know there are a few people who do such things. I don't think it would belong in the LilyPond docs per se, and thus not really our concern, but if somebody were to do such a thing it could be useful to a lot of Lily users.) Thoughts? -- = Cameron Horsburgh = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: doc update needed 2.11.x
Stan Sanderson wrote: Documentation for LilyPond 2.11.17, Section 7.5.7, Other guitar issues- guitar position/barring indication syntax has not been updated. The included snippet shows a dashed line with no bar numeral. Thanks, updated. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
creating image files using lilypond and php
I am looking for a php library that would allow me to create lilypond notation through a web interface, and have it return an image file. Has anyone done something like this or is it possible? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tex backend
On Sun, Feb 11, 2007 at 09:40:15PM +0100, Mats Bengtsson wrote: > The TeX backend hasn't been actively supported for a long time > now, so it's not a surprise that it doesn't work. > > Why do you want to use it? > well, I used it with a former version of lilypond to get the same font for lyrics as in latex. I used a pretty old version of "lilypond -k" which kept the tex output files where I could then replace the font with the desired tex font. See also my other post from today where I ask how I could get a font like (in latex) \newfont{\lyfontFont}{texnansi-anttr scaled 1440} for the lilypond lyrics. I guess lilypond-book would perfectly do the job if I could manage to get this font for the font lyrics. I tried \override Score . LyricText #'font-name = #"texnansi-anttr" but this didn't work. I've on my (debian) system /usr/share/texmf-tetex/fonts/tfm/public/antt/texnansi-anttr.tfm which can be used by latex, but apparently not by lilypond. -- Johannes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Catching error messages
Cameron Horsburgh wrote: On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote: Cameron Horsburgh wrote: I'd love to be able to specify a log file for either each file or the entire run. Does this exist? If not, does anyone have any idea how I might be able to do this? for f in *.ly ; do lilypond $f > $f.log ; done; Something like that, at least. Yeah, that's what I tried first. It seems the output is on stderr, not stdout. http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html lilypond $f &> $f.log Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: clashing notes
On 2/11/07, Stan Sanderson <[EMAIL PROTECTED]> wrote: On Feb 11, 2007, at 11:46 AM, Tiago Morin wrote: > Hi > > I'm trying to reduce beamed stem length to avoid stem clash: > <<{g'2}\\{ > \stemUp > \override Stem #'details #'beamed-lengths = #'(1.25 ) > g8[ d'] f'[ d'] > }\\{ \stemDown g2}>> > > the Stem #'details #'beamed-lengths allows to increase the stem > but not reduce... :( > > any suggestions? > > Thank's > > Tiago Morin Tiago- The solution to my problem proposed by Trevor yesterday seems to work with your example (using rather extreme values): \version "2.11.17" <<{g'2}\\{ \stemUp \once \override Beam #'positions = #'(-2.9 . -0.8) g8[ d'] f'[ d'] }\\{ \stemDown g2}>> Lily does still complain of clashing note columns. If you're happy with the layout of stems and beams, then there's a magic switch to insert at the Score-level context and override the clashing note column warnings. %%% BEGIN %%% \version "2.11.16" \new Score \with { \override NoteColumn #'ignore-collision = ##t } { \new Staff << {g'2}\\{ \stemUp \once \override Beam #'positions = #'(-2.9 . -0.8) g8[ d'] f'[ d'] }\\{ \stemDown g2} >> } %%% END %% -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Catching error messages
On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote: > Cameron Horsburgh wrote: > >I'd love to be able to specify a log file for either each file or the > >entire run. Does this exist? If not, does anyone have any idea how I > >might be able to do this? > > for f in *.ly ; do lilypond $f > $f.log ; done; > > Something like that, at least. > Yeah, that's what I tried first. It seems the output is on stderr, not stdout. -- = Cameron Horsburgh = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with Lilypond
Thomas Toczkowski <[EMAIL PROTECTED]> writes: > I just discoverd your great programm its cool to be able to set my own > melodies to paper... but i have a problem with the examples ... i can only > open, the first "a little skale" nothing else... > there is always this error: > > # -*-compilation-*- > aktuelles Verzeichnis kann nicht > zu »D:/Latech/LilyPond/usr/share/lilypond/current/ly« geändert werden > »D:/Latech/LilyPond/usr/share/lilypond/current/ly/deutsch.ly« wird verarbeitet > Analysieren... > > don't know what to do... It looks like LilyPond cannot handle multiple-rooted filesystems. Can you try installing LilyPond on C:\ and see if that helps? Greetings, Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tex backend
The TeX backend hasn't been actively supported for a long time now, so it's not a surprise that it doesn't work. Why do you want to use it? /Mats Quoting "Dr. Johannes Zellner" <[EMAIL PROTECTED]>: Hi, I'm desperately trying to use the tex backend (as I'd like to do some "manual" modifications to the tex output). I tried both lilypond 2.8.7 as it comes with debian and 2.10.16-1 as downloaded from lilypond.org. Both give: lilypond -b tex -f tex test.ly ... Calculating page breaks... Layout output to `test.tex'...ERROR: Unbound variable: pages Any ideas? -- Johannes ___ 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
Re: Bad number of pages (?!) Error
On Sun, Feb 11, 2007 at 05:47:13PM +, Marc Dimmick wrote: > Hi! > > I am using lilypond 2.10.14 on a windows XP SP2. I have been doing little > exercises to learn the Lilypong syntax. > > When I use to example below, lilypon creates the report copied in the bottowm > and the generates a "Lilypond has found en error and must close" message, > with > the option to send the report. > > I hope that someone can tell me what I am doing wrong. I am really confused. > Could it also be that some application has been corrupted? > > Thanks in advance, > > Marc. > > % little piano score 2007/01/31 > > \version "2.10.14" > > \header { > title = "Piano Score" > } > > \score { > \new PianoStaff << > \set PianoStaff.instrumentName = "Piano " > \new Staff = "upper" \clef treble \key c \major \time 4/4 { > c''2 d''4 bes4 } > \new Staff = "lower" \clef bass \key c \major \time 4/4 { c4 f2 > g4 } > >> > \layout { } > } You have the braces around your music in the wrong place. The \clef, key etc are all part of the music expressions. Try this: % little piano score 2007/01/31 %Fixed, but untested: \version "2.10.14" \header { title = "Piano Score" } \score { \new PianoStaff << \set PianoStaff.instrumentName = "Piano " \new Staff = "upper" {\clef treble \key c \major \time 4/4 c''2 d''4 bes4 } \new Staff = "lower" {\clef bass \key c \major \time 4/4 c4 f2 g4 } >> \layout { } } -- = Cameron Horsburgh = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: clashing notes
On Feb 11, 2007, at 11:46 AM, Tiago Morin wrote: Hi I'm trying to reduce beamed stem length to avoid stem clash: <<{g'2}\\{ \stemUp \override Stem #'details #'beamed-lengths = #'(1.25 ) g8[ d'] f'[ d'] }\\{ \stemDown g2}>> the Stem #'details #'beamed-lengths allows to increase the stem but not reduce... :( any suggestions? Thank's Tiago Morin Tiago- The solution to my problem proposed by Trevor yesterday seems to work with your example (using rather extreme values): \version "2.11.17" <<{g'2}\\{ \stemUp \once \override Beam #'positions = #'(-2.9 . -0.8) g8[ d'] f'[ d'] }\\{ \stemDown g2}>> Lily does still complain of clashing note columns. Stan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lyric Ties
I'm setting a Renaissance madrigal and am getting a series of compilation errors with regards to lyric ties. programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+1000203F, file /home/aaron/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name returns error continuing, cross fingers Now, the documentation says that I have to make sure I have an appropriate font to render this glyph. The font listed (DejaVuLGC) does not come with the Lilypond FreeBSD package. Is there a packaged font I need to use to font to render this glyph. The font listed (DejaVuLGC) does not come with the Lilypond FreeBSD package. Is there a packaged font I need to use to render these ties? If it's an external font, how do I install that into the FreeBSD Lilypond tree so it's seen? Thank you for your time and assistance! -- Aaron Dalton | Super Duper Games [EMAIL PROTECTED] | http://superdupergames.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Catching error messages
Cameron Horsburgh wrote: I'd love to be able to specify a log file for either each file or the entire run. Does this exist? If not, does anyone have any idea how I might be able to do this? for f in *.ly ; do lilypond $f > $f.log ; done; Something like that, at least. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: subbeams in tuplets [fr: barres de notes dans un triolet]
At 18:48 on 11 Feb 2007, Jean-Charles <[EMAIL PROTECTED]> wrote: > Le 11.02.2007 13:49, philippe hezaine disait on the French ML: > > Bonjour, > > > > \version "2.10.16" > > Quelqu'un sait-il comment, dans le sextolet, je peux obtenir > > une croche et 4 doubles sans que les barres soient détachées? > > The problem: a 4/4 measure containing a tuplet composed of > 1 eighth note and 4 sixteenth beamed 1-1-3 instead of 1-4. > > I have tried many solutions (makemoment, stemLfetBeam and > stemRightBeam...) without success I was going to suggest using \times 2/3 instead of 4/6, but tested it first and got the same results. This would seem to be a bug to me: a quaver triplet should not beam as two groups of three semiquavers. -- Mark Knoop ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: subbeams in tuplets [fr: barres de notes dans un triolet]
Le 11.02.2007 13:49, philippe hezaine disait on the French ML: Bonjour, \version "2.10.16" Quelqu'un sait-il comment, dans le sextolet, je peux obtenir une croche et 4 doubles sans que les barres soient détachées? The problem: a 4/4 measure containing a tuplet composed of 1 eighth note and 4 sixteenth beamed 1-1-3 instead of 1-4. I have tried many solutions (makemoment, stemLfetBeam and stemRightBeam...) without success Here is the code and the image of what we would like to obtain. TIA Jean-Charles \version "2.10.16" \paper { #(define dump-extents #t) force-assignment = #"" indent = 0\mm line-width = 60\mm line-width = #(- line-width (* mm 3.00)) } \header { title = "Subbeam in tuplets" } \score { \relative c'' { \time 1/4 \times 4/6 { d8^"automatic behaviour" e16 d16 e16 d16} \break \times 4/6 { d16^"detailed version"~d e d e d } \break \time 3/8 d8[^"how I would like it" e16 d16 e d] } \layout {ragged-right = ##t} } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Bad number of pages (?!) Error
Hi! I am using lilypond 2.10.14 on a windows XP SP2. I have been doing little exercises to learn the Lilypong syntax. When I use to example below, lilypon creates the report copied in the bottowm and the generates a "Lilypond has found en error and must close" message, with the option to send the report. I hope that someone can tell me what I am doing wrong. I am really confused. Could it also be that some application has been corrupted? Thanks in advance, Marc. % little piano score 2007/01/31 \version "2.10.14" \header { title = "Piano Score" } \score { \new PianoStaff << \set PianoStaff.instrumentName = "Piano " \new Staff = "upper" \clef treble \key c \major \time 4/4 { c''2 d''4 bes4 } \new Staff = "lower" \clef bass \key c \major \time 4/4 { c4 f2 g4 } >> \layout { } } # -*-compilation-*- Changing working directory to `C:/Documents and Settings/Marc/Desktop' Processing `C:/Documents and Settings/Marc/Desktop/pianoscore.ly' Parsing... Interpreting music... [4] Preprocessing graphical objects... programming error: tried to space systems on a bad number of pages continuing, cross fingers ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
clashing notes
Hi I'm trying to reduce beamed stem length to avoid stem clash: <<{g'2}\\{ \stemUp \override Stem #'details #'beamed-lengths = #'(1.25 ) g8[ d'] f'[ d'] }\\{ \stemDown g2}>> the Stem #'details #'beamed-lengths allows to increase the stem but not reduce... :( any suggestions? Thank's Tiago Morin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
using tex fonts for lyrics and titles
Hello, I've a latex file with embedded lilypond parts. I'd like to use the very same font for the lilypond lyrics as for the rest of the latex file. Suppose, I've in my latex file: \newfont{\lyfontFont}{texnansi-anttr scaled 1440} \newcommand{\lyfont}{ \lyfontFont \setlength{\baselineskip}{20pt} } how can I use \lyfont for lilypond lyrics? -- Johannes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Problems with Lilypond
Hello, I just discoverd your great programm its cool to be able to set my own melodies to paper... but i have a problem with the examples ... i can only open, the first "a little skale" nothing else... there is always this error: # -*-compilation-*- aktuelles Verzeichnis kann nicht zu »D:/Latech/LilyPond/usr/share/lilypond/current/ly« geändert werden »D:/Latech/LilyPond/usr/share/lilypond/current/ly/deutsch.ly« wird verarbeitet Analysieren... don't know what to do... thanks for your help Thomas Toczkowski ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Catching error messages
Do you need to redirect stderr instead? Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Catching error messages
Hi folks, I'm trying to batch process a whole lot (150+) of ly files. I'm able to process them, but a lot of them are producing errors that I'd like to be able to catch in some organised way. I've tried simply directing stdout to a file, but that doesn't seem to work (I'm running Debian GNU/Linux, BTW). I'd love to be able to specify a log file for either each file or the entire run. Does this exist? If not, does anyone have any idea how I might be able to do this? -- = Cameron Horsburgh = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
tex backend
Hi, I'm desperately trying to use the tex backend (as I'd like to do some "manual" modifications to the tex output). I tried both lilypond 2.8.7 as it comes with debian and 2.10.16-1 as downloaded from lilypond.org. Both give: lilypond -b tex -f tex test.ly ... Calculating page breaks... Layout output to `test.tex'...ERROR: Unbound variable: pages Any ideas? -- Johannes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 2 problems
Hi, Your .ly file contains the line \key = { \key a \major } I don't think there are any legal LilyPond expressions of the form \foo = anythingatall Did you mean to write something like mykey = { \key a \major } ? However, I don't understand the error message the system gave you. -- Tom rpalmer wrote: I also am having problems with the file structure, so I decided to start simply, and from scratch, but I'm having problems with that, too. I can't figure out what's wrong with this file, but I suspect the problem may be related to the missing version problem. % Begin Snippet %%% %% A Major Scale \version "2.10.10" \include "english.ly" \header {} \key = { \key a \major } \time 4/4 scale = { A1 } % Score \score { \scale } %% End Snippet % And here's the log: % Start % # -*-compilation-*- Changing working directory to `C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet Music/LilyPond/Classical/Scales' Processing `C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet Music/LilyPond/Classical/Scales/A Scale.ly' Parsing... C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet Music/LilyPond/Classical/Scales/A Scale.ly:1:2: error: syntax error, unexpected $undefined, expecting '=' ^?þ %C:/Documents and Settings/rpalmer/My Documents/Ralph/Sheet Music/LilyPond/Classical/Scales/A Scale.ly: 0: warning: no \version statement found, please add \version "2.10.16" for future compatibility error: failed files: "C:\\Documents and Settings\\rpalmer\\My Documents\\Ralph\\Sheet Music\\LilyPond\\Classical\\Scales\\A Scale.ly" %%% End %% ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user