Re: how to display a predefined guitar fretboard inside a \markup block
2014/1/27 Eluze > pleas always check the log - it says: > > "warning: no systems found in \score markup, does it have a \layout block?" > > does this help? > oops, stupid me! thanks, it works fine ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to display a predefined guitar fretboard inside a \markup block
Federico Bruni-5 wrote > See below: only "Hello World" is printed, the \score is ignored > > \version "2.18.0" > \include "predefined-guitar-fretboards.ly" > > myChords = \chordmode { > c1 > a1:m > g1:7 > c1:7 > f1 > > } > > \markup { > Hello World > \score { > << > \new ChordNames { > \set chordChanges = ##t > \myChords > } > > \new FretBoards { > %\set chordChanges = ##t > \myChords > } > >> > } > } pleas always check the log - it says: "warning: no systems found in \score markup, does it have a \layout block?" does this help? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/how-to-display-a-predefined-guitar-fretboard-inside-a-markup-block-tp158493p158509.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to display a predefined guitar fretboard inside a \markup block
2014/1/26 Eluze > I think what Patrick tells is the way to do it: > > to display the fret diagram as defined in the mentioned just add > > \new FretBoards \myChords > > in the appropriate place! > > was that your question? > See below: only "Hello World" is printed, the \score is ignored \version "2.18.0" \include "predefined-guitar-fretboards.ly" myChords = \chordmode { c1 a1:m g1:7 c1:7 f1 } \markup { Hello World \score { << \new ChordNames { \set chordChanges = ##t \myChords } \new FretBoards { %\set chordChanges = ##t \myChords } >> } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Any Finale/Sibelius forum members here?
Hi, It's time to announce our Engraving Contest (http://lilypondblog.org/2014/01/an-engraving-contest/) to the Finale and Sibelius users - hopefully they will become interested and participate, which would be good for two reasons: - contest results will be more reliable, - LilyPond will get more publicity. Is there anyone here who has an account on Fin/Sib forums and could make an announcement there? (i think it would be more welcome when coming from someone who already was a forum member before making the announcement). Below is an invitation draft. thanks, Janek&Urs -- We'd like to invite Finale/Sibelius users to participate in an engraving contest together with Sibelius/Finale, LilyPond, Musescore and others! Please see http://lilypondblog.org/2014/01/an-engraving-contest/ https://github.com/engraving-challenges/main/blob/master/README.md (although the contest is organized by LilyPond users, this is not an attempt to prove that LilyPond is better than other notation software! We're sure that LilyPond will fail at some tasks, and that this will be an opportunity for *everyone* to learn from each other). ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Positioning of markup at grob refpoint
Am 27.01.2014 00:09, schrieb Paul Morris: \version "2.18.0" myFunction = #(lambda (grob) (let* ((notehead-stl (ly:grob-property grob 'stencil)) ;; for scaling your stencil according to font size (fsz (ly:grob-property grob 'font-size 0.0)) (mult (magstep fsz))) (set! (ly:grob-property grob 'stencil) (ly:stencil-add notehead-stl (ly:stencil-scale (make-connected-path-stencil '((-1 0.5) ;; path coordinates (-1 0) (-0.5 0.2)) 0.1 ;; line thickness 1 ;; X-axis scaling factor 1 ;; Y-axis scaling factor #f ;; auto-connect path to origin point? (0 0) #f) ;; filled path? mult mult) { \override NoteHead.after-line-breaking = \myFunction c'4 d' e' f' } Thanks a lot. This definitely will bring me in the right direction! Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Positioning of markup at grob refpoint
Something like this should do the trick. -Paul \version "2.18.0" myFunction = #(lambda (grob) (let* ((notehead-stl (ly:grob-property grob 'stencil)) ;; for scaling your stencil according to font size (fsz (ly:grob-property grob 'font-size 0.0)) (mult (magstep fsz))) (set! (ly:grob-property grob 'stencil) (ly:stencil-add notehead-stl (ly:stencil-scale (make-connected-path-stencil '((-1 0.5) ;; path coordinates (-1 0) (-0.5 0.2)) 0.1 ;; line thickness 1 ;; X-axis scaling factor 1 ;; Y-axis scaling factor #f ;; auto-connect path to origin point? (0 0) #f) ;; filled path? mult mult) { \override NoteHead.after-line-breaking = \myFunction c'4 d' e' f' } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Positioning-of-markup-at-grob-refpoint-tp158489p158505.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Positioning of markup at grob refpoint
Janek Warchoł wrote > I think that you should override grob's stencil and add your own > stencil to previous stencil - it should be placed just like you > describe. Look at debugging bezier curves and adding grob refpoints > (from oll/snippets) for inspiration. +1 Just work with stencils instead of using a markup. Here are two snippets showing two ways to create path stencils: http://lsr.dsi.unimi.it/LSR/Item?id=891 http://lsr.dsi.unimi.it/LSR/Item?id=623 And a function to combine stencils: Function: ly:stencil-add args Combine stencils. Takes any number of arguments. Cheers, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Positioning-of-markup-at-grob-refpoint-tp158489p158504.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to display a predefined guitar fretboard inside a \markup block
I think what Patrick tells is the way to do it: to display the fret diagram as defined in the mentioned just add \new FretBoards \myChords in the appropriate place! was that your question? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/how-to-display-a-predefined-guitar-fretboard-inside-a-markup-block-tp158493p158503.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
Paul Scott-4 wrote > On Sun, Jan 26, 2014 at 12:23:10PM +0100, Karol Majewski wrote: >> Hi! Sometimes I want my hairpin run to the end of the piece (last bar >> line). >> >> Attempt 1: >> >> { >> \override Hairpin #'to-barline = ##f >> c'1~ \< >> c'1 \! \bar "|." >> } > > > Why do you set Hairpin #'to-barline = ##f if you want the hairpin to go > to the barline? What's wrong with: > > { c'1~ \< c' <>\! \bar "|." } that's absolutely correct - the confusion may have come from the fact that to-barline = ##t usually stops the hairpin at the bar line before the last note... and obviously it is the bar line before the last (null-)event. thanks for clarifying! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Hairpin-to-the-last-bar-line-tp158475p158502.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to display a predefined guitar fretboard inside a \markup block
2014/1/26 pls > On 26.01.2014, at 21:00, Federico Bruni wrote: > > There's a way to display a predefined guitar fretboard inside a \markup > block? > See below an example of a simple leadsheet: I want to display the chord > fretboards below the title. I'm defining the fretboards with \fret-diagram > commands, but I wonder if I can avoid it and use the definitions in > predefined-guitar-fretboards.ly > > You could use a \score block within a \markup block like so: > > GuitarFretBoards = \markup { > \score { %Begin score for FretBoards > %\layout {\indent = 6\cm} > << > \new ChordNames { > \set chordChanges = ##t > \chordmode { > c1 > a1:m > g1:7 > c1:7 > f1 > > } %end chordmode > } %end ChordNames > > \new FretBoards { > %\set chordChanges = ##t > \chordmode { > c1 > a,1:m > g,1:7 > c1:7 > f,1 > } %end chordmode > } %end FretBoards > >> > } %end score for FretBoards > } > I can't make your example work... Anyway I don't think that it does what I'm looking for. I'd like to include in a markup block *only the fretboards* (defined in predefined-guitar-fretboards.ly) , just like I can include a sharp sign with \sharp. \score inside \markup creates a *full* score. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
understanding midi files
I'm experimenting with midi file to lilypond conversion since midi2ly creates files that are hard to read for me, and thus makeing it hard to use its output. Yes I can write a program to tidy up its output, and I did so, but looking at the dump of a midi file with this simple program: /// midi.pl: #!/usr/bin/perl -w use strict; use MIDI; sub proc_file($); my $file; foreach $file (@ARGV) { proc_file($file); } sub proc_file($) { my $file = shift; my $opus = MIDI::Opus->new({ 'from_file' => $file }); $opus->dump({ "dump_tracks" => 1 }); } /// I started to experimenting extracting e.g. header data etc. in the program: http://turkos.aspodata.se/git/musik/bin/miditoly.pl (Which is work in progress.) Looking at midi files created with NoteWorthy Composer, e.g.: http://www.cipoo.net/downloads/midi/LottiAminAgnus.mid it should be possible to create a good readable .ly files. Dumping this midi file with midi.pl, it easy to identify what goes where. If you can create example files (midi and pdf) created from notesetting programs, perhaps we can identify heuristics for a nice conversion to ly-code. Idéas and suggested conventions for the generated code are also welcome. 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: Dynamics not correctly aligned
Hi, 2014-01-26 David Sumbler : > \version "2.14.2" > > << > \new Staff = "flute" \relative c''' { c1\p c\f } > \new PianoStaff << > \new Staff \relative c'' { c1 c } > \new Dynamics { s1\p s\f } > \new Staff \relative c { \clef bass c1 c } > >> >>> > > the dynamics in the piano part appear slightly further to the left than > those in the flute part do. I get the same result (disregarding the > change in vertical alignment) with: > > What am I doing wrong here? Thanks in advance for any help you can > offer. You are using too old version of LilyPond - this bug was fixed years ago by Mike Solomon :-) best, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to display a predefined guitar fretboard inside a \markup block
On 26.01.2014, at 21:00, Federico Bruni wrote: > There's a way to display a predefined guitar fretboard inside a \markup block? > See below an example of a simple leadsheet: I want to display the chord > fretboards below the title. I'm defining the fretboards with \fret-diagram > commands, but I wonder if I can avoid it and use the definitions in > predefined-guitar-fretboards.ly You could use a \score block within a \markup block like so: GuitarFretBoards = \markup { \score { %Begin score for FretBoards %\layout {\indent = 6\cm} << \new ChordNames { \set chordChanges = ##t \chordmode { c1 a1:m g1:7 c1:7 f1 } %end chordmode } %end ChordNames \new FretBoards { %\set chordChanges = ##t \chordmode { c1 a,1:m g,1:7 c1:7 f,1 } %end chordmode } %end FretBoards >> } %end score for FretBoards } hth patrick > > \version "2.18.0" > \include "predefined-guitar-fretboards.ly" > > myChords = \chordmode { > g2 e:m7 > a:m7 d:7 > } > > myLyrics = \lyricmode { > "This is"2 "my song, " > "sing with" "me" > } > > GuitarFretBoards = \markup { > \column { "G" \fret-diagram-terse #"3;2;o;o;o;3;" } > \column { "Em7" \fret-diagram-terse #"o;2;2;o;3;o;" } > } > > \bookpart { > \header { > title = "Title" > } > \paper { > markup-system-spacing = #'((padding . 10)) > } > \GuitarFretBoards > \score { > << > \new ChordNames { \myChords } > \new Lyrics { \myLyrics } > >> > \layout { > indent = 0 > line-width = 110 > ragged-right = ##f > } > } > } > ___ > 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: Dynamics not correctly aligned
Greetings David, On 1/26/14, David Sumbler wrote: > I am a new user of Lilypond, using v. 2.14.2 on Ubuntu 12.04. I have > read the Learning Manual and Notation Reference twice each, and most of > the other documentation at least once. > First of all, welcome to LilyPond! Second, I would advise moving to the latest stable version of LilyPond, version 2.18.0. This is especially because certain basic ways of writing overrides, for example, have changed, and it will likely be easier to communicate solutions with an updated version. Third, the manuals are tightly written, and pieces of relevant information may yet be found strewn the manuals in sometimes unlikely places. > Having set two pieces (one for solo marimba, and one for flute and > piano), I hoped that I had reached the stage of being able to fine tune > the appearance, but stumbled at almost the first hurdle! > > My first problem concerns the second piece. If I include the piano > dynamics separately from the notes, as suggested in section A.2.4 (Piano > Centred Dynamics) of the Learning Manual, they do not line up correctly > with the dynamics in the flute part, which I have attached to the notes. > > For instance, with: > > \version "2.14.2" > > << > \new Staff = "flute" \relative c''' { c1\p c\f } > \new PianoStaff << > \new Staff \relative c'' { c1 c } > \new Dynamics { s1\p s\f } > \new Staff \relative c { \clef bass c1 c } > >> >>> > > the dynamics in the piano part appear slightly further to the left than > those in the flute part do. I get the same result (disregarding the > change in vertical alignment) with: > > \version "2.14.2" > > dynamics = { s1\p s\f } > > << > \new Staff = "flute" \relative c''' { c1\p c\f } > \new PianoStaff << > \new Staff << \relative c'' { c1 c } \dynamics >> > \new Staff \relative c { \clef bass c1 c } > >> >>> > > In the actual piece I have set, the misplaced piano dynamics actually > collide with the preceding bar-lines, although that does not happen in > the above brief examples. > > What am I doing wrong here? Thanks in advance for any help you can > offer. > > > David > Try placing this command at the beginning of your Dynamics context: \override Dynamics.DynamicText.self-alignment-X = #-1 This will left-align your dynamics. If you wish to move them more to the right, you may change the number after the hash sign. #0 center-aligns the dynamics, and #1 right-aligns them. You can use other numbers between those given. I hope this helps. Hwaen Ch'uqi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Dynamics not correctly aligned
David, Under 2.18.0 the first example (dynamics assigned to notes) compiles with the dynamics aligned. Consider the benefit of updating Lilypond. Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of David Sumbler Sent: Sunday, January 26, 2014 12:11 PM To: lilypond-user@gnu.org Subject: Dynamics not correctly aligned I am a new user of Lilypond, using v. 2.14.2 on Ubuntu 12.04. I have read the Learning Manual and Notation Reference twice each, and most of the other documentation at least once. Having set two pieces (one for solo marimba, and one for flute and piano), I hoped that I had reached the stage of being able to fine tune the appearance, but stumbled at almost the first hurdle! My first problem concerns the second piece. If I include the piano dynamics separately from the notes, as suggested in section A.2.4 (Piano Centred Dynamics) of the Learning Manual, they do not line up correctly with the dynamics in the flute part, which I have attached to the notes. For instance, with: \version "2.14.2" << \new Staff = "flute" \relative c''' { c1\p c\f } \new PianoStaff << \new Staff \relative c'' { c1 c } \new Dynamics { s1\p s\f } \new Staff \relative c { \clef bass c1 c } >> >> the dynamics in the piano part appear slightly further to the left than those in the flute part do. I get the same result (disregarding the change in vertical alignment) with: \version "2.14.2" dynamics = { s1\p s\f } << \new Staff = "flute" \relative c''' { c1\p c\f } \new PianoStaff << \new Staff << \relative c'' { c1 c } \dynamics >> \new Staff \relative c { \clef bass c1 c } >> >> In the actual piece I have set, the misplaced piano dynamics actually collide with the preceding bar-lines, although that does not happen in the above brief examples. What am I doing wrong here? Thanks in advance for any help you can offer. David ___ 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
Dynamics not correctly aligned
I am a new user of Lilypond, using v. 2.14.2 on Ubuntu 12.04. I have read the Learning Manual and Notation Reference twice each, and most of the other documentation at least once. Having set two pieces (one for solo marimba, and one for flute and piano), I hoped that I had reached the stage of being able to fine tune the appearance, but stumbled at almost the first hurdle! My first problem concerns the second piece. If I include the piano dynamics separately from the notes, as suggested in section A.2.4 (Piano Centred Dynamics) of the Learning Manual, they do not line up correctly with the dynamics in the flute part, which I have attached to the notes. For instance, with: \version "2.14.2" << \new Staff = "flute" \relative c''' { c1\p c\f } \new PianoStaff << \new Staff \relative c'' { c1 c } \new Dynamics { s1\p s\f } \new Staff \relative c { \clef bass c1 c } >> >> the dynamics in the piano part appear slightly further to the left than those in the flute part do. I get the same result (disregarding the change in vertical alignment) with: \version "2.14.2" dynamics = { s1\p s\f } << \new Staff = "flute" \relative c''' { c1\p c\f } \new PianoStaff << \new Staff << \relative c'' { c1 c } \dynamics >> \new Staff \relative c { \clef bass c1 c } >> >> In the actual piece I have set, the misplaced piano dynamics actually collide with the preceding bar-lines, although that does not happen in the above brief examples. What am I doing wrong here? Thanks in advance for any help you can offer. David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
how to display a predefined guitar fretboard inside a \markup block
There's a way to display a predefined guitar fretboard inside a \markup block? See below an example of a simple leadsheet: I want to display the chord fretboards below the title. I'm defining the fretboards with \fret-diagram commands, but I wonder if I can avoid it and use the definitions in predefined-guitar-fretboards.ly \version "2.18.0" \include "predefined-guitar-fretboards.ly" myChords = \chordmode { g2 e:m7 a:m7 d:7 } myLyrics = \lyricmode { "This is"2 "my song, " "sing with" "me" } GuitarFretBoards = \markup { \column { "G" \fret-diagram-terse #"3;2;o;o;o;3;" } \column { "Em7" \fret-diagram-terse #"o;2;2;o;3;o;" } } \bookpart { \header { title = "Title" } \paper { markup-system-spacing = #'((padding . 10)) } \GuitarFretBoards \score { << \new ChordNames { \myChords } \new Lyrics { \myLyrics } >> \layout { indent = 0 line-width = 110 ragged-right = ##f } } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
On Sun, Jan 26, 2014 at 12:23:10PM +0100, Karol Majewski wrote: > Hi! Sometimes I want my hairpin run to the end of the piece (last bar line). > > Attempt 1: > > { > \override Hairpin #'to-barline = ##f > c'1~ \< > c'1 \! \bar "|." > } Why do you set Hairpin #'to-barline = ##f if you want the hairpin to go to the barline? What's wrong with: { c'1~ \< c' <>\! \bar "|." } (I only tested with 2.19.1) Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Positioning of markup at grob refpoint
2014-01-26 Urs Liska : > Hi, > > is there a way to position a markup exactly at the reference point of the > anchor grob? > > I would like to print a \path on top of notes, and it would be very handy if > one could have the markup at a reliable starting point (without any > automatic placement and collision handling). > > I hope I expressed myself clearly enough. > What I want is that if I write c-\markup \path ... the 0 0 point of the path > is on the reference point of the notehead. I think that you should override grob's stencil and add your own stencil to previous stencil - it should be placed just like you describe. Look at debugging bezier curves and adding grob refpoints (from oll/snippets) for inspiration. best, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
One thing I noticed is that when Hairpin.to-barline is set to ##t then there are no errors: { \override Hairpin.to-barline = ##t c'1 \< c'1 <> \! \bar "||" } The same thing happens with DynamicTextSpanner. If you set \override DynamicTextSpanner.to-barline = ##t then everything is fine: { \override DynamicTextSpanner.to-barline = ##t \crescTextCresc c'1 \< c'1 <> \! \bar "||" } Karol ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
karol wrote > etc... but none of them produces perfect output. > > Inserting null event like <> or s1*0 produces the proper lengh of hairpin, > but gives those nasty errors... the message I get is: "programming error: bounds of this piece aren't breakable." what does this mean? did you search for the possible reasons of this error (bug list/tracker)? is there an override/setting missing? is it a bug? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Hairpin-to-the-last-bar-line-tp158475p158490.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Positioning of markup at grob refpoint
Hi, is there a way to position a markup exactly at the reference point of the anchor grob? I would like to print a \path on top of notes, and it would be very handy if one could have the markup at a reliable starting point (without any automatic placement and collision handling). I hope I expressed myself clearly enough. What I want is that if I write c-\markup \path ... the 0 0 point of the path is on the reference point of the notehead. Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Web site manual search defaulting to 2.17
2014/1/23 Phil Holmes > "Federico Bruni" wrote in message > news:CAPjDBprh2G_JO79U18zF=VZwhDHsN2VsqfNUDJNAw8=wspu...@mail.gmail.com... > > 2014/1/23 Nick Payne >> >> Using the search box at top right on the LP web site is searching the >>> 2.17 >>> rather than the 2.18 manuals. e.g. The search submitted to google is: >>> >>> https://www.google.com/search?btnG=Google+Search&brute_ >>> query=bar+engraver&q=site%3Alilypond.org%2Fdoc%2Fv2.17+bar+engraver >>> >>> Shouldn't the default search be the current stable version? >>> >>> >> There's an issue already: >> https://code.google.com/p/lilypond/issues/detail?id=2909 >> >> I think that it's just a matter of waiting for google to reindex the >> pages. >> You can try and see that a search on v2.17 gives more results than v2.18 >> But I agree that the version should be the stable. I can't remember why >> the >> dev version is set >> > > As it stands, the search box will only search one set of documents. I > believe we use the development set, since that will progressively improve > as people fix documentation bugs. > > An alternative might be to think of some JavaScript that picks up the > version number from the URL of the documentation page and uses this as the > search site? > > Just to clarify: the problem is just in the "general search", the one you see in the home page and all the pages of the website, where there's no version number in the URL. The search in each stable version of the documentation can be easily fixed, because each version is "frozen" in a separate branch. Now we can update search-box.ihtml in 2.18 branch without affecting the current version. It's a trade-off: If we keep 2.18 in the current version, the search in 2.19 manuals will look up 2.18 pages. If we put 2.19, a user might search the development version instead of the stable. I think that the user should learn and use the search bar within a manual. > A check with Google shows it seems to have indexed both 2.18 and 2.19 so > the search box could be updated now. yes, I've added a comment here: https://code.google.com/p/lilypond/issues/detail?id=2909#c5 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
Well, as I said, it's not clear on which beat you have to put \! here to get the proper length of hairpin. You could do: { c'1~ \< << c'1 { s4*3 s4 \! } >> \bar "|." } or { c'1~ \< << c'1 { s4*3 s8 s8 \! } >> \bar "|." } or { c'1~ \< << c'1 { s4*3 s16*3 s16 \! } >> \bar "|." } etc... but none of them produces perfect output. Inserting null event like <> or s1*0 produces the proper lengh of hairpin, but gives those nasty errors... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hatches
Janek Warchoł writes: > I think Urs already knows the answer, but for the archives' sake: > > 2014-01-23 Urs Liska : >> Hi, >> >> I never worked with that kind of stuff, so I'd like to get some feedback and >> hints _before_ digging into the docs myself. So I explicitly don't expect >> ready solutions, just a few comments if my approach would be right. >> >> I'm looking for a way to typeset hatched cancellations in manuscripts such >> as in the attached images. >> >> I would approach this kind of stuff by drawing lines in a markup, is that >> the right way? >> >> And (more importantly) would it be possible to write a markup function where >> I can >> - create an arbitrary shape (with a path?) >> - make this shape itself transparent >> - fill this shape with hatches >> - configure angle, density, thickness of the hatches >> ? >> >> And, additionally, would it be possible to write a function that (more or >> less) automatically applies such a cancellation to beams or subbeams as >> shown in the images? > > I'm pretty sure that the answer is "yes". It wouldn't be trivial, > but i think someone like Harm or David N/K could do it. No point in mentioning "David K" here as his qualification/experience is not better than "any general-purpose programmer". It's really more in the ballpark of the amazing feats Harm and David N pull off. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
AGUSTIN BARRIOS MANGORÉ: MAXIXE
PDF MIDI AND LILYPOND SOURCES! http://mariomoles.altervista.org/agustin-barrios-mangore-maxixe/-- oiram/bin/selom Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni. MIB-kernellinux-tester http://mariomoles.altervista.org/[1] Linux[2] MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] [1] http://mariomoles.altervista.org/ [2] https://www.kernel.org/ [3] http://mib.pianetalinux.org/blog/ [4] http://lilypond.org/ [5] http://www.frescobaldi.org/ [6] http://www.rosegardenmusic.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
- Original Message - From: "Karol Majewski" To: "Eluze" Cc: "lilypond-user" Sent: Sunday, January 26, 2014 1:58 PM Subject: Re: Hairpin to the last bar line { \override Hairpin.to-barline = ##f c'1 \< c'1 <> \! \bar "||" } this draws the hairpin to the bar line though there are error messages. Yes... using s1*0 also gives error messages. This is really frustrating... It seems to me that the workaround you proposed gives perfectly acceptable results. What's wrong with it? -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
> { > \override Hairpin.to-barline = ##f > c'1 \< c'1 <> \! \bar "||" > } > this draws the hairpin to the bar line though there are error messages. Yes... using s1*0 also gives error messages. This is really frustrating... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin to the last bar line
karol wrote > Hi! Sometimes I want my hairpin run to the end of the piece (last bar > line). > > Attempt 1: > > { > \override Hairpin #'to-barline = ##f > c'1~ \< > c'1 \! \bar "|." > } nearly - add an empty chord <> like: { \override Hairpin.to-barline = ##f c'1 \< c'1 *<>* \! \bar "||" } this draws the hairpin to the bar line though there are error messages. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Hairpin-to-the-last-bar-line-tp158475p158476.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Hairpin to the last bar line
Hi! Sometimes I want my hairpin run to the end of the piece (last bar line). Attempt 1: { \override Hairpin #'to-barline = ##f c'1~ \< c'1 \! \bar "|." } This of course doesn't work. Attempt 2: { \override Hairpin #'to-barline = ##f c'1~ \< << c'1 { s4*3 s4 \! } >> \bar "|." or maybe<< c'1 { s4*3 s16*3 s16 \! } >> \bar "|." } This looks better but it's only a workaround. You still have to decide on which beat to put \! . So maybe we should allow LilyPond to run unterminated hairpins to the last bar line? Note that this is how sustain pedal works. { \set Score.pedalSustainStyle = #'mixed c'1~ \sustainOn c'1 \bar "|." } Karol Majewski ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Odp: partcombine rest moves up when voice 2 has a full rest
Perhaps it's related to this: http://lilypond.1069038.n5.nabble.com/partcombine-bug-missplaced-rest-td152312.html https://code.google.com/p/lilypond/issues/detail?id=3612&thanks=3612&ts=1381827371 Hi, I have an issue with partcombine when the second voice has a full rest (r1 or R1) and the first voice starts on the last beat. It moves the quarter rest up, see the minimal example and the included figure. Is this a known issue (I coudn't find it in the tracker) or is this a new one? Greetings, Ed \version "2.18.0" \markup { Full rest doen't combine with normal rests } musicI = { r2 r4 c''\bar "||" c''1 } musicII = { r1 \bar "||" R1 } { \new Staff { \partcombine \musicI \musicII } } \markup { Work arround is to force the rest position } musicI = { r2 b'4\rest c''\bar "||" c''1 } musicII = { r1 \bar "||" R1 } << \new Staff { \partcombine \musicI \musicII } \new Staff { \musicI } \new Staff { \musicII } >> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
partcombine rest moves up when voice 2 has a full rest
Hi, I have an issue with partcombine when the second voice has a full rest (r1 or R1) and the first voice starts on the last beat. It moves the quarter rest up, see the minimal example and the included figure. Is this a known issue (I coudn't find it in the tracker) or is this a new one? Greetings, Ed \version "2.18.0" \markup { Full rest doen't combine with normal rests } musicI = { r2 r4 c''\bar "||" c''1 } musicII = { r1 \bar "||" R1 } { \new Staff { \partcombine \musicI \musicII } } \markup { Work arround is to force the rest position } musicI = { r2 b'4\rest c''\bar "||" c''1 } musicII = { r1 \bar "||" R1 } << \new Staff { \partcombine \musicI \musicII } \new Staff { \musicI } \new Staff { \musicII } >> <>___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: frescobaldi macports broken after update
Dear Steve, 2014-01-25 Steve Noland : > Well, now, this is a mystery. The lilytst.ly test file had a related PDF > output from LilyPond in the same directory. With it present, when I > drag/drop the .ly file to FB, FB started OK, but when I command a LilyPond > compile, nothing would appear in the Music View. Suspicious, I removed the > PDF file, tried the above again, and voila! it worked!. I now cannot > reproduce the previous behavior. How could this be? I have attached the .ly > file in question - it's a plain vanilla LP test file... I have no idea. The file is indeed a perfectly normal LilyPond file, and I get the expected behaviour of the Music View on my machine with that file. I also tried to compile a PDF with LilyPond directly (not through Frescobaldi) and then open the file in Frescobaldi, but everything was working as expected. Since you now get the correct behaviour, I wouldn't worry about it. Best wishes. Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: frescobaldi macports broken after update
2014-01-25 Tim McNamara : > Also, there is a non-Mac-like behavior. Clicking the close button on the > upper left hand corner of the document window quits the app. I realize that > on some/most OSes this is normal behavior, but not Macs. FWIW. Reported as https://github.com/wbsoft/frescobaldi/issues/352. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hatches
I think Urs already knows the answer, but for the archives' sake: 2014-01-23 Urs Liska : > Hi, > > I never worked with that kind of stuff, so I'd like to get some feedback and > hints _before_ digging into the docs myself. So I explicitly don't expect > ready solutions, just a few comments if my approach would be right. > > I'm looking for a way to typeset hatched cancellations in manuscripts such > as in the attached images. > > I would approach this kind of stuff by drawing lines in a markup, is that > the right way? > > And (more importantly) would it be possible to write a markup function where > I can > - create an arbitrary shape (with a path?) > - make this shape itself transparent > - fill this shape with hatches > - configure angle, density, thickness of the hatches > ? > > And, additionally, would it be possible to write a function that (more or > less) automatically applies such a cancellation to beams or subbeams as > shown in the images? I'm pretty sure that the answer is "yes". It wouldn't be trivial, but i think someone like Harm or David N/K could do it. Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ClefModifier placement
Hi Joram & all, Firstly: i apologize for the delay. I'm really failing hard with managing LilyPond stuff :( 2014-01-21 Noeck : > Hi all, > > I have a set of overrides for ClefModifiers. Perhaps they are > interesting for some people on this list (a) and perhaps also as a > contribution to the discussion (b) of issues 3186 and 3310: > http://code.google.com/p/lilypond/issues/detail?id=3186 > http://code.google.com/p/lilypond/issues/detail?id=3310 > > a) for personal use: You probably have only one of those modifiers per > staff and you can just choose the matching override, if you like it. Oh my! You really put much work into this, i'm impressed! > Here is what that looks like. First the LilyPond defaults, in the second > line only these moved positions and in the third line combined with a > bold italic font (which makes the line thickness more consistent with > the clef itself and looks more like a single combined glyph). I agree that the bold font makes much more sense. > b) as part of these issues: It is not an automated way and therefore > probably not much help in solving these issues. But perhaps it can help > in the discussion where the numbers should be placed. > My "algorithm" to find the positions was like this: > > - horizontally centred on the highest/lowest curve of the glyph > (with two exceptions: for the alto clef, I chose the round part to > centre it on; for the bass clef the numbers are touching the clef > from the lower right side.) > - the vertical position is as close as possible to the clef (even > slightly overlapping) and not necessarily outside the staff lines. I don't quite like the overlap, but i agree that the numbers shouldn't stay outside staff line for bass clef. > Are the glyph shapes available during the automatic positioning? Such > that these top and bottom parts of the glyphs could be used for positioning? That would be possible, but i think it would be too much work. > Is this worth appending to issue 3186? Definitely! I added it. best, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Semi-transparent color in Lilypond
On 26.01.2014, at 06:41, Thomas Morley wrote: > 2014-01-26 Rupert : >> Hi all, >> >> Is there a way to color objects semi-transparently in Lilypond? >> Perhaps one could use an rgba color >> instead of #red in the following example? There's at least a workaround in the lsr to give the illusion of a background color: http://lsr.dsi.unimi.it/LSR/Snippet?id=699. hth patrick >> >> \markup { >> \with-color #red >> \filled-box #'(-1 . 2) #'(1 . 4) #0.5 >> } >> >> Many thanks >> Rupert > > > Hi, > > \with-color can use rgb-colors: > > \markup { > \with-color #(rgb-color 1.0 0.5 0.1) > \filled-box #'(-1 . 2) #'(1 . 4) #0.5 > } > > Is it what you're looking for? > > > Cheers, > Harm > > ___ > 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