Re: \RemoveEmptyStaffContext and cross-staff beams
I can see the problem you report with version 2.12, but with the latest 2.13 version (compiled from todays GIT), it's even worse, since the beam stays flat also if you don't have \RemoveEmptyStaffContext. I haven't tracked down exactly what has changed, but I had to reduce the setting of the auto-knee-gap property of Beam from the default value 5.5 to \override Score.Beam #'auto-knee-gap = #4.75 to get the kneed beam that was obtained in earlier versions. Regression bug!(?) On the other hand, the problem you report has been in LilyPond for a very long time and seems to date back to http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commitdiff;h=17332ae36b238193723983455a91366be4e88e0b I'm not sure why Han-Wen added this setting in the definition of \RemoveEmptyStaffContext, but he probably had a good reason. The question is if the same reason still applies or if it would work to allow kneed beams also in \RemoveEmptyStaffContext. If somebody is interested to try it out, just use \layout { \context { \RemoveEmptyStaffContext \override Beam #'auto-knee-gap = #4.75 } } and check if anything breaks. There doesn't seem to be any regression test on the combination of \RemoveEmptyStaffContext and kneed beams, so you would have to invent some yourself. /Mats Jonathan Wilkes wrote: Hello, In the following code, the beam goes between the staves when \RemoveEmptyStaffContext is commented out but goes above the top staff when it's used. This means you have to explicitly state all the stem directions to get the beam to go in the middle of the staves when using \RemoveEmptyStaffContext. Is this a bug? -Jonathan Snippet below: \version "2.13.3" staffPiano = \new PianoStaff { << \new Staff = "rh" { \relative c' { c8[ c c c \change Staff = "lh" g, g g g] } } \new Staff = "lh" { \relative c { \clef bass c1 } } >> } \score { \staffPiano } \layout { \context { \RemoveEmptyStaffContext } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Incompatibility lilypond-book / tikz
Hello. Just writing in a LaTeX document \usepackage{tikz} to make pgf drawings, makes lilypond-book to fail with the message textwidth=345.0pt columnsep=10.0pt (./tmpZHQYhJ.aux) ) No pages of output. Transcript written on tmpZHQYhJ.log. Traceback (most recent call last): File "/usr/local/bin/lilypond-book", line 2131, in main () File "/usr/local/bin/lilypond-book", line 2113, in main chunks = do_file (files[0]) File "/usr/local/bin/lilypond-book", line 1986, in do_file set_default_options (source, default_ly_options, global_options.format) File "/usr/local/bin/lilypond-book", line 969, in set_default_options textwidth = get_latex_textwidth (source) File "/usr/local/bin/lilypond-book", line 1775, in get_latex_textwidth columns = int (m.group (1)) ValueError: invalid literal for int() with base 10: '' Any ideas? -- Francisco Vila. Badajoz (Spain) www.paconet.org www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Incompatibility lilypond-book / tikz
2009/9/23 Francisco Vila : > Hello. > Just writing in a LaTeX document > > \usepackage{tikz} > > to make pgf drawings, makes lilypond-book to fail with the message ... > File "/usr/local/bin/lilypond-book", line 1775, in get_latex_textwidth > columns = int (m.group (1)) > ValueError: invalid literal for int() with base 10: '' > > Any ideas? It results that I asked this months ago and Neil Puttock answered me: http://lists.gnu.org/archive/html/lilypond-user/2009-06/msg00122.html mmm... Any ideas? Thank you! -- Francisco Vila. Badajoz (Spain) www.paconet.org www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Figured Bass: Order of Digits
Hi, I'm working on Couperin's 14. Concert from "Les Gouts reunis". I have a problem to determine the correct order of the digits in the figured bass. The attatched picture shows the problem. %% Begin example% \markup { \large "Bug in the horizontal order of the digits" } \version "2.12.0" \relative c << \new Staff { \time 2/4 \clef bass d8 g, a4 | d,2 | \bar "|." } \new FiguredBass \figuremode { \override FiguredBass.BassFigure #'font-size = # -3 \set useBassFigureExtenders = ##t s8 <3- 6 5> <6 3+> <7 3+> | s2 | } >> %% End example% Sorry for my bad english and thank You for Your help. Best regards Franz-Rudolf Kuhnen http://www.kuhnen-musik.de <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Incompatibility lilypond-book / tikz
2009/9/23 Francisco Vila : > mmm... Any ideas? Thank you! I posted a patch here, but I'm not sure whether it's OK: http://lists.gnu.org/archive/html/lilypond-devel/2009-06/msg00281.html Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaffContext and cross-staff beams
2009/9/23 Mats Bengtsson : > I haven't tracked down exactly what has changed, but I had to reduce the > setting of the auto-knee-gap property of Beam from the default value 5.5 to > \override Score.Beam #'auto-knee-gap = #4.75 > to get the kneed beam that was obtained in earlier versions. > Regression bug!(?) The staves are slightly closer together due to Joe's new spacing code, so it's probably just a case of tweaking the default value for 'auto-knee-gap. > On the other hand, the problem you report has been in LilyPond for a very > long time and seems to date back to > http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commitdiff;h=17332ae36b238193723983455a91366be4e88e0b > I'm not sure why Han-Wen added this setting in the definition of > \RemoveEmptyStaffContext, but he probably had a good reason. There's a message in the deleted bug snippet harakiri-autoknee.ly which suggests there used to be a problem: Autoknee-ing triggers hara-kiri too early. Here's the same snippet updated, which compiles fine under current master: \version "2.13.4" \score { \relative c''' { \new PianoStaff << \context Staff = up { c4 c c c \break c4 c c c } \context Staff = mid { c4 c c c \break s1 } \context Staff = down { c8 \change Staff = mid c8 \change Staff = down c8 c c4 c c4 c c c } >> } \layout { \context { \RemoveEmptyStaffContext \revert Beam #'auto-knee-gap } } } Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Texte et Lilypond
Bonsoir. Je cherche un moyen de créer un document texte dans lequel j'insère des objets Lilypond (des petites partitions/portées par-ci par-là). J'ai trouvé sur la doc une partie qui parle de lilypond-book. Mais ça commence à devenir incompréhensible quand ça parle de lignes de commandes. Sachant que j'ai Windows XP (et pas Linux, donc plus difficilement accès aux lignes de commande), et que je possède LaTeX... quelqu'un pourrait m'aider :( ? Siouplé... Pierre-Yves ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Texte et Lilypond
2009/9/23 Pierre-Yves Gousenbourger : > Je cherche un moyen de créer un document texte dans lequel j'insère des objets > Lilypond (des petites partitions/portées par-ci par-là). > J'ai trouvé sur la doc une partie qui parle de lilypond-book. Mais ça > commence à > devenir incompréhensible quand ça parle de lignes de commandes. Bonsoir, LilyPond-book est un outil extraordinaire mais relativement complexe... il existe encore plus simple : si vous utilisez OpenOffice, un plugin du nom de http://ooolilypond.sourceforge.net peut vous permettre d'intégrer facilement des fragments de partition dans votre document. (Il existe également la même chose pour Scribus.) Cependant LilyPond-book fonctionne sans trop de mal sous Windows (mais je laisserai quelqu'un d'autre vous renseigner, moi dès que je vois deux lignes de laTeX je fuis en criant). Cordialement, Valentin Villenave. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Incompatibility lilypond-book / tikz
2009/9/23 Neil Puttock : > I posted a patch here, but I'm not sure whether it's OK: > > http://lists.gnu.org/archive/html/lilypond-devel/2009-06/msg00281.html > As for the first of the three changes in the patch, I've applied it manually over the installed LP-b script and have been able to use it and tikZ together. I will try applying the complete patch on the git tree and trigger a doc build tomorrow; I'll inform you. -- Francisco Vila. Badajoz (Spain) www.paconet.org www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Png image files are always 859x1111
Op dinsdag 22 september 2009, schreef Stephen Corey: > After generating my png images, I typically open them with Gimp and > convert the white background to alpha (Colors | Color to Alpha) before > loading them into Powerpoint. This allows you to use a color or texture > background to your music, which sometimes makes for a nicer display. You know you can have LilyPond transparent (alpha) PNGs directly by using -dpixmap-format=pngalpha on the commandline, like: lilypond -dresolution=300 -dpixmap-format=pngalpha --png file.ly or by including these lines in your template: #(ly:set-option 'pixmap-format "pngalpha") #(ly:set-option 'resolution 300) best regards, Wilbert Berendsen -- Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ Nederlands LilyPond forum: http://www.lilypondforum.nl/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user