\score inside define-markup-command

2009-02-22 Thread Michael Käppler
Hi all, is it possible to use the \score markup function in a new defined markup function construct? For example, #(define-markup-command (test layout props testclef) (string?) (interpret-markup layout props (markup #:score ( \clef #testclef a4 h c This is invalid code because it

Re: \score inside define-markup-command

2009-02-23 Thread Michael Käppler
Hi, I don't know if it will work, but perhaps you can try to type \displayMusic { \clef #testclef a4 h c } to get the scheme version of your music, and to copy/paste the output you got after the #:score markup ... good idea! But it still doesn't work. Let's look at the following minimal

Re: \score inside define-markup-command

2009-02-25 Thread Michael Käppler
Hi Nicolas, many thanks for that hint! Using make-score was the point. But also very nice you showed me how to deal with layout settings in such a scheme score. Michael ___ lilypond-user mailing list lilypond-user@gnu.org

Automatically adding lyric extenders

2009-04-05 Thread Michael Käppler
Hi all, does anybody know a way to get LilyPond to automatically draw extender lines after the last syllable of each word, if the melisma reaches a specified minimal length? Such a behaviour would save large time in entering some kinds of music. Cheers, Michael

Re: Lilypond crash

2009-04-11 Thread Michael Käppler
Hi Nick, I'm able to reproduce this on OpenSuse 11.0 with LilyPond 2.13, too. I don't know if there's a more simple way, but try this instead: i = #(define-music-function (parser location) () (apply make-music (append (list 'StrokeFingerEvent

Speed-up compiling

2009-07-29 Thread Michael Käppler
Hi all, I'm suffering from enormous compiling durations on large files. With large I mean a file with about 250 measures and seven staves per system. The last time I compiled the file completely (without using showLastLength) I did it overnight, since after one and a half hour Lilypond still

Re: Speed-up compiling

2009-07-29 Thread Michael Käppler
Hi Mark, Maybe try using \pointAndClickOff ? I don't know if point-and-click slows things down, but it certainly increases filesize. http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Point-and-click I've tested this, rendering only the last 100 measures: When I ran Lily the

Manual beaming after \override

2009-08-04 Thread Michael Käppler
Hi all, can somebody explain, why the following doesn't work with manual beaming, but with autobeaming? \version 2.13.4 \relative c' { \time 2/4 d8 \override NoteHead #'style = #'cross d ~ d4 % This works fine % \autoBeamOff % d8 \override NoteHead #'style = #'cross [d] ~ d4 } The second

Re: Manual beaming after \override

2009-08-04 Thread Michael Käppler
Mats Bengtsson wrote: The [ belongs to the note that starts the beam, whereas the \override command is inserted between notes, so the correct syntax is d8[ \override NoteHead #'style = #'cross d] ~ d4 Many thanks! ___ lilypond-user mailing list

Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Michael Käppler
[CC to -devel] (nobody checks the regression tests for each release, for example -- and that's trivially done with a web browser!) That reminds me of an idea I recently had: Wouldn't it be possible to automatically generate a sort of checksum for each regression-test output-file and compare

Re: Automatically checking regtests

2009-08-17 Thread Michael Käppler
Reinhold Kainhofer wrote: Isn't this exactly what we already have (make test-baseline to create the Argh, how embarrassing! Sorry for the noise. Regards, Michael ___ lilypond-user mailing list lilypond-user@gnu.org

How to extend accidential style

2007-07-23 Thread Michael Käppler
Hi all, I want exactly the functionality of piano accidential-style, but with cancelling across the stave in a ChoirStaff too. Is there a way to get this work? Kind regards, Michael _ In 5 Schritten zur eigenen Homepage.

Melisma should end with manual beam

2007-07-31 Thread Michael Käppler
Hi all, following example: \relative c' { \autoBeamOff f2 \melisma f' ~ f4 [ \melismaEnd es8 d ] c4 b } \addlyrics { kom -- men } How can I let the melisma end with the beam, like this: f fes d kom - men__ Thanks for suggestions, Michael

Figured Bass - accidentals too small

2007-08-03 Thread Michael Käppler
Hi all, I don't like the tiny accidentals which are created f.e. by _! or _+ in figuredBass mode. I tried tweaking the font size in BassFigure object, however this increases the numbers too. Is there a way to get only the accidentals bigger? By the way, I would like to use the symbol for

Page breaking to get only full pages

2007-08-16 Thread Michael Käppler
Hi all, can I get lilypond to automatically break pages in such a way that only full pages are created? For example, if the piece gets 1 1/2 pages long with optimal-page-breaking, lilypond decides whether to compress everything on 1 page or expand it to 2 pages? Kind regards, Michael

Padding around instrument names

2007-08-16 Thread Michael Käppler
Hi all, again a question I'd be very happy to helped with. If I add padding around instrument names, LilyPond doesn't care if the names are inside the margins. I thought that Lily would align the names on the left margin and move the system to the right. Kind regards, Michael

Re: Padding around instrument names

2007-08-17 Thread Michael Käppler
Mats Bengtsson wrote: Your observation is absolutely correct, so unfortunately you have to manually adjust the indent parameter (or the linewidth) to fit the instrument names. And is there a way to align all names to the left margin? Michael ___

Aligning instrument names - another try

2007-08-21 Thread Michael Käppler
Hi all, I'll give it another try - I searched a lot on how to left align several instrument names(different staves), but didn't find even a workaround on the list. It seems that Thies' workaround which he posted in Oct 2006 doesn't work anymore. Regards, Michael His post: Here's what I do

Re: Aligning instrument names - another try

2007-08-21 Thread Michael Käppler
Hi Valentin, Yes it does: you just have to give enough amount of hspace so the instrument names can fit in. Look at the following snippet (maybe I'll add it to the LSR, unless you have some improvements to propose). Many thanks first. It really works. Michael Maybe you could enhance your

Figured bass - enlarging accidentals

2007-08-21 Thread Michael Käppler
Hi all, is there a way to enlarge only the accidental signs in a figured bass, leaving the numbers' size unchanged? Regards, Michael ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

cm, mm.. units in markup function

2007-08-21 Thread Michael Käppler
Hi all, is it possible to use absolute units in a scheme markup function? The following example doesn't work: #(define-markup-command (iname layout props name) (string?) (interpret-markup layout props (markup #:combine #:hspace (* 50 mm) #:large name)) ) Greets, Michael

Centering bass figures vertically (lilypond-book)

2007-11-10 Thread Michael Käppler
Hi all, I'm working on a LaTeX document with integrated Lilypond(2.11.34) snippets. Mostly the snippets only consist of a bass figure, like this: \begin[ragged-right, staffsize=12]{lilypond} \new FiguredBass \figuremode { \set figuredBassAlterationDirection = #1 5! 4 } \end{lilypond} I

Strange barline appearance

2007-11-21 Thread Michael Käppler
Hi, why does the barline look so strange in this example? I can't remember having experienced this with older Lily, but 2.11.33 seems to behave the same way. Greetz, Michael \version 2.11.34 \score { \new StaffGroup \new Voice = VoiceI \relative c'' { g1 \bar || } \new Lyrics

One eps file per page

2007-11-24 Thread Michael Käppler
Hi, I've read several articles on the list concerning the fact that lilypond-book doesn't take the exact page spacing into account. Now I'm experiencing the same problem and I wonder whether lilypond can't create simply one eps file per page. lilypond -dbackend=eps -dno-gs-load-fonts

TextScript/Lyrics positioning order

2007-12-09 Thread Michael Käppler
Hi all, how can I get Lilypond to align simple TextScripts(something like c4.^blabla) above the LyricText? I write a piece of choir music for four voices on two staves like template A.4.1 in the manual. I tried setting outside-staff-priority higher for TextScript, which failed. Padding the

Padding FiguredBass at top

2007-12-23 Thread Michael Käppler
Hi all, I have a score layout like this: \new Voice=bass \bla \new Lyrics \lyricsto bass \text \new FiguredBass \numbers \new Staff \blabla I want to add some padding at the top of the FiguredBass numbers to get more whitespace between them and the Lyrics line. One solution is to increase

Re: Place of ambitus

2007-12-26 Thread Michael Käppler
Hi Stefan, can I achieve somehow that the ambitus is printed at a certain place? (i.e. after the incipit!) have a look at the break-align-orders property of the BreakAlignment grob in the manual. Greetz, Michael ___ lilypond-user mailing list

Change vertical Lyric spacing for some words

2007-12-27 Thread Michael Käppler
Hi all, is it possible to change the minimum-Y-extent on-the-fly only for some lines or even words? Example, which doesn't work: test = \lyricmode { blabla \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.75 . 2.0) blabla blabla } Regards, Michael

Re: Layout integrating LaTeX and music

2007-12-30 Thread Michael Käppler
Hi Patrick, the baseline of the lilypond fragment is now identical with the letter's baseline. Have you got any idea why there is so much horizontal space in between the round brackets and the fragment: ( fragment )? I think what you're looking for is the --left-padding parameter. Just

Re: Layout integrating LaTeX and music

2007-12-30 Thread Michael Käppler
Hi Patrick, thanks a lot for your help! The option --left-padding=0 reduced the redundant space on the left side and improved the layout on the right side of the fragment within the brackets. I don't want to be pedantic ;-) but is there an option to get rid off the space on the right side

top/bottom margins too large

2008-01-03 Thread Michael Käppler
Hi all, I'm having some trouble with getting exact top/bottom margins with LilyPond. While left/right margins match the given values exactly, top/bottom margins exceed them by approx. 10mm. Since there is no header except for the first page, head-separation=0\mm shows no effect. What can be

Strange errors on missing braces

2008-01-04 Thread Michael Käppler
Hi all, following example \version 2.11.37 \score { c4 e d f leads to the strange error message: /usr/local/lilypond/usr/share/lilypond/current/ly/init.ly:28:0: Fehler: syntax error, unexpected SCM_TOKEN #(if (and (ly:get-option 'old-relative) Programmierfehler: Parsed object should be

Changing vertical extent on-the-fly?

2008-01-06 Thread Michael Käppler
Hi all, I recently asked a similar question on the list, now noticing again that I'd like to have this feature. A minimal example: \version 2.11.37 \score { \relative c' { \new Staff { c4 d e f | f e d c \break | \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-8 . 4) % does not

Lilypond slowness when invoking with *.ly

2008-01-13 Thread Michael Käppler
Hi all, when processing a number of files, it takes on my machine much more time calling Lily with: lilypond *.ly than lilypond a.ly lilypond b.ly Is this a general issue with Lily's memory managment? Regards, Michael ___ lilypond-user

Stacking order TextScript / FiguredBass

2008-01-13 Thread Michael Käppler
Hi all, how can I place TextScripts above a FiguredBass context? Following example: \version 2.11.37 \score { \new FiguredBass \figuremode { 64 5 6 4 5 3 } \new Staff { c'4^blabla d e f } } Thanks for any advice, Michael ___ lilypond-user

Keeping ossia staves away from SystemStartBar

2008-02-01 Thread Michael Käppler
Hi all, I appreciate LilyPond's possibility for creating ossia staves much. It remains a small problem: If the staff occurs after a line break, it is connected with the other staves and bar numbers are printed above the ossia staff. Is there a way to prevent this? Kind regards, Michael

Many thanks!

2008-08-25 Thread Michael Käppler
... for this great piece of software. I'm using LilyPond for about one year now, since I've finally dropped my laptop's Windoze partition. Capella, which I former used doesn't work properly with Wine. Honestly I have to admit that it took me sometimes hours to figure out some syntax / layout

Re: Many thanks!

2008-08-30 Thread Michael Käppler
For my diploma thesis (I study church music) I made a edition of a church cantata by Georg Philipp Telemann, engraved with Lily. Currently I haven't access to public webspace, so I don't know how I can show it to you. Just to let you know - the cantata is now online at the Werner Icking

Vertical spacing on big systems

2008-09-12 Thread Michael Käppler
Hi all, I'm having some trouble to get LilyPond to put two systems on a page without forcing that in the following example. (It's pretty long, sorry for that) I don't really understand why Lily puts each system on one page though there is really enough free space on the first page. Any hints?

Re: Vertical spacing on big systems

2008-09-13 Thread Michael Käppler
Hi Reinhold, You might try to comment out (or at least reduce) these 10% of reserved space and see if you run into any staff collisions (which I don't think should happen, but then I haven't dug deep enought for this staff!). I removed the additional security space completely for testing,

Re: Vertical spacing on big systems

2008-09-14 Thread Michael Käppler
Hi Patrick, sure, this would be a workaround, but one can hardly call it a solution... Actually. it doesn't change the fact that there is enough space to fit both systems on one page, even with the larger page-top-space. But for some unknown reason Lilypond decides differently. However, as

Re: Vertical spacing on big systems

2008-09-15 Thread Michael Käppler
Hi Nicolas, I've collected some raw data about estimated extents and real ones one various scores. I still have to study them, maybe a more suitable amount of reserved space will emerge. that would be nice... Maybe it's also possible to cook a patch that makes lilypond collect that information

Text markup stacking

2008-11-04 Thread Michael Käppler
Hi guys, following example: \version 2.11.63 \relative c'' { a4^blablablablablabla g f e d1^blablabla } How can I decide whether in case of a collision markup two is stacked on top of markup one or the other way round? Cheers, Michael ___

Spacing figured bass and lyrics

2011-04-15 Thread Michael Käppler
I'm not top posting Hi all, I've encountered a problem when trying to modify the distance between a FiguredBass line and a Staff which is placed above. If there are Lyrics attached to the Voice placed in the upper staff, setting a padding to the FiguredBass line has no effect. Maybe I don't

Again vertical spacing FiguredBass / Staff / Lyrics

2011-04-22 Thread Michael Käppler
I'm not top-posting Hi all, I'd like to clarify my former question from a few days ago: How can I increase the minimal distance between a FiguredBass line and the staff above? (Example attached) It works if there are no Lyrics attached to upper staff. Otherwise the padding goes away for a reason

Re: Again vertical spacing FiguredBass / Staff / Lyrics

2011-04-26 Thread Michael Käppler
Hi Carl, thanks, but increasing system-system-spacing will increase distance between all system groups. What I want is increasing just the distance between the lowest staff line (resp. the Figured Bass line) and the staff above. It works, but only if there is no Lyrics line between the two

Re: Again vertical spacing FiguredBass / Staff / Lyrics

2011-04-27 Thread Michael Käppler
Thank you very much, Carl, for your advice! I have made an interesting observation, though: If minimum-distance is set instead of basic-distance, the numbers are aligned at the top staff. Is this somehow intended behaviour? Regards, Michael % Begin lilypond code \version 2.13.58 notes =

Re: Again vertical spacing FiguredBass / Staff / Lyrics

2011-04-28 Thread Michael Käppler
Hi Carl, I doubt that it is intended behavior. However, I do think your file represents a misuse of the properties. minimum-distance is intended to always be less than basic-distance. In this case, I think that minimum-distance is greater than basic-distance, which probably messes up all of

Rendering umlauts fails

2010-06-14 Thread Michael Käppler
Hi all, after using Lilypond a long time on a Linux machine I now tried out the Win build. There I encounter a problem which I have never seen on Linux AFAIK. If I use Lyrics containing umlauts, sometimes Lily only doesn't show them, sometimes aborts with plenty of messages like this:

Tweak autobeaming

2010-08-11 Thread Michael Käppler
Hi all, I wrote a piece in 2/2 time, which I want to be beamed like it was in 4/4. So I did baseMoment = #(ly:make-moment 1 4) but had an unexpected result - The beats 1 and 2 have their own beams, but 3 and 4 are beamed together. What am I missing? Regards, Michael

Partcombine: Ties break when followed by another one

2017-03-23 Thread Michael Käppler
Hi all, Lilypond's behaviour in the following example does not make sense to me. \version "2.19.0" \score { \new Staff { \partcombine { \time 3/8 b'8 b'4 ~ } { \time 3/8 es'8 es'4 ~ } \partcombine { b'4. R1*3/8 } % { es'4. ~

Re: Partcombine: Ties break when followed by another one

2017-03-23 Thread Michael Käppler
Ok, but maybe it should at least print an error message... it is confusing because it works in many cases. Michael Am 23.03.2017 um 11:41 schrieb Phil Holmes: - Original Message - From: "Michael Käppler" <xmichae...@web.de> To: <lilypond-user@gnu.org> Sent: Thur

Re: Partcombine: Ties break when followed by another one

2017-03-23 Thread Michael Käppler
~ } -- Phil Holmes - Original Message - From: "Michael Käppler" <xmichae...@web.de> To: "Phil Holmes" <m...@philholmes.net>; <lilypond-user@gnu.org> Sent: Thursday, March 23, 2017 10:31 AM Subject: Re: Partcombine: Ties break when f

Re: Partcombine: Ties break when followed by another one

2017-03-23 Thread Michael Käppler
Hmm, I don't get what you mean. Maybe my example was misleading. I have two voices, split in two parts and try to get ties between both parts. Part 1 | Part 2 Voice1: b'8 b'4 ~ | b'4. R1*3/8 Voice2: es'8 es'4 ~ | es'4. ~ es' As Phil pointed out, the following works fine: \partcombine { \time

Re: grouping in 6/8

2017-04-23 Thread Michael Käppler
Hi Karol, it depends on which rhythmical structure you want to express. If you intend a base structure in 8ths where the 4th note is not stressed, I would prefer (2). If you want to achieve a base structure in dotted 8ths, like a 12/16 signature divided in four beats, I would write (1). HTH,

2.19.59 mingw binary: virus false positive?

2017-04-23 Thread Michael Käppler
Hi all, I just installed LilyPond 2.19.59 mingw binary on my machine and my antivirus scanner Avira Free Antivirus Version 15.0.25.172 21.03.2017 Searching engine 8.03.44.42 20.04.2017 Signature file 8.12.164.198 23.04.2017 complains about having found the "TR/Crypt.XPACK.Gen" virus in two

Speedup with recent lilypond

2017-04-24 Thread Michael Käppler
Hi all, just for curiosity: I upgraded from 2.19.55 to 2.19.59 and noticed an enormous speedup. That is really great and I would like to know which change(s) are responsible for that. All the best, Michael ___ lilypond-user mailing list

Re: Speedup with recent lilypond

2017-04-24 Thread Michael Käppler
I'm on Win7 x64. When has the font caching been fixed? I could not find the commit. Am 24.04.2017 um 09:14 schrieb David Kastrup: Michael Käppler <xmichae...@web.de> writes: Hi all, just for curiosity: I upgraded from 2.19.55 to 2.19.59 and noticed an enormous speedup. That is really

Re: Speedup with recent lilypond

2017-04-24 Thread Michael Käppler
Thanks! Am 24.04.2017 um 09:39 schrieb Phil Holmes: - Original Message - From: "Michael Käppler" <xmichae...@web.de> To: "David Kastrup" <d...@gnu.org> Cc: <lilypond-user@gnu.org> Sent: Monday, April 24, 2017 8:24 AM Subject: Re: Speedup with recen

\partcombine and decrescendo spanner

2017-07-06 Thread Michael Käppler
Hi all, probably I do not see the wood for the trees here: Why are the decrescendos unterminated in the following MWE: \version "2.19.59" \score { \new Staff \partcombine { b2.\> r4\! } { des2.\> r4\! } } Regards, Michael ___ lilypond-user

Re: \partcombine and decrescendo spanner

2017-07-06 Thread Michael Käppler
Thank you for pointing this out. Is there a known workaround? Michael Am 06.07.2017 um 20:07 schrieb Kieren MacMillan: Hi Michael, Why are the decrescendos unterminated in the following MWE It's a known bug/issue: Cheers, Kieren.

Re: \partcombine and decrescendo spanner

2017-07-06 Thread Michael Käppler
The bug report is about simultaneous hairpins. But the following example also shows the same problem: \score { \new Staff \partcombine { b2.\> r4\! } { des2. r4 } } While \score { \new Staff \partcombine { b2.\> a4\! } { des2. r4 } } does compile without complaints. Seems it has

Re: \partcombine and decrescendo spanner

2017-07-06 Thread Michael Käppler
Brillant stuff! Am 06.07.2017 um 20:31 schrieb Kieren MacMillan: Hi Michael, Nice. It's Harm's, if I recall correctly… What is \etc ? A rather brilliant addition by David K. (I believe?), which essentially says "now go back to whatever follows in the 'real' code stream". See

Re: \partcombine and decrescendo spanner

2017-07-06 Thread Michael Käppler
Nice. What is \etc ? terminateHairpin = #(define-music-function (ctx-name mus) (string? ly:music?) #{ << $mus \context Voice = $ctx-name <>\! >> #}) endI = \terminateHairpin "one" \etc endII = \terminateHairpin "two" \etc \markup \vspace #4 \markup \bold { "WORKAROUND:" } \score { \new

Re: Circular dependencies - Deadlock

2017-06-21 Thread Michael Käppler
I did not try it, but I am quite sure that it would be easy to implement a IFDEF mechanism like in C preprocessing with a few lines of Scheme, however. All the best, Michael Am 21.06.2017 um 22:03 schrieb msk...@ansuz.sooke.bc.ca: On Wed, 21 Jun 2017, Michael Käppler wrote: foo.ily: \include "bar

Re: Circular dependencies - Deadlock

2017-06-21 Thread Michael Käppler
Am 21.06.2017 um 23:24 schrieb msk...@ansuz.sooke.bc.ca: On Wed, 21 Jun 2017, caag...@gmail.com wrote: On 06/21/2017 11:10 PM, Johan Vromans wrote: If you have a non-infinite recursive include it will continue. I think that would require solving the Halting Problem first. That's true if it

Circular dependencies - Deadlock

2017-06-21 Thread Michael Käppler
Hi all, I searched the bug tracker for the following issue but did not find anything... Consider two files: foo.ily: \version "2.19.59" \include "bar.ly" bar.ly: \version "2.19.59" \include "foo.ily" { c4 d e f } If you try to compile bar.ly the parsing process continues forever,

Re: Strange behaviour

2017-11-13 Thread Michael Käppler
Seems what you are looking for is here: http://lilypond.org/doc/v2.19/Documentation/notation/stanzas#stanzas-with-different-rhythms Where exactly is the documentation unclear about using multiple voices? This works for me: <<   \relative c' \new Voice = "vone" {     d2 d4 d     <<   \new

Re: Strange behaviour

2017-11-13 Thread Michael Käppler
Seems what you are looking for is here: http://lilypond.org/doc/v2.19/Documentation/notation/stanzas#stanzas-with-different-rhythms Where exactly is the documentation unclear about using multiple voices? This works for me: <<   \relative c' \new Voice = "vone" {     d2 d4 d     <<   \new

Re: \markup \score with independent \paper settings

2019-02-21 Thread Michael Käppler
Hi Urs, like this? I think it does what is specified; it aligns the center of the markup-score to the note you attached it to. I'm not sure, however, if this is what you want to achieve. \version "2.19.80" \paper {   ragged-right = ##f   system-count = 1 } {   c'1   \override

Doc string layout-set-absolute-staff-size wrong?

2019-02-13 Thread Michael Käppler
Hi all, maybe my question was in the wrong place when posting this to lilypond-devel, so I want to give it a try at lilypond-user: While trying to understand the calculations done in paper.scm regarding staff-spaces and absolute units I stumbled across the docstring for

[OT] Guile debugging tutorial

2019-02-13 Thread Michael Käppler
Hi all, I'm currently digging deeply into the mysteries of Scheme language with help of the astonishing book "Structure and Interpretation of Computer Programs" (Sussman  / Abelson). Often while trying to solve the SICP excersises my unsufficient knowledge of the guile built-in debugger becomes

Aligning scores in a grid-like manner

2019-02-10 Thread Michael Käppler
Hi all, a while ago I had the idea of creating a variant of the popular "pairs" game with different notes, clefs, time signatures etc. I created the individual parts as Lilypond scores, which I exported as svg files and did the final "assembly" to a grid-like layout with Inkscape. Attached is a

Re: Please test new lilypond installers

2019-01-29 Thread Michael Käppler
Am 29.01.2019 um 10:19 schrieb Knut Petersen: lilypond-2.21.0-1.linux-64.sh Works fine, Ubuntu 18.04.1 LTS, Kernel 4.15.0-36-generic running as guest in VirtualBox 5.2.22 r126460, host Windows 10 Version 1803. lilypond-2.21.0-1.mingw.exe Works fine too, Windows 10 Version 1803.

Re: Translating stencils

2019-09-24 Thread Michael Käppler
thing. What am I missing? Thank you, Michael Am 23.09.2019 um 23:14 schrieb Thomas Morley: Am Mo., 23. Sept. 2019 um 18:04 Uhr schrieb Michael Käppler : Hi all, I'm trying to understand the way one can translate / stack stencils in LilyPond. Consider the following code: #(define-markup-command

Snippet for aligning markup inside another markup

2019-09-30 Thread Michael Käppler
Hi folks, for a project of mine I wanted to center a markup inside another markup. I searched the built-in markup functions, but to no avail. (Surely it is possible that I missed something...) So I came up with the following code. Feel free to test and comment it. Maybe it is possible in an

Re: Tie multiple voice music contained in variable

2019-11-13 Thread Michael Käppler
Hi Gianmaria, Interesting, for me running 2.19.80 the first example does not compile, either. Was there a recent change regarding post-event handling? The problem is that the tie is not a separate expression that you could  concatenate with other musical expressions like bla = { e'1 } foo = { ~

Re: drawing a range reguardless of transposition

2019-11-15 Thread Michael Käppler
While I would strongly suggest that you update to the latest development version, which can regarded as very stable, this would work with 2.18.2: % LilyBin \version "2.18.2" highlightOutOfRange = #(define-scheme-function   (parser location color lower upper)   ((color? red) ly:pitch? ly:pitch?)

Re: drawing a range reguardless of transposition

2019-11-15 Thread Michael Käppler
\with {     \override NoteHead.color = \highlightOutOfRange g' f''   } { \transpose c b \notes }     }   >>   \layout { } } Am 15.11.2019 um 11:25 schrieb Sandro Santilli: On Fri, Nov 15, 2019 at 10:45:45AM +0100, Michael Käppler wrote: While I would strongly suggest that you upd

Re: drawing a range reguardless of transposition

2019-11-15 Thread Michael Käppler
elodyRange    \relative c' {  c4 d e f } } Am 15.11.2019 um 12:09 schrieb Sandro Santilli: On Fri, Nov 15, 2019 at 12:00:09PM +0100, Michael Käppler wrote: \score {   <<     \new Staff \with {   instrumentName = #"Voice"     } {   \new Voice = "vocal" \with

Extract measures with function

2019-11-15 Thread Michael Käppler
Hi all, is there a way to extract some particular measure from a voice through a music function? Like bla = { c4 d e f | d e f g | e f g a } \someMagicFunction #2 \bla -> d e f g I would be very happy if someone could point me in the right direction. Thanks, Michael

LSR contribution

2019-12-15 Thread Michael Käppler
Hi all, a few days ago I submitted a snippet to the LSR (title "Coloring successive intervals"). I can see it in the snippet database, but not in the webpage. The "Contributing" section of LSR states, that: "Once the snippet is in, it has to be reviewed and approved by one of the LSR editors,

Re: Coloring adjacent notes by interval

2019-12-05 Thread Michael Käppler
  (format (current-error-port) "Color grob?: ~a\n" color-grob?)               (if color-grob?   (set! (ly:grob-property grob 'color) color))   (set! last-pi

ly:parser-lookup vs. eval

2019-10-17 Thread Michael Käppler
Hi all, a short internals-related question: What is - from the technical point of view - the difference between the following two ways of looking up a binding: bla = {     c4 } $(eval 'bla (current-module)) $(ly:parser-lookup 'bla) Is there a way to get a list of all toplevel bindings? All

Re: Coloring adjacent notes by interval

2019-11-30 Thread Michael Käppler
Am 29.11.2019 um 23:27 schrieb David Kastrup: Michael Käppler writes: Hi all, I would like to color all successive notes in a voice that span a certain interval, like e.g. a perfect fifth upwards. Seems to me the most straightforward and extensible way would be to write a scheme engraver

Coloring adjacent notes by interval

2019-11-29 Thread Michael Käppler
Hi all, I would like to color all successive notes in a voice that span a certain interval, like e.g. a perfect fifth upwards. Seems to me the most straightforward and extensible way would be to write a scheme engraver for this, right? Does someone know existing examples of scheme engravers that

Re: Snippet for aligning markup inside another markup

2019-10-05 Thread Michael Käppler
Hi Aaron and Kieren, very nice! (I really should have read how the markup commands make use of ly:stencil-aligned-to...) Here my variant of the code with tweakable alignment. Personally I prefer the "scheme only-style" but I agree that the mixed style Aaron used would be shorter.

Re: Snippet for aligning markup inside another markup

2019-10-05 Thread Michael Käppler
Oops, here the missing snippet image... Am 01.10.2019 um 01:45 schrieb Kieren MacMillan: Hi Aaron, Here's my take: Nice work! This should be part of the base distro, IMO. Thanks, Kieren. Kieren MacMillan, composer (he/him/his) ‣ website:

Re: getting score information

2019-10-10 Thread Michael Käppler
Hi Jaap, as far as I understand, your first question is difficult to achieve, since the output definition blocks \layout, \midi are hardcoded in the parser. I think you would have to modify the parser to introduce a new \musicxml keyword. But maybe more experienced Lily hackers will correct

Re: Identifying Tonic in function & default lambda va

2019-12-18 Thread Michael Käppler
Hi Holleyanne, please always try to provide a complete (minimal) example which is ready to try it out. It is more likely then that somebody will respond to your question. An adapted version of your snippet is attached. First few remarks for providing optional arguments. In a simple (lambda)

Re: LSR contribution

2019-12-18 Thread Michael Käppler
So., 15. Dez. 2019 um 21:17 Uhr schrieb Michael Käppler : Hi all, a few days ago I submitted a snippet to the LSR (title "Coloring successive intervals"). I can see it in the snippet database, but not in the webpage. The "Contributing" section of LSR states, that: "Once

Re: LSR contribution

2019-12-20 Thread Michael Käppler
verbose now, which makes the flow of information and control clearer I hope. Please let me know what you think about it. Cheers, Michael Am 16.12.2019 um 01:50 schrieb Thomas Morley: Am So., 15. Dez. 2019 um 21:47 Uhr schrieb Thomas Morley : Am So., 15. Dez. 2019 um 21:17 Uhr schrieb Michael

Re: LSR contribution

2019-12-20 Thread Michael Käppler
chrieb Thomas Morley: Am So., 15. Dez. 2019 um 21:47 Uhr schrieb Thomas Morley : Am So., 15. Dez. 2019 um 21:17 Uhr schrieb Michael Käppler : Hi all, a few days ago I submitted a snippet to the LSR (title "Coloring successive intervals"). I can see it in the snippet database, but no

Re: Clef "treble_8"

2020-02-10 Thread Michael Käppler
Am 10.02.2020 um 22:09 schrieb Noeck: The case of the spacing overview is similar. The visual index is created from a LilyPond source code. If I (or someone) finds a way to create a clickable SVG file from it, one could include it into HTML and make it blend much better into the/a documentation

Re: LSR contribution

2020-02-10 Thread Michael Käppler
Am 10.02.2020 um 20:51 schrieb Thomas Morley: Am Mo., 10. Feb. 2020 um 10:11 Uhr schrieb Michael Käppler : Hi Harm, Fine with me, I already updated the LSR-code, for now unapproved. Please have a look whether all is ok, snippet-description and the like. Everything ok now, please approve

Re: LSR contribution

2020-02-10 Thread Michael Käppler
Am 10.02.2020 um 10:10 schrieb Michael Käppler: Do you have any idea how to preserve indentation within blocks? Inserting or the like seems hacky, inline-css-styling too... Ok, found out that the combination of and tags does work well for that purpose. Probably one suggestion: How

Re: LSR contribution

2020-02-05 Thread Michael Käppler
/last-grobs/pitches/... Not sure if you like this change. I like it for less code duplication... Hi Michael, Am Fr., 27. Dez. 2019 um 16:12 Uhr schrieb Michael Käppler : Hi Harm, thanks for your comments and this inspiring discussion! me too! Iiuc, you want to keep the possibility the user

Re: LSR contribution

2020-02-10 Thread Michael Käppler
Hi Harm, Fine with me, I already updated the LSR-code, for now unapproved. Please have a look whether all is ok, snippet-description and the like. Thank you for updating! Will update the description this evening. Do you have any idea how to preserve indentation within blocks? Inserting or

Re: Clef "treble_8"

2020-02-10 Thread Michael Käppler
Am 10.02.2020 um 16:56 schrieb Noeck: If you don’t know what to look for to find the name, this page could help: https://joramberger.de/files/lilypond_visualindex.pdf Wow, this is pretty cool! Why isn't this part of the official docs? Cheers, Michael HTH, Joram

Re: Getting readline to work in scheme-sandbox

2020-01-15 Thread Michael Käppler
nd scheme-sandbox.ly The log file is attached. --- Knute Snortum (via Gmail) On Tue, Jan 14, 2020 at 8:47 AM Michael Käppler wrote: This is weird. Seems that strace does not recognize the shebang in the lilypond script. Could you please to try to execute the steps in the startup script directl

  1   2   >