(Fwd) Re: Fw: again: PDF size
--- Weitergeleitete Nachricht / Forwarded message --- Von:Thomas Scharkowski <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Betreff:Re: Fw: again: PDF size Datum: Thu, 19 Jan 2006 07:52:05 +0100 Point and click is disabled in the files in question. Thomas > See the documentation: > http://lilypond.org/doc/v2.7/Documentation/user/lilypond.html#Point- > an d-click > > The point and click links enlarge the output files significantly. > For reducing the size of PDF and PS files, point and click may be > switched off by issuing #(ly:set-option 'point-and-click #f) in a > .ly file. Alternately, you may pass this as an command-line option > lilypond -dno-point-and-click file.ly > > > > > I have noticed that the size of the pdfs produced by lily > > > > 2.7.27 on (windows xp) is much bigger than in previous > > > > versions. I have tested the same file unchanged with > > > > > > > > 2.7.18 Win > 44 KB > > > > 2.7.23 Win > 44 KB > > > > 2.7.27 Win > 1.220 KB > > > > -- > > Toine Schreurs > -- > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user --- Ende der weitergeleiteten Nachricht / End of forwarded message --- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Putting Lyrics between barlines
I've had another look at this and noticed that the artificats are actually bits of barlines below the lyric line. I'm not sure whether this is a bug or I've done something wrong. Again any help appreciated. Trent I've attached a proper example showing this problem. The .ps/.pdf file produce there shows dots and other artifacts mixed with the lyrics. I've tried both Windows and Linux versions of 2.7.27 both outputs display this problem. Any help appreciated. Trent Good Afternnon again, I'm currently playing around with lyrics trying to get them stay within the barline. I am doing this because sometimes a word or syllable will end up hanging outside the right hand side of a score (still under a note but because the length of the syllable it can sometimes just hang in space.). But anyway the problem is now that I tried to force the syllables within the bar I get a lot of artificats (dots short black lines etc.). I've provided the score/layout part of my score. Am I doing anything wrong?? or is it a bug? This is the case with both the current 2.7.27 windows and linux versions. Regards, Trent = \score { << \new StaffGroup << \staffViolin \staffViolinII >> \new ChoirStaff << \staffAlto \context Lyrics = "lmelodyAlt" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyAlt" \altolyr }\staffTenor \context Lyrics = "lmelodyTen" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyTen" \tenolyr }\staffBass \context Lyrics = "lmelodyBas" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyBas" \basslyr } >> \new StaffGroup << \staffCello >> >> \midi { } \layout { \context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 2.3))) } \context {\RemoveEmptyStaffContext} \context { \Lyrics \consists "Separating_line_group_engraver" } indent = 2.0\cm }} ___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user % Created on Tue Oct 18 15:06:11 EST 2005 \version "2.7.27" \header { } #(set-global-staff-size 14) %\paper { \include "paper.ly" } \include "english.ly" verse= \lyricmode { L'oc -- chio ne -- ro vi -- va -- ce di Fil -- "li a" te dà pe -- na; di Li -- co -- ri ti pia -- "ce il" lab -- bro lu -- sin -- ghie -- ro; di Li -- "dia il" bion -- do cri -- ne al tuo co -- "re è" ca -- te -- na; in me ti pia -- "ce il" bri -- o: e con va -- rio de -- si -- o, or per Li -- dia, or per Fil -- li, or per Li -- co -- ri, ed or per me, van -- tan -- do nel tuo se -- no, nu -- drir co -- stan -- "ti ar" -- do -- ri con vo -- lu -- bi -- le ge -- nio ed in -- con -- stan -- te, sei di tut -- "te, o" Fi -- le -- no, in -- fi -- do tra -- di -- tor, non fi -- "do a" -- man -- te. } staffSoprano = \new Staff { \time 4/4 % \set Staff.instrument="Soprano." \set Staff.midiInstrument="choir aahs" \key bf \major \clef treble \relative c'' { \context Voice = "melodySop" { \dynamicUp \autoBeamOff %bar 1 r4 bf8 bf g4 g8 f %bar 2 g8 g r g b b b c %bar 3 c8 c r c16 d ef8 bf r4 %bar 4 r8 bf bf c df df df c %bar 5 af8 af r c a a bf c %bar 6 ef,8 ef r ef16 g ef4 ef8 d %bar 7 d8 d r4 r r8 d' %bar 8 a4 r4 r8 a bf c %bar 9 bf8 bf r4 r a8 g %bar 10 ef'4 ef8 ef cs cs r d16 e %bar 11 g,8 g r a16 e f8 f r4 %bar 12 r8 f bf f g g r16 g c g %bar 13 a4 r8 f c' c c d %bar 14 ef8 ef r ef ef ef ef d %bar 15 b8 b r4 r8 d16 c b8 a16 g %bar 16 c8 c r16 g a bf a8 a r c16 c %bar 17 f4 c8 ef8 d d r d %bar 18 f8 d c d bf4 r %bar 19 g'4 cs,8. d16 d8 a r4 } \bar "||" } } staffCello = \new Staff { % \set Staff.instrument="Cello" \set Staff.midiInstrument="cello" \key bf \major \clef bass \relative c { %bar 1 ef1 %bar 2 ef2 d %bar 3 c2 g2~ %bar 4 g2 g %bar 5 c2~c %bar 6 c1 %bar 7 s2 bf %bar 8 fs1 %bar 9 g1 %bar 10 g2 a %bar 11 cs2 d %bar 12 d2 ef4 e %bar 13 f1~ %bar 14 f1 %bar 15 f1 %bar 16 e2 f %bar 17 a,2 bf %bar 18 bf2 g %bar 19 g2 a4 d, \bar "||" } } basfigs = \figuremode { \context FiguredBass { \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) \set figuredBassPlusDirection = #1 %bar 1-2 s1*2 %bar 3 s2 <6> %bar 4 s1 %bar 5 <6->2 <6!>2 %bar 6 <6>2 s %bar 7-9 s1*3 %bar 10 <6 4 2>2 <_+> }} \score { << \staffSoprano \context Lyrics = "lmelodySop" \lyricmode { \lyricsto "melodySop" \verse } { \staffCello } \basfigs >> \midi { } \layout { indent = 2.5\cm \context { \Lyrics \consists "Bar_engraver" } \context { \Lyrics \consists "Separating_line_group_engraver" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: writing Irish Traditional music
On Thu, Jan 19, 2006 at 12:46:44AM +0100, Gilles wrote: > > is there any recommended sources of info on writing Irish Tradition tunes > > using Lilypond ? > > Are there specifics for Irish music? Not that I know of. It is largely an aural tradition. The emphasis is not on scores at all. Pieces are short and there is usually a lot of repetition. > > Does anyone have any hints for a fast: > > > > editor -> score -> midi > > > > revision cycles ? > > > > What do you mean? [I just do what you described below.] I suppose it all boils down to processor speed. From the time I edit the score until I get the finished pdf and midi files, there is quite a delay. Due to my own lack of skill, I make lots of mistakes, so I end up going round this cycle a goodly number of times. Programming an xemacs function key will probably help. -- Thanks Joe Mc Cool Snark, currently Shannon Harbour ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
polyphony and lyrics
Hi allz, i've just met a ?problem? ... or i'm a bit lamer :P situation: there's a polyphonyc stem with lyrics, but lyric doesn't continu at that point ... source-part(s): % .. bass_notes_part r4 | r a,\p-> | d8-> d4\<-> d8\!-> | << { e4( d4~ } \\ { a2( } >> | << { d8 } \\ { g,8) } >> r r4 | % .. lyric_mode_part | Play | on Hal -- le -- lu, the output of parsing: ### Parsing... Interpreting music... [8] main.ly:57:74: warning: unterminated slur g8\! b4-> c8\> b\! r r4 | r a,\p-> | d8-> d4\<-> d8\!-> | << { e4 ( d4~ } \\ { a2( } >> |[9] main.ly:62:75: warning: unterminated hyphen; removing Play | on, Hal -- le -- | lu, Hal -- le -- | lu, Play on Hal -- le -- lu, Preprocessing graphical objects... ### and really seems: one slur unterminated in the source, but ended on output - see attachment if anybody has an idea to solve it ...;-) thanx a lot: [EMAIL PROTECTED] signature.asc Description: Ez az üzenetrész digitális aláírással van ellátva ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: RE: How to invoke Lilypond-book (Windows / Ubuntu)
Thanks for the advice. However, though double clicking lilypond-book.py does something in Windows, I still don't know how to process the files. Running python c:/Progra~1/LilyPond/usr/bin/lilypond-book.py from Command prompt looks OK, but if I do python c:/Progra~1/LilyPond/usr/bin/lilypond-book.py test.lytex, then I get Path not found. lilypond-book.py (GNU LilyPond) 2.7.27 Reading C:\Documents and Settings\gost\Desktop\test.lytex... Running latex...lilypond-book.py: error: `latex' failed (signal 1) lilypond-book.py: error: The error log is as follows: Traceback (most recent call last): File "C:\Progra~1\LilyPond\usr\bin\lilypond-book.py", line 1692, in ? main () File "C:\Progra~1\LilyPond\usr\bin\lilypond-book.py", line 1658, in main chunks = do_file (file) File "C:\Progra~1\LilyPond\usr\bin\lilypond-book.py", line 1514, in do_file set_default_options (source) File "C:\Progra~1\LilyPond\usr\bin\lilypond-book.py", line 683, in set_default_options textwidth = get_latex_textwidth (source) File "C:\Progra~1\LilyPond\usr\bin\lilypond-book.py", line 1333, in get_latex_textwidth ly.system ('latex %s' % tmpfile) File "C:\Program Files\LilyPond\usr\bin\lilylib.py", line 296, in system sys.stderr.write (open (error_log_file).read ()) IOError: [Errno 2] No such file or directory: 'tmpsoit1mlatex.errorlog' Of course, latex runs normally from the command prompt, so that should not be the problem. (BTW, I had to put "C:\Progra~1\Lilypond\usr\bin" at the end of my PATH variable to be able to execute python from command prompt.) Bostjan -Original Message- From: Erik Sandberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:14 PM To: lilypond-user@gnu.org Cc: Bostjan Kuzman Subject: Re: How to invoke Lilypond-book (Windows / Ubuntu) On Tuesday 17 January 2006 19.18, Bostjan Kuzman wrote: > I've succesfully installed Lilypond 2.7.27-4 in Windows and in Ubuntu > Breezy (the autopackage - I would suggest using "sudo sh > lilypond-X.Y.Z.linux.sh" to avoid path problems here). > > However, I don't know how to invoke lilypond-book in any of this > systems. I can't even find a lilypond-book executive, only a py > script. lilypond-book _is_ a python script, and it should be marked executable. Try running it! -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: parallel versus series scoring
"-DeeT (sent by Nabble.com)" <[EMAIL PROTECTED]> writes: > The Lilypond manual explains well how to code this way: > > staff1, all measures > staff2, all measures > staff3, all measures > > I'd prefer to have this organization in the source: > > staff1,measure-group1 > staff2,measure-group1 > staff3,measure-group1 > % > staff1,measure-group2 > staff2,measure-group2 > staff3,measure-group2 The following function may enable the style you want. It uses the "|" bar check sign to separate different voices: staff1 measure-group1 | staff2 measure-group1 | staff3 measure-group1 | staff1 measure-group2 | staff2 measure-group2 | staff3 measure-group2 | -- parallelMusic = #(def-music-function (parser location voice-number music) (number? ly:music?) (let ((voices (make-vector voice-number (list))) (current 0)) (define (push-music music index) (vector-set! voices index (cons music (vector-ref voices index (map-in-order (lambda (m) (push-music m current) (if (eq? (ly:music-property m 'name) 'BarCheck) (set! current (modulo (1+ current) voice-number (ly:music-property music 'elements)) (make-music 'SimultaneousMusic 'elements (map-in-order (lambda (music-list) #{ \new Staff $(make-music 'SequentialMusic 'elements (reverse! music-list)) #}) (vector->list voices) \new StaffGroup \parallelMusic #'3 { \time 4/4 g' g' g' g' | e' e' e' e' | c' c' c' c' | %% \time 3/4 a' a' a' | fis' fis' fis' |d' d' d' | %% \time 2/4 b' b' c'' c'' | gis' gis' a' a' | e' e' f' f' | } -- You can also define something similar for mixing a melody and lyrics, but you'll have to use \lyricmode explicitly, which is not convenient here. -- songMusic = #(def-music-function (parser location music) (ly:music?) (let ((voices (make-vector 2 (list))) (current 0) (voice-number 2)) (define (push-music music index) (vector-set! voices index (cons music (vector-ref voices index (map-in-order (lambda (m) (push-music m current) (if (eq? (ly:music-property m 'name) 'BarCheck) (set! current (modulo (1+ current) voice-number (ly:music-property music 'elements)) (let ((voice (make-music 'SequentialMusic 'elements (reverse! (vector-ref voices 0 (lyrics (make-music 'SequentialMusic 'elements (reverse! (vector-ref voices 1) #{ \new Voice { $voice } \addlyrics { $lyrics } #}))) \new StaffGroup \songMusic { c'8 c' c' d' e'4 d' | \lyricmode { Au clair de la lu -- ne, } | %% c'8 e'8 d' d' c'2 | \lyricmode { mon a -- mi Pier -- rot } | } -- Note that these are just hacks. nicolas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: polyphony and lyrics
This is a very popular question. To understand what's going on, please read in Sect. "6.6.2 Explicitly instantiating voices" exactly what the << ... \\ .. >> feature does. The easiest solution is often to skip this feature and explicitly instantiate the voices instead. One example is included in "7.3.7 More stanzas". /Mats Herczeg Olivér wrote: Hi allz, i've just met a ?problem? ... or i'm a bit lamer :P situation: there's a polyphonyc stem with lyrics, but lyric doesn't continu at that point ... source-part(s): % .. bass_notes_part r4 | r a,\p-> | d8-> d4\<-> d8\!-> | << { e4( d4~ } \\ { a2( } >> | << { d8 } \\ { g,8) } >> r r4 | % .. lyric_mode_part | Play | on Hal -- le -- lu, the output of parsing: ### Parsing... Interpreting music... [8] main.ly:57:74: warning: unterminated slur g8\! b4-> c8\> b\! r r4 | r a,\p-> | d8-> d4\<-> d8\!-> | << { e4 ( d4~ } \\ { a2( } >> |[9] main.ly:62:75: warning: unterminated hyphen; removing Play | on, Hal -- le -- | lu, Hal -- le -- | lu, Play on Hal -- le -- lu, Preprocessing graphical objects... ### and really seems: one slur unterminated in the source, but ended on output - see attachment if anybody has an idea to solve it ...;-) thanx a lot: [EMAIL PROTECTED] ___ 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: using \include for fret diagrams
First of all, using \include is completely equivalent to pasting a copy of the included file at the place where you have the \include command, so there's nothing magic at all with \include. I guess your real question is how to define a macro for a particular fret diagram. You can simply do: myfret = \markup \fret-diagram #"4-2-2;3-1-1;2-o;1-o;" and use the corresponding macro like c^\myfret /Mats Shelagh Manton wrote: I've been thinking about using fret diagrams in various lead sheets for singing and finding it awkward to use fret diagrams. If I wrote a fret.ly file with my usual set of frets in it can I include it as you would files such as english.ly etc? Actually I know you can do this; probably what I'm asking is what would the file look like? Shelagh ___ 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
Caesura directly underneath fermata
I'm typesetting a choral work (I didn't write it myself) for SATB and the composer in his manuscript has placed a fermata directly above a caesura ("railroad tracks") directly over a barline _in all four parts_. In other words, it looks like this F C S =|=|=|= | | | | F | | C | A =|=|=|= | | | | F | | C | T =|=|=|= | | | | F | | C | B =|=|=|= (In case that's not clear | = barline, F = fermata, C = caesura, = = staff) In the manuscript, the fermata and caesura are directly on top of barline in the ATB parts. I've killed myself trying to get this to work. Does anyone have any ideas on how to do it? I'm using Lilypond 2.4.5. Many thanks! David Wake ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Question about multimeasure rests
Hello, Lylipond works fine, but I just have a little question : Is there a way to control the printed length(in mm) of multimesure rest? (i.e., without doing anything, a 20 measures rest can have the same length as a 4 measures rest on the printed score) Could you help me? Thank you, K. Hakil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: parallel versus series scoring
of course, its pretty simple - see attached file. After you finished a piece, do ctrl+a and copy the content of the cells to a .ly file. cheers, john Am Mittwoch, den 18.01.2006, 14:05 -0800 schrieb Jay Hamilton, Sound and Silence: > John- > Could you go into this alittle more. I'm using OOo alot though the > winxp version for lilypond and music matters. > I'm also trying to write largish scores and keeping track of everything > is a problem. But what I'm unsure about with your 'solution' is how do > you then copy/paste the material into a form that lily can read? Without > the underlying coding of OOo interferring with the music? > Jay > > John Wiedenhoeft wrote: > > >Well, I don't know if Lilypond provides something like this. What I do > >sometimes is using a spreadsheet editor (OOo Calc, Excel) with one cell > >per bar. With this method, you are not limited to one dimension, but > >have two, as in a real score. You can stack simultaneous bars under each > >other. You can also use cell references to structure your score. > > > >Cheers, > >John > > > > > > > >___ > >lilypond-user mailing list > >lilypond-user@gnu.org > >http://lists.gnu.org/mailman/listinfo/lilypond-user > > > > > > > > > barbireau.ly.xls Description: MS-Excel spreadsheet ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book output
On 8-Jan-06, at 8:02 AM, Georg Dummer wrote: Then I get the whole score with the markup in the correct order but in one picture which is only suitable for realy small scores. If I comment out the "\book" block the several lines are drawn in serveral pictures but all \markups are put in one picture. The same thing happens if I use the "\header" instead of the first markup. Interesting. The \book behavior is what's supposed to happen. Having \score{ { { notes } \markup{} \markup{} } } is a relatively new construct. But I agree that is seems that the two \markup sections should be processed separately (producing separate .eps files). Is it possible to put every separate markup, header and line of a score in different eps-files? You could probably fake it by inserting an empty, invisible score in between the \markup fields. - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Hebrew, UTF-8, etc.
Quoting Matts Bengtsson: >> hello >> >>> Is there a known bug in Notepad concerning UTF-8, or is it UTF-8 >>> encoding incompatible with Lilypond? >On the contrary, LilyPond only knows about UTF-8, since version 2.6.0, >see the manual. I was asking if Notepad's UTF-8 encoding is incompatible with Lilypond. >> If you use The Windows NotePad they can not save in UFT-8 ! >Certainly it can, at least in Windows XP (unfortunately not in Win98, though)! Sorry to disappoint you. Notepad can only save as *signed* UTF-8 format. Which is indeed incompatible with Lilypond. >> If you want a simple textEditor use NotePad2 >> http://www.flos-freeware.ch/notepad2.html >> in the file menu choise code UFT-8 >Or look at the latest weeks discussions on different text editors in >the mailing list archives. Thanks, I'm already using Notepad2 for files having unicode. Seems not to be working well with Hebrew though. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: using \include for fret diagrams
On Thu, 19 Jan 2006 21:57:38 +0100, Mats Bengtsson wrote: > First of all, using \include is completely equivalent to > pasting a copy of the included file at the place where you > have the \include command, so there's nothing magic at all > with \include. > > I guess your real question is how to define a macro for > a particular fret diagram. You can simply do: > myfret = \markup \fret-diagram #"4-2-2;3-1-1;2-o;1-o;" > > and use the corresponding macro like > > c^\myfret > > /Mats > I have been able to work out fret diagrams within a particular file, but I was hoping to have a permanent file of fret macros that I could call on from other lily files using \include. I know it is possible but, I was wondering if the file I called on in \include frets.ly is written just the same as other lily files or do they have special instructions? Shelagh ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: using \include for fret diagrams
Shelagh Manton wrote: On Thu, 19 Jan 2006 21:57:38 +0100, Mats Bengtsson wrote: First of all, using \include is completely equivalent to pasting a copy of the included file at the place where you have the \include command, so there's nothing magic at all with \include. I guess your real question is how to define a macro for a particular fret diagram. You can simply do: myfret = \markup \fret-diagram #"4-2-2;3-1-1;2-o;1-o;" and use the corresponding macro like c^\myfret /Mats I have been able to work out fret diagrams within a particular file, but I was hoping to have a permanent file of fret macros that I could call on from other lily files using \include. I know it is possible but, I was wondering if the file I called on in \include frets.ly is written just the same as other lily files or do they have special instructions? No special instructions. The text in the frets.ly file will just replace the text" '\include "frets.ly"' Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: using \include for fret diagrams
[snip] >> > No special instructions. The text in the frets.ly file will just > replace the text" > '\include "frets.ly"' > > Paul Scott Good, I'll try it out asap. SOM ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user