Re: Error when running LilyPond on Windows
Hi Jean, This is my first time using the library, so I don't know if it worked in the past. I am running Windows 8.1 Testing out the latest unstable version, it seems to work like a charm. Thank you very much! Jakub On Tue, 25 Oct 2022 at 20:56, Jean Abou Samra wrote: > Le 25/10/2022 à 19:25, Jakub a écrit : > > When I merely try to run lilypond, whether it be from the command line > > or from the actual desktop icon, I am greeted with the following error: > > --- > > GNU LilyPond 2.22.2 > > Fontconfig error: Cannot load default config file > > terminate called after throwing an instance of 'std::logic_error' > > what(): basic_string::_S_construct null not valid > > > > This application has requested the Runtime to terminate it in an > > unusual way. > > Please contact the application's support team for more information. > > > > I have no clue how to fix this or what it even could mean. > > Any ideas? > > > > That is strange. What version of Windows are you using? Did it work in > the past? Can you try the current unstable version, 2.23.80 > (https://lilypond.org/development.html)? > > Best, > Jean > >
Error when running LilyPond on Windows
When I merely try to run lilypond, whether it be from the command line or from the actual desktop icon, I am greeted with the following error: --- GNU LilyPond 2.22.2 Fontconfig error: Cannot load default config file terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I have no clue how to fix this or what it even could mean. Any ideas?
Re: Detect slurred notes in callback function
Hi David, as promised, here is my unsuccessful attempt based on a closure preserving state information between invocations. Regards, Jakub --- \version "2.19.32" #(define (contains-slur-event-with-direction? lst direction) (if (null-list? lst) #f (if (music-is-of-type? (car lst) 'slur-event) (eq? (ly:music-property (car lst) 'span-direction) direction) (contains-slur-event-with-direction? (cdr lst) direction #(define (notehead-articulations notehead) (let ((noteevent (ly:event-property (event-cause notehead) 'music-cause))) (ly:music-property noteevent 'articulations))) #(define (slur-opener? notehead) (contains-slur-event-with-direction? (notehead-articulations notehead) 1)) #(define (slur-closer? notehead) (contains-slur-event-with-direction? (notehead-articulations notehead) -1)) #(define (make-in-slur-callback inSlur notInSlur) (let ((slursOpen 0)) (display "+++ Factory executed") ; this closure will be executed for each NoteHead (lambda (grob) (begin (display "+++ Closure executed") ; to see the order of NoteHead the callback is called for (display-scheme-music (ly:event-property (event-cause grob) 'origin)) (cond ((slur-opener? grob) (set! slursOpen (+ slursOpen 1))) ((slur-closer? grob) (set! slursOpen (- slursOpen 1 (if (> slursOpen 0) (inSlur grob) (notInSlur grob))) ))) \score { \relative c' { \override NoteHead #'color = #(make-in-slur-callback (lambda (grob) red) (lambda (grob) black)) d e( f) g( a b c) } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Detect slurred notes in callback function
Hi David, thank you very much - actually this is just what I was looking for! It works great. > It would be interesting to see your code for this. This randomness was > the topic of an earlier thread, and I wonder if your observation is > related: > http://www.mail-archive.com/lilypond-user%40gnu.org/msg106840.html > I will try to reconstruct it (as I scraped it while trying other solutions) and post it here. Regards, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Detect slurred notes in callback function
Hi, is it possible to detect slurred notes in a callback function? I would like to use a callback function to modify properties of all slurred notes. Below is my unsuccessful attempt. The callback function receives NoteHead grob as argument. The grob itself doesn't seem to contain information about slur attached, so I get it's event-cause. I know that slurs are stored in the NoteEvent's "articulations" property, but this property either isn't accessible this way (the object returned by event-cause doesn't seem to be a regular NoteEvent; what is it actually?), or I fail to find the correct way to access it. --- #(define (in-slur? notehead) (begin (display "grob") (newline) (display-scheme-music notehead) (display "NoteEvent?") (newline) (display-scheme-music (event-cause notehead)) (display "try to dig slur") (newline) (display-scheme-music (ly:event-property (event-cause notehead) 'articulations)) #f)) \score { \relative c'' { \override NoteHead #'color = #(lambda (grob) (if (in-slur? grob) red blue)) a a a( a) a( a a) } } --- Thanks for any help, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Detect slurred notes in callback function
Thank you very much, now I know at least how to get from a grob to the corresponding music object. In order to "catch" the notes under a slur that aren't slur attach points ("middle notes") I tried to use a closure as the callback function and store information on the "slurred state" (in slur / not in slur) in a variable. Unfortunately the callback isn't executed for the notes in input order, but in a quasi-random fashion, so this technique isn't usable at all. It seems that a property callback function isn't a tool suitable for detecting and modifying all slurred notes. I hope that sooner or later I will find The Right Tool for the Job (TM). Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Emacs mode for files containing lyrics
From the description I don't understand your problem. Why is the lilypond mode not suitable for you purposes? The example seems to be just a regular lilypond file ... Jakub 2015-01-27 16:57 GMT+01:00 Craig Parker-Feldmann lipsti...@magic.ms: I find it wonderful that some Emacs wizard(s) took the trouble to write a LilyPond mode for processing LilyPond files. My own ability in writing Emacs Lisp, in particular: writing modes using Emacs Lisp, is at a very low level. If the author(s) of the Emacs LilyPond mode could speak to me, I'd like to have a special mode for files containing only lyrics. Currently, if I have a file containing lyrics called min-lyrics.ly, working on the file looks terrible when font-lock-mode is active. /-/-/-/-/- min-lyrics.ly -/-/-/-/-/ LyricsSoprano = \lyricmode { When, for each lace bit in a cup, a dozen goats reach mint family } /-/-/-/-/- end of min-lyrics.ly -/-/-/-/-/ I looked in the file lilypond-font-lock.el, but the complexity is too much for me. ___ 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: Gregorian chant input in LilyPond
Conversion between gregorio and lilypond is a relevant topic for me too. Some time ago I started working on it - https://github.com/igneus/lygre - and for now there is grely, a Ruby script translating gabc to simple lilypond (simplified modern notation, not the quadratic notation also supported by lilypond). Now I see the installation instructions on github are outdated. I will try to update them ASAP. The lygre package is now available as a Ruby gem, which is more convenient to install and use. I'm not sure if grely as it is now would be of any use for you, Joram. If you have any wishes what more it could do, feel free to express them. In the future I might get back to grely and implement some of them. Crash- and bug-reports are also welcome. Some kind of lilypond to gabc translator is also planned, because I have a huge corpus of chants written in Lilypond that I would eventually like to be able to convert to gabc. Regards, Jakub 2014-12-28 0:12 GMT+01:00 Noeck noeck.marb...@gmx.de: Dear Br. Samuel, thanks for your thoughts in reply to my mail! Am 27.12.2014 um 23:48 schrieb Br. Samuel Springuel: The biggest issue for this would be the fact that gabc and lilypond notation approach representing music from two different view points. I know that, but it does not seem such a big issue to me: The gabc input should contain a clef (c2 or f3 etc.) and this would fix the relation between the two representations, wouldn’t it. (This implies that there is no general conversion of a-m (gabc) to a-g (LP) but a clef-dependent one). This way I would end up with a definition which note (a-m) is a do and so on. However, it would not mean that the la is 400 Hz. But this latter issue can not be solved in a general way. Or do I still have a misconception here? I would even see that difference as a gain, because the key independent input of gabc seems convenient to me (for chant notation) and the LP representation could be still used in a normal staff and could be transposed. So it would combine the best of two approaches. In fact, I am a bit more concerned about the spacing. In gabc, one can set the spacing within a neume and I don’t know how to do that in LP and gregorio cares less about the timing than LP. I suspect that not everyone would be satisfied with any particular solution. That might be true and perhaps my reasoning above is too naive. Please correct me then. Cheers, Joram ___ 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: master variable (Re: ANN: Frescobaldi 2.0.12)
Thank you very much! Jakub 2013/12/28 Wilbert Berendsen wbs...@xs4all.nl op 28-12-13 13:25, Jakub Pavlík schreef: Hi, I am quite unhappy about the removal of the master document variable, which I have relied on quite heavily. For my workflows it is much more useful than sessions. If this decision is final, I will either stick to 2.0.11 for the rest of my life :) or try to maintain a topic fork of Frescobaldi with this feature reenabled. Jakub The master variable is back. Soon to be released 2.0.13 will have it. Its behaviour is the same, the implementation changed slightly: the redirected filename is not directly given to a LilyPond process started on behalf of the current document, but the master document is loaded (if it wasn't already) and LilyPond is run on behalf of that document. Thanks for your feedback: that drives Frescobaldi :-) Wilbert ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.0.12
Hi, I am quite unhappy about the removal of the master document variable, which I have relied on quite heavily. For my workflows it is much more useful than sessions. If this decision is final, I will either stick to 2.0.11 for the rest of my life :) or try to maintain a topic fork of Frescobaldi with this feature reenabled. Jakub 2013/12/26 Wilbert Berendsen wbs...@xs4all.nl Hi all, In keeping up with the good tradition of releasing a new version of Frescobaldi on Christmas, I happily and proudly annouce Frescobaldi 2.0.12 to be out in the wild! This is a maintainance release with some improvements, massive internal changes and a new SVG view. This is the changelog: * Translations: - updated: cs, nl, fr, es * New features: - Edit-Select Block has finally been implemented - A viewer for LilyPond-generated SVG files has been added by Peter Bjuhr. This viewer (accessible via Tools-SVG Viewer) currently has one-way point and click. This only works with recent development versions of LilyPond, that add the point and click information to SVG files. In the future, the SVG view may become a fully fledged graphical music editor. - The default output format can be set in the LilyPond preferences (the current options are PDF or SVG, the default is PDF) * Improvements: - The indenter's handling of tabs and spaces has been improved. A tab always starts a new indent level, and aligning is now always done with spaces. The default is still using 2 spaces for indent, but it is now configurable in a new settings panel Editor Preferences. - Besides the good old Preview and Publish modes a new mode has been added: Layout Control. This mode uses the settings on the preview mode panel, which has been renamed to Layout Control Options. The layout of the panel has been improved. The Preview mode is reverted back to enabling only point and click links. In the Engrave (custom) dialog the run mode can be chosen and the commandline edited directly. - Entering staccatissimo writes -! when the document specifies a LilyPond version = 2.17.25, otherwise -| - When editing keyboard shortcuts, conflicts are directly shown as they are entered; better support French keyboards (contributed by Nicolas Malarmey) - Better Mac OS X icons (contributed by Davide Liessi) - The internal handling of manipulations like transpose, translate, and the various rhythm commands has become less dependent on Frescobaldi code. These functionality now resides in the ly module and could be used by other applications. The commands now can work on any ly.document, which need not be a Frescobaldi document. - The internal help system has seen a massive overhaul: help files are now very easy to write in a simplified markdown-like syntax. Adding help pages is very easy by dropping a *.md file in the userguide/ directory. Every paragraph in a help file is automatically added to the POT file and can be translated by editing the language's PO file. * Bug fixes: - Music View: horizontal scrolling using trackpad now works with kinetic mode enabled. Fixes #248. * Removed feature: - The 'master' variable is no longer supported, it's goal has been superseded by the 'Always Engrave' option, which is also saved in the session. This decision was taken to simplify the handling of files created on behalf of a document. Due to the revised help system, some large pieces of translatable text are now cut into paragraphs. This means translators are invited to revisit the translations, especially from the help pages. Many strings will be easily updated. The Html formatting in the help pages is removed, but some strings now expose basic inline markdown formatting. This is clearly indicated in the comment for a translatable string (Note: markdown formatting). Enjoy, and please report bugs as usual! The goal for Frescobaldi 2.0.13 is to adapt all LilyPond 2.18 syntax changes. Merry Chrismas and a happy new year!!! Wilbert and all the Frescobaldi contributors. ___ 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
Bug in the way slurs avoid stems?
Hi, while typesetting notes without stems I encountered (actually Janek W. spotted and drew my attention to) a weird behavior of slurs avoiding stems that are (hopefully) correctly removed. Attached is a set of minimal examples with stems removed in various ways. Only the one where I manually changed stem direction looks as I would expect and the one with removed Stem_engraver looks especially bad. Is there a bug? Jakub \version 2.17.24 \header{ title = Stemless notes slurs } \markup{I expect all the other examples to produce output like this one produces. Am I wrong?} \score { \relative c'' { \override Stem #'transparent = ##t \override Stem #'Y-extent = ##f \stemDown a4( d) } } \score { \relative c'' { \override Stem #'transparent = ##t \override Stem #'Y-extent = #'(0 . 0) a4( d) } } \score { \relative c'' { \override Stem #'transparent = ##t \override Stem #'Y-extent = ##f a4( d) } } \score { \relative c'' { \override Stem #'stencil = ##f a4( d) } } \score { \relative c'' { a4( d) } \layout { \context { \Voice \remove Stem_engraver } } } hidden_stems_slurs.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \on-the-fly #first-page not working in bookTitleMarkup ?
So this time a less minimal example with a book and two bookparts. The book title, which I would love to have on the first page, will never get engraved. In the meantime I experimented a bit more and found out that \on-the-fly #first-page works very well in the page headers/footers, but doesn't work in the bookTitleMarkup. Jakub --- snip \version 2.17.24 \paper { bookTitleMarkup = \markup { \column { \on-the-fly #first-page \fromproperty #'header:title \fromproperty #'header:subtitle } } } \book { \header { title = Example book } \bookpart { \header { subtitle = part 1 } \score { \relative c' { a } } } \bookpart { \header { subtitle = part 2 } \score { \relative c' { b } } } } --- /snip 2013/11/9 Eluze elu...@gmail.com Jakub Pavlík wrote Hi, I would like to have the full book title on the first page of the first bookpart only and an abbreviated book title on the first pages of the subsequent bookparts. unfortunately your code does not involve any \book or \bookpart where we could see what you mean... Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/on-the-fly-first-page-not-working-in-bookTitleMarkup-tp153577p153608.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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
\on-the-fly #first-page not working in bookTitleMarkup ?
Hi, I would like to have the full book title on the first page of the first bookpart only and an abbreviated book title on the first pages of the subsequent bookparts. I know the sollution with resetting the unwanted fields in the bookpart headers, but it would be more convenient to define the whole titling logic on one place. I tried it, but the content inserted by \on-the-fly #first-page ... will never be printed. (Try the minimal example below.) Do I miss anything? Thanks in advance, Jakub --- snip \version 2.17.24 \paper { bookTitleMarkup = \markup { \on-the-fly #first-page \fromproperty #'header:title } } \header { title = Example } \score { \relative c' { a } } --- /snip ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Dashed bar-line bug
Hi, I believe I've just discovered a bug. Running the development version of lily (2.17.5, commit bc4b56a8dee39a1fa3f40ac329ab0754d46fc56f ) the following snippet produces two notes next to each other, without any visible barline at all. See the attached image. I checked it in the current documentation and it seems that the dashed barline ought to work as it did in 2.15. ( http://lilypond.org/doc/v2.16/Documentation/notation/bars#bar-lines ) - snip \score { \relative c' { a \bar : a } } -- Best wishes, Jakub attachment: dashedlinebug.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Dashed bar-line bug
And - 2.16.0 is free of this bug. J. 2012/11/3 Jakub Pavlík jkb.pav...@gmail.com Hi, I believe I've just discovered a bug. Running the development version of lily (2.17.5, commit bc4b56a8dee39a1fa3f40ac329ab0754d46fc56f ) the following snippet produces two notes next to each other, without any visible barline at all. See the attached image. I checked it in the current documentation and it seems that the dashed barline ought to work as it did in 2.15. ( http://lilypond.org/doc/v2.16/Documentation/notation/bars#bar-lines ) - snip \score { \relative c' { a \bar : a } } -- Best wishes, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Dashed bar-line bug
Ok. I'm sorry for the noise and thankful for the explanation. Jakub 2012/11/3 Thomas Morley thomasmorle...@googlemail.com 2012/11/3 Jakub Pavlík jkb.pav...@gmail.com: And - 2.16.0 is free of this bug. J. 2012/11/3 Jakub Pavlík jkb.pav...@gmail.com Hi, I believe I've just discovered a bug. Running the development version of lily (2.17.5, commit bc4b56a8dee39a1fa3f40ac329ab0754d46fc56f ) the following snippet produces two notes next to each other, without any visible barline at all. See the attached image. I checked it in the current documentation and it seems that the dashed barline ought to work as it did in 2.15. ( http://lilypond.org/doc/v2.16/Documentation/notation/bars#bar-lines ) - snip \score { \relative c' { a \bar : a } } -- Best wishes, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Hi, no bug, but the barline-interface is heavily changed with 2.17.5. http://lilypond.org/doc/v2.17/Documentation/changes-big-page.html It's now very easy to define own custom-BarLines. But there was need to change several strings. : is now used _only_ for repeat-bar-lines, p.e. :|. The dashed bar-line now needs !, and others. See ‘scm/bar-line.scm’ for more details. An example: \version 2.17.5 % some custom-bars: \defineBarLine :||.!.||: #'(:||.! !.||: ||.!.||) \defineBarLine :||.! #'(:||.! #f ||.!) \defineBarLine !.||: #'(| !.||: !.||) m = \relative c' { a \bar ! a \bar ! \break a \bar :||.!.||: a \bar :||.!.||: \break a \bar !.||: a \bar :||.! a \bar !.||: \break a \bar :||.! } \score { \new StaffGroup \new Staff \m \new Staff \m } Regards Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Charis SIL font - Z-a issue
2012/9/11 Werner LEMBERG w...@gnu.org Please report this (with examples) to the ghostscript people so that they can analyze and fix it. Werner Patrick, will you report it to the GS devs? I don't understand PostScript (and thus also what you found about the issue) enough... Thanks, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Charis SIL font - Z-a issue
Hi, I have a very funny issue using the Charis SIL font: under some special circumstances instead of the Z a is set in lyrics as well as in markups. I tried to isolate the issue, but haven't been really successfull. What I can see about the code below is that 1. the issue only occurs with the Charis SIL font 2. it only occurs when there is some letter with diacritics in the score title (with the function call - not otherwise) AND another such letter in the piece field. The issue occurs when using LilyPond 2.17.0 as well as 2.14.2. Do you have a clue what the problem might be? Thanks, Jakub the code: \version 2.16.0 \paper { myStaffSize = #20 #(define fonts (make-pango-font-tree Charis SIL VL Gothic Courier (/ myStaffSize 20))) } #(define-markup-command (titlingCommand layout props titul rank datum) (markup? markup? markup?) titling (interpret-markup layout props (markup #:center-column (#:medium #:large datum titul #:medium #:large rank \header { title = \markup\titlingCommand aaa svátek 29.9. } \score { \relative c' { a a a } \header { piece = Žalm 63 } } % testing markup - shows ZzZz (OK) or azaz (the issue)? \markup {ZzZz} ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book and title page
2012/8/29 Daniel E. Moctezuma democtez...@gmail.com Hello LilyPonders, I am trying to do a title page / cover page using LaTex without too much success. The result I get is a Y-centered text (on LaTex) but with a noticeable space on X-axis (space at the right), in addition, the next pages (of music) have indentation on the left and at the top, resulting on a half of the page being shown only. Hi, Concerning the title page: I usually don't use the default LaTeX's titling command but build the title-page myself. Have you already seen this? http://en.wikibooks.org/wiki/LaTeX/Title_Creation But maybe this tutorial is too complex - for me it is usually enough to set font sizes http://en.wikibooks.org/wiki/LaTeX/Text_Formatting#Sizing_text and add some vertical whitespace where needed using \vspace and \vfill . HTH, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
\include in a .ly file included in a LilyPond-Book document (.lytex)
Hi, it seems behavior of lilypond-book concerning .ly files including other .ly files changed between 2.14.2 and 2.15.42: Let's say I have a book: book.lytex This books includes a LilyPons score dir/subdir/score.ly In the same directory where I have the book there is my file containing variables and scheme functions, usefullibrary.ly . In 2.14.2 lilypond-book searched for the files included by score.lyrelative to book.lytex (so I used to write \include usefullibrary.ly in dir/subdir/score.ly), now it searches for them relative to score.ly (so I have to write \include ../../usefullibrary.ly). It's no killing issue for me, I just wanted to ask if this change was a feature or a bug. Greetings, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Import - convert
Not directly. But you can export your music e.g. from Finale to one of the formats supported by the standard LilyPond converters and then convert the music from this format to LilyPond. http://lilypond.org/doc/v2.14/Documentation/usage/converting-from-other-formats Jakub 2012/8/9 Jeff Mau prs...@yahoo.com Will this software import MidiSoft Desktop Sheetmusic files? .mmm or Finale? Thanks, Jeff ___ 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: Import - convert
Oh, blind me. Using etf2ly you can import from Finale directly... Jakub 2012/8/12 Jakub Pavlík jkb.pav...@gmail.com Not directly. But you can export your music e.g. from Finale to one of the formats supported by the standard LilyPond converters and then convert the music from this format to LilyPond. http://lilypond.org/doc/v2.14/Documentation/usage/converting-from-other-formats Jakub 2012/8/9 Jeff Mau prs...@yahoo.com Will this software import MidiSoft Desktop Sheetmusic files? .mmm or Finale? Thanks, Jeff ___ 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: Import - convert
I confess having no experience with this, as LilyPond is the single application I use for musical notation. I just shared what I found in the documentation regarding this subject. Jakub 2012/8/12 Laura Conrad lcon...@laymusic.org Jakub == Jakub Pavlík jkb.pav...@gmail.com writes: Jakub Oh, blind me. Using etf2ly you can import from Finale Jakub directly... You used to be able to. Have you done it with a recent lilypond version? I think the method that's encouraged for people with recent finale and recent lilypond is to export MusicXML from Finale and use musicxml2ly to get to lilypond. If you have both ancient Finale and ancient lilypond, etf2ly will work, sort of, if you aren't very demanding about lyrics. If you have ancient Finale and recent lilypond, I think you might be stuck with midi2ly. -- Laura (mailto:lcon...@laymusic.org, twitter: @serpentplayer) (617) 661-8097233 Broadway, Cambridge, MA 02139 http://www.laymusic.org/ http://www.serpentpublications.org Every gun that is made, every warship launched, every rocket fired, signifies in the final sense a theft from those who hunger and are not fed, those who are cold and not clothed. Dwight Eisenhower, Quoted by Bob Herbert in the New York Times, December 1, 2009 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to underline or italic a single word in lyric?
2012/6/1 i...@soundand.com ** Hi- please direct me to.. I can't find how to underline a single word in the lyrics I'd settle for italic if that's the only possibility but I couldn't find either in manual or repository. using stable version thanks jay Maybe one more hint may be useful: when you need to change formatting of a word of multiple syllables, you would have to make a new markup for each syllable, which is (at least for me) pretty annoying. Then you can override the formatting, possibly using handy variables: ion = { \override LyricText #'font-shape = #'italic } % italic on ioff = { \revert LyricText #'font-shape } % italic off \score { \relative c'' { g4 a c c c c c c c c c } \addlyrics { Všech -- ny \ion ná -- ro -- dy, \ioff tles -- kej -- te ru -- ka -- ma,_* } } Greetings, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Custodes appear one octave higher than I expect
Hi, I have a funny problem with LilyPond 2.15.37: in the following snippet, the custos appears one octave higher than the note which actually follows on the next line. Does anyone have an idea where I make (or LilyPond makes) an error and how to fix it? Thanks, Jakub Pavlík -- snippet: \layout { \context { \Score \consists Custos_engraver } } \score { \relative c' { f g g g a4 bes a( g) f g a f g g \bar | \break d g g g f( e) f( g) g f e( f) f( g) g \bar | } \addlyrics { Hos -- po -- din je mi -- lo -- srd -- ný a dob -- ro -- ti -- vý: u -- sta -- no -- vil pa -- mát -- ku na své di -- vy, } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custodes appear one octave higher than I expect
Dne 18. dubna 2012 14:06 Marek Klein ma...@gregoriana.sk napsal(a): Hello, 2012/4/18 Jakub Pavlík jkb.pav...@gmail.com Hi, I have a funny problem with LilyPond 2.15.37: in the following snippet, the custos appears one octave higher than the note which actually follows on the next line. Does anyone have an idea where I make (or LilyPond makes) an error and how to fix it? It works, if you change \Score to \Staff - like: \layout { \context { \Staff \consists Custos_engraver } HTH Marek Klein http://gregoriana.sk Thank you very much. It really solved the issue. Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custodes appear one octave higher than I expect
2012/4/18 David Kastrup d...@gnu.org Jakub Pavlík jkb.pav...@gmail.com writes: Hi, I have a funny problem with LilyPond 2.15.37: Do you have a way to check whether 2.14 is affected as well? in the following snippet, the custos appears one octave higher than the note which actually follows on the next line. Does anyone have an idea where I make (or LilyPond makes) an error and how to fix it? Thanks, Jakub Pavlík -- snippet: \layout { \context { \Score \consists Custos_engraver } } \score { \relative c' { f g g g a4 bes a( g) f g a f g g \bar | \break d g g g f( e) f( g) g f e( f) f( g) g \bar | } \addlyrics { Hos -- po -- din je mi -- lo -- srd -- ný a dob -- ro -- ti -- vý: u -- sta -- no -- vil pa -- mát -- ku na své di -- vy, } } Yes, the snippet looks (at least the custodes do) exactly the same compiled with 2.14.2 as with 2.15.37 and changing the context from \Score to \Staff as proposed by Marek solves the problem as well. Jakub P.S.: I'm sorry for posting you twice, David - I forgot first to send the reply to the whole list... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Possible regression in lilypond-book: including a file in a parent directory
2012/3/20 Julien Rioux julien.ri...@gmail.com Jakub Pavlík jkb.pavlik at gmail.com writes: I've found a serious difference in behaviour between lilypond-book 2.12.3 and 2.15.34: Thanks, I've added it here: http://code.google.com/p/lilypond/issues/detail?id=2423 Regards, Julien I must apologize for an error in the description - the well working version of LilyPond wasn't 2.12.3 (the example want compile in 2.12.3 - it will crash with a different error message), but 2.14.2. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Possible regression in lilypond-book: including a file in a parent directory
Hi, I've found a serious difference in behaviour between lilypond-book 2.12.3 and 2.15.34: If you include a LilyPond file in your LaTeX document using \lilypondfile{file.ly} and this file includes another file using \include anotherfile.ly everything is OK. But then you want to include one more file, which is in the parent directory: \include ../onemorefile.ly And, this detail is also important, you run lilypond-book with the option --out, which puts all the output in a specified directory. lilypond-book 2.12.3 does, what you want. lilypond-book 2.15.34 ends with an error: error: cannot find file: `../onemorefile.ly' You may unpack the attached archive, go in the directory lilybookincludetest/subdir and run make with different versions of lilypond-book in the PATH to see what I am writing about. Isn't it a regression? Lilypond-book 2.12.3 behaved just how I expected it to behave... Jakub Pavlík lilybookincludetest.tar Description: Unix tar archive ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Book title and author on the very first page only
Hi, having a file with multiple \bookparts (each of them contains multiple \scores), LilyPond puts score title and author name at the top of the first page of each bookpart by default. I would love to have these two fields only on the very first page of the whole book and at the beginning of the bookparts (with the exception of the first one) just the bookpart's subtitle. Is there a way to do do - simpler than http://lsr.dsi.unimi.it/LSR/Item?id=368 ? (Why I want it: I sometimes produce pocket-sized booklets, where it is really wasting of limited space to have the book title at the beginning of each bookpart.) Thanks, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Formatting of lyrics
2012/3/6 Zbyněk Burget zbur...@burgnet.cz Dne 5.3.2012 12:30, Francisco Vila napsal(a): 2012/3/5 -Eluzeelu...@gmail.com: O.K. - see attachment - I am interested in the R at the end of even verses (symbol R I've created). gregorian.ly defines \ij \iij etc for prefixing and a two \responsum and \versus functions which do not seem to work. However, the unicode symbols used there still serve, see I'm not looking for a way to write a character, but how to place it as a suffix of verse. Just as an example: http://old.nabble.com/file/**p33442122/psalm-fragment.jpghttp://old.nabble.com/file/p33442122/psalm-fragment.jpg -- Zbyněk Burget Mlýnská 397 798 26 Nezamyslice tel: 588 580 000, 739 930 931 http://www.burgnet.cz IČ: 606 88 220; DIČ: CZ7210184674 __**_ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/**listinfo/lilypond-userhttps://lists.gnu.org/mailman/listinfo/lilypond-user What about a hidden note? \relative c' { e e e \hideNotes e } \addlyrics { Laus ti -- bi \markup\bold{R} } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.0.2 is available
Is the libpoppler-qt4 library visible for Python when you're running Frescobaldi? (Try to check the environment variable PYTHONPATH.) Jakub Původní zpráva Od: Peter O'Doherty m...@peterodoherty.net Předmět: Re: ANN: Frescobaldi 2.0.2 is available Datum: 05.2.2012 10:11:06 Hi Wilbert, Thanks for all your work on this. It looks great. Sorry if this has been asked before, I couldn't find anything in the archives. I installed all the dependencies (including libpoppler-qt4-dev) but when I start frescobaldi the message Could not load the popplerqt4 module appears in the right pane. Can you help? (I'm on linux.) Thanks, Peter On 01/16/2012 11:24 AM, Wilbert Berendsen wrote: Hi all, 2.0.2 is released which mainly fixes some Windows bugs: - snippet import/export now works in installer version - convert-ly works - stopping LilyPond now works other improvements: - the PDF and MIDI now always update correctly, also when 'save doc on compile' is checked. - manage templates in file-new from template menu (templates are simply snippets that define the 'template' variable) - lilypond can be run untranslated (in the C locale) - file entry fields in prefs are not slow anymore - more hyphen dictionaries bundled by default Note: for Windows users there is now a well-tested full installer that includes Python, PyQt4, poppler, portmidi and everything! Download: http://frescobaldi.org/download Enjoy! -- //= - Peter O'Doherty - http://www.peterodoherty.net - m...@peterodoherty.net - https://joindiaspora.com/people/70716 //= ___ 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: Breath marks at the end of a \divisioMaijor or \divisioMaxima
If you need any help, you should better explain, what you need, maybe provide an example of the LilyPond code you're working on... I can't really understand, what you need. Greetings, Jakub P.S.: Sorry for posting this twice, the first time I posted the reply by accident only to you and not to the list. Původní zpráva Od: The Doctor (Michael Dykes) thedoctor81...@gmail.com Předmět: Breath marks at the end of a \divisioMaijor or \divisioMaxima Datum: 21.1.2012 03:53:22 Hullo, I have found the simple method of adding a breath mark (/breath), but so far am unable to accomplish this at the end of a a line (i.e. before a \divisioMaior or a \divisioMaxima). Any help here would be appreciated. Thanks. -Michael D. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change color for some symbols in a sylable
Původní zpráva Od: Светлана eurid...@yandex.ru Předmět: Re: Change color for some symbols in a sylable Datum: 09.1.2012 23:24:50 10.01.2012, 00:01, Francisco Vila paconet@gmail.com: Use complex markups as syllables. { c' } \addlyrics { \markup { \concat { \with-color #red A bc } } } -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com Well, thank you, that works! But each score has at least 30 syllables and each of them has 1 or 2 colored letters... quite a mess in the code... Could there be any way to make this shorter and readable? Regards, Svetlana. I suppose the only way is to make your custom readable lyrics markup language (Like: characters in square brackets should be red) and write a script (in Ruby/Perl/...) that will preprocess your scores and make your well-readable lyrics to not-so-readable, but LilyPond-processable ones... Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: carol booklet
(Was sent to Hraban, but was meant for the OP or ML) I would also appreciate the .ly sources - because 1. I would like to print just a selection of the carols and 2. I have (living in Europe) no printer printing on letter-sized paper. J. Pavlík ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How to make slurs ignore stems?
In regular modern scores it is logical that the ends of a slur attach to a notehead or to an end of a stem, depending on the direction of stems of the notes connected by the slur. I'm typesetting chant transcriptions and make stems transparent: \override Stem #'transparent = ##t Some slurs, attached to invisible stems, then fly high over the notes. Is there any way to tell LilyPond to ignore stems when making slurs and attach slur always to noteheads? (I attach an image showing the problem. Red dots emphasize slurs attached to invisible stems.) Thanks for any help. Jakubattachment: slursexamples.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to make slurs ignore stems?
Thank you both, David and James. J Původní zpráva Od: David Nalesnik david.nales...@gmail.com Předmět: Re: How to make slurs ignore stems? Datum: 22.12.2011 20:44:59 Hi Jakub, 2011/12/22 Jakub Pavlík seve...@post.cz In regular modern scores it is logical that the ends of a slur attach to a notehead or to an end of a stem, depending on the direction of stems of the notes connected by the slur. I'm typesetting chant transcriptions and make stems transparent: \override Stem #'transparent = ##t Some slurs, attached to invisible stems, then fly high over the notes. Is there any way to tell LilyPond to ignore stems when making slurs and attach slur always to noteheads? There are probably better ways to go about this, but this seems to work: \version 2.15.16 \relative c'' { \override Stem #'transparent = ##t \override Stem #'Y-extent = ##f c( a g) } -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Git - date of last modification for each score
Hi, I have a large project containing many small scores (in large files each containing a bundle of scores) which often change. The project is stored in a git repository. I would like to be able to get the date of last modification for each of the scores from git. Does anyone have an idea how to do it? Thanks, ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ghoste notes
It seems that 2.12 didn't have commands \xNotesOn, \xNotesOff and \xNote - see http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Note-heads#Special-note-heads - but you can make them easily yourself - try to compile the attached file, it should work. Jakub Původní zpráva Od: valerian.neisse valerian.nei...@gmail.com Předmět: Re: ghoste notes Datum: 10.9.2011 10:10:31 hi Marc , i'm on lilypond 2.12., do you another technique to do that on 2.12. ? Le samedi 10 septembre 2011 à 09:19 +0200, Marc Hohl a écrit : Am 09.09.2011 18:55, schrieb valerian.neisse: i have tryed that and it doesn't works Which version of lilypond do you use? \xNote works with 2.14 and not with 2.12. Marc Le vendredi 09 septembre 2011 à 14:26 +0200, Marc Hohl a écrit : Am 09.09.2011 14:19, schrieb valerian.neisse: hi i don't know how i can whrite ghoste notes for other instruments than drums . the double bass for exemple. i saw this exemple in this liste c4 \cr c \cnr d \cr d \cnr | to put ghoste on 2 and 4 ( i m not shure if i remember right) and the guy said it's works , but not for me . my measure is : c8 b c c \times 4/6 { e16[f g a g8] } \times 4/6 {a16 aes g f g g } and i would like a ghoste note in place of the last g. Try g g g \xNote g HTH, Marc thank you for having read ___ 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 \version 2.12.0 xNotesOn = { \override NoteHead #'style = #'cross } xNotesOff = { \revert NoteHead #'style } \relative c'' { c4 b a b \xNotesOn c4 b a b \xNotesOff c4 d e f }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Empty music sheet generator in LilyPond
Dear LilyPond users, Every now and then you need empty music sheets to write a score or arrangement manually on paper, prepare some exercises for you instrumental students or simply do some homework for college. Wouldn't it be great if you could create empty score sheets for the exact instrumentation that intend, rather than drawing all brackets manually on stock music paper that you can buy? To automate this, I have created a small online creator for empty music sheets, which uses lilypond as the backend to produce the nice sheets: http://www.edition-kainhofer.com/en/empty-scoresheets.html Please let me know what you think about it. For example, if you feel that some score type is missing, it's really easy to add more than the currently available. If you select a combination of settings that no-one else has yet selected, Lilypond takes a few seconds to create the score (and also the preview), but the second time you choose that configuration there is no delay, because all already-created scores are cached and re-used on the server. Cheers, Reinhold I suggest adding sheets for gregorian chant - staffs of four lines, without a clef (because the clefs may be placed on different lines and writing more small pieces like antiphons on one sheet you usually need different clef placements). Jakub Pavlík ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ghoste notes
See section Noteheads in the Notation manual: http://lilypond.org/doc/v2.14/Documentation/notation/note-heads Jakub Původní zpráva Od: valerian.neisse valerian.nei...@gmail.com Předmět: Re: ghoste notes Datum: 09.9.2011 18:56:29 i have tryed that and it doesn't works Le vendredi 09 septembre 2011 à 14:26 +0200, Marc Hohl a écrit : Am 09.09.2011 14:19, schrieb valerian.neisse: hi i don't know how i can whrite ghoste notes for other instruments than drums . the double bass for exemple. i saw this exemple in this liste c4 \cr c \cnr d \cr d \cnr | to put ghoste on 2 and 4 ( i m not shure if i remember right) and the guy said it's works , but not for me . my measure is : c8 b c c \times 4/6 { e16[f g a g8] } \times 4/6 {a16 aes g f g g } and i would like a ghoste note in place of the last g. Try g g g \xNote g HTH, Marc thank you for having read ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Alternative note inserting for guitar tabs
Jakub Pavlík jn. wrote: Your e-mail inspired me to start work on a VexTab-to-LilyPond converter, which should make it possible to make use both of the simple VexTab input and fancy LilyPond output. At this time it doesn't have enough functionality for your needs - but I'm slowly working on it. J. Pavlik Wow! That's good! :D I'm pleased to hear of your plan to work on that converter. I'll stay tuned on this list for news about it. Thank you Jakub! Bye. A git repository of vextab2lily at github: https://github.com/igneus/vextab2lily It isn't able to process the 5th step of the VexTab Tutorial correctly yet. Once it is able to cope with all the examples from the tutorial and some real-life tablatures, I'll post here once more and probably also in the Lilypond-tablatures-list. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Alternative note inserting for guitar tabs
Your e-mail inspired me to start work on a VexTab-to-LilyPond converter, which should make it possible to make use both of the simple VexTab input and fancy LilyPond output. At this time it doesn't have enough functionality for your needs - but I'm slowly working on it. J. Pavlik Původní zpráva Od: Lilyjoe trashem...@lavabit.com Předmět: Alternative note inserting for guitar tabs Datum: 04.9.2011 14:15:18 I've to write a very basic guitar tab, no need to add tempo and other infos, just number of frets and the way to play notes (hammer on, pull off, bendings, slides and so on). I like lilypond outputs, but I don't know music. It's hard for me to write a tab by insert notes as a b c... I'd like to write by insert notes in the form fret/string, I find it very usefull. Looking around on the net I found a tool called Vexflow, In my view it has the best syntax to quickly insert notes in the tab. Unfortunately Vexflow output is a png image and I think it's not made to be well printed on a pdf document. So, I'd like to know if there was a way to insert notes in the fret/string format in lilypond too, or if it just supports the a b c format. Sorry for my bad english, if something isn't clear enough, let me know... I've not found an italian specific forum so I've decided to ask there. Thanks in advance. Bye! ___ 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: Using headers inside of a score
Původní zpráva Od: Reinhold Kainhofer reinh...@kainhofer.com Předmět: Re: Using headers inside of a score Datum: 27.6.2011 20:19:11 Am Montag, 27. Juni 2011, 18:08:47 schrieb Jakub Pavlík: Hi, it would be very useful for me to be able to access score headers inside of the score, like this: [...] But it doesn't work. Is there any way to do this (take some score header and set it as instrument name)? http://lsr.dsi.unimi.it/LSR/Item?id=467 Cheers, Reinhold Thank you very much. Unfortunatelly, this snippet only allows me to use fields from the top-level header. I need to access properties from the score header. Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Using headers inside of a score
Hi, it would be very useful for me to be able to access score headers inside of the score, like this: \score { \relative c' { \set Staff.instrumentName = \markup { \fromproperty #'header:piece } a a a } \header { piece = Great Piece } } But it doesn't work. Is there any way to do this (take some score header and set it as instrument name)? Thanks, Jakub ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Vertical position of a breathe sign
Hi, I'm using sort of non-standard notation - in four-lines-staff in the way in which gregorian chant is notated. In this way I set up the staff: \override Staff.StaffSymbol #'line-positions = #'(-7 -5 -3 -1) So, the notes B, D, F, A lie on the lines. But in this setup, the breathe sign is typesetted flying over the staff. I want it to lie on the top-most line, on the line A, but I haven't found any way to modify vertical positioning of this sign. Is there any? Thanks, Jakub Pavlík ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Is spacing strategy scriptable?
Hi, is there any way to define my own algorithm of horizontal spacing for the score? Thanks, J. Pavlík ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Variable names
I have tried to find some description of the valid syntax of LilyPond variables and haven't found any. I would like to use variable names with numbers and possibly with underscores - is it somehow possible? a2c = { a a a } % doesn't work a_c = { a a a } % also doesn't work Thanks, Jakub Pavlík ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Unbreakable space in markup
Hello, is it possible to make an unbreakable space in multi-line top-level markup? Some languages (including Czech) prohibit e.g. prepositions at the end of line - and I haven't been able to adjust line-breaking in these and similar cases. Thanks, Jakub Pavlík ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user