Re: How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
OK, got an idea: \ottava #1 c'1 \ottava #0 \ottava #1 \set Staff.ottavation = #"8va" c'1 \ottava #0 It's not 100% elegant, but aceptable, I think. --Karol 2017-07-25 16:32 GMT+02:00 Kieren MacMillan : > Hi Karol, > > > Sometimes you want to have two independent

Re: How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
OK, got an idea: \ottava #1 c'1 \ottava #0 \ottava #1 \set Staff.ottavation = #"8va" c'1 \ottava #0 It's not 100% elegant, but aceptable, I think. --Karol 2017-07-25 16:06 GMT+02:00 Simon Albrecht <simon.albre...@mail.de>: > On 25.07.2017 16:00, Karol Majewski wrote: &g

How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
Hi, how to break ottava bracket beteween bars? The following gives me one continuous bracket \ottava #1 c'1 \ottava #0 \ottava #1 c'1 \ottava #0 --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
bracket looks stupid, doesn't it? Is there more elegant way to break it? spacer rest does the job, but this solution is a bit artificial. --Karol 2017-07-25 16:06 GMT+02:00 Simon Albrecht <simon.albre...@mail.de>: > On 25.07.2017 16:00, Karol Majewski wrote: > >> Hi, how t

How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
Hi, how to break ottava bracket beteween bars? The following gives me one continuous bracket \ottava #1 c'1 \ottava #0 \ottava #1 c'1 \ottava #0 --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

grouping in 6/8

2017-04-23 Thread Karol Majewski
Hi, which grouping is better: 6/8: c16 c16 c16 c8.~ c4. or 6/8: c16 c16 c6 c16~ c8~ c4. Couldn't find the answer in "Behind Bars". -Best KM ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Odp: Incorrect note alignment

2016-11-16 Thread Karol Majewski
In traditional engraving note heads are aligned to their left. Take a look at this excerpt from Monnlight Sonata by Henle Verlag. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Tie settings question

2016-10-26 Thread Karol Majewski
OK, I resign. But stil I don't get something in the code you posted yesterday: % raiseTie = #(lambda (grob) (let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties))) (notehead (ly:spanner-bound (car ties) LEFT)) (stem (ly:grob-object notehead 'stem))

Re: Tie settings question

2016-10-26 Thread Karol Majewski
OK, David, so let's move one square backward and try to use staff-position. The following code does compile but doesn't do what I want. Perhaps what I'm trying to achieve is just not possible. %% tweakTie = #(lambda (grob) (let* ((ties (ly:grob-array->list

Re: Tie settings question

2016-10-25 Thread Karol Majewski
Here's full code. It's important to applay my tie settings. In the following example the third tie should be lowered by 0.25. tweakTie = #(lambda (grob) (let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties))) (notehead (ly:spanner-bound

Re: Tie settings question

2016-10-25 Thread Karol Majewski
I think I don't have to compare dot.staff-position and notehead.staff-position. I can simply check if Dots.direction is 1 or -1. Still I'm doing something wrong here: tweakTie = #(lambda (grob) (let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties)))

Re: Tie settings question

2016-10-25 Thread Karol Majewski
OK, I've added this. Stem-dir is no longer needed. It doesn't work. I think something is wrong with notehead definition: tweakTie = #(lambda (grob) (let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties))) (notehead (ly:spanner-bound (car

Re: Tie settings question

2016-10-25 Thread Karol Majewski
Now I realised that, according to my concept, tie should be lowered not only when (stem-direction == UP && tie-direction == UP && note-has-a-dot == true) but also when notehead is placed on staff-line and not on staff-space. In other words - when a dot is placed not on the same staff-position

Odp: Re: Tie settings question

2016-10-25 Thread Karol Majewski
OK, David, I've combined everything. Hopefully everything is fine now. Here it is: tweakTie = #(lambda (grob) (let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties))) (notehead (ly:spanner-bound (car ties) LEFT)) (stem

Re: Tie settings question

2016-10-25 Thread Karol Majewski
OK, I'm trying to write something like this in scheme: if (stem-direction == UP && tie-direction == UP && note-has-a-dot == true) { \once \override Tie.details.skyline-padding = #5 \once \override Tie.Y-offset = #-0.25 } Please, David or Harm, correct my mistakes. So far I've got this:

Re: convert-ly usage question

2016-10-24 Thread Karol Majewski
Hi Simon, does convert-ly work for you when you try to update any single file? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Tie settings question

2016-10-24 Thread Karol Majewski
This is fine now. Thx, David. I work really hard to make LilyPond ties look the way I want. My current settings are the following: \override Tie.details.height-limit = #1.25 \override Tie.details.ratio = #0.25 \override Tie.details.between-length-limit = #1 \override

Re: Tie settings question

2016-10-22 Thread Karol Majewski
Hi David, when a chord doesn't have a flag, then your code doesn't work. Just replace 8~ with 4~ and it won't compile. Perhaps there should be a condition in your code: "if a note has a a flag then set Flag.Y-extent to (4 . 0)". Or maybe there is a better way to fix this? >

Odp: Re: Tie settings question

2016-10-22 Thread Karol Majewski
Aha, I get it. Thanks for the lesson. It seems I have to study scheme tutorial deeply... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Tie settings question

2016-10-22 Thread Karol Majewski
Now I try to change Flag.Y-extent value in chords to: \override Flag.Y-extent = #'(4 . 0) Got this, but it doesn't work. What am I doing wrong? evenTies = #(lambda (grob) (let ((ties (ly:grob-array->list (ly:grob-object grob 'ties (if (> (length

Re: Tie settings question

2016-10-21 Thread Karol Majewski
Yes, now it does what I want. Thx a lot. This is the final code - without color indicators: hint = \override TieColumn.before-line-breaking = #(lambda (grob) (let ((ties (ly:grob-array->list (ly:grob-object grob 'ties (if (> (length ties) 1) (for-each (lambda (tie)

Re: Tie settings question

2016-10-21 Thread Karol Majewski
OK, this does change skyline-padding in chords, but unfotunately it also changes skyline-padding between single notes (see example: c'8~ c'4). I'd like tied chords to have different skyline-padding value than tied single notes. hint = \override TieColumn.before-line-breaking = #(lambda

Tie settings question

2016-10-20 Thread Karol Majewski
Hi, I'd like my ties to have different settings when being a part of TieColumn. For example: By default Tie.details.skyline-padding is set to 0.05, which is a good value. Now, for ties that are part of TieColumn (when connecting chords) I'd like to use different value of skyline-padding, let's

Horizontal spacing - How to prevent compressing while allowing stretching?

2016-10-09 Thread Karol Majewski
Hi, I have question related to horizontal spacing. When ragged-right is set to false (default) LilyPond either stretches a line (system) or compresses it. I'd like to modify this behaviour so that LilyPond only stretches a line, but never compresses it. I don't want my spacing to be tighter

Re: note stem problem

2016-03-06 Thread Karol Majewski
You should put the first bracket _after_ the first note:   \version "2.19.0"  \relative c {        \key c \major   \clef "bass_8"   r4 bes, bes'8[ e,] (e) g, }   --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: note stem problem

2016-03-06 Thread Karol Majewski
Hmmm... you can't beam quarter note with eight note since quarter note doesn't have a beam.   ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Whiteout box function by Thomas Morley / need help

2016-03-06 Thread Karol Majewski
Hi Andrew,   basically, this function allows to adjust the size of the whiteout box. It is especially useful in handling DynamicText-SpanBar collisions. Read the whole topic here:   http://lilypond.1069038.n5.nabble.com/Whiteout-box-function-by-Thomas-Morley-need-help-td161262.html   As for

Re: Whiteout box function by Thomas Morley / need help

2016-03-06 Thread Karol Majewski
OK, it seems that \override DynamicLineSpanner.vertical-skylines = #'() does the job.   There is an issue with DynamicText placed at the end of hairpin.   If DynamicText is placed after the end of hairpin and some extraWhiteout is added to the left of DynamicText then the whole DynamicText is

Re: Whiteout box function by Thomas Morley / need help

2016-03-05 Thread Karol Majewski
There is an issue with DynamicText placed at the end of hairpin.   If DynamicText is placed after the end of hairpin and some extraWhiteout is added to the left of DynamicText then the whole DynamicText is shifted to the right.   I want DynamicText to stay centered below note. Any suggestions are

MinGW Runtime Assertion error

2016-03-05 Thread Karol Majewski
Hi. The following code gives error. What am I doing wrong? BEGIN== \version "2.19.37" PS = #(ly:make-stencil (list 'embedded-ps "gsave currentpoint translate newpath 0.125 setlinewidth 0.0625 -0.5 moveto 0.0625

proper beaming question

2015-12-05 Thread Karol Majewski
By default, LilyPond's beaming of eight rest and three eight notes in 4/4 meter is: r8 c'8[ c'8 c'8] E. Gould on p. 164 states that: Rhythmic figures that are not part of a repeated pattern may be best beamed into separate beats, so that they are not mistaken for triplets nor fot groups of

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Paul, I,ve came up with this, but it doesn't help. Is setting baseline-skip to 0 only way? BEGIN #(define (customTimeSignature grob) (let* ((sz (ly:grob-property grob 'font-size 0.0)) (mult (magstep sz)) (fraction (ly:grob-property grob 'fraction))

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Yes, this is what I'm trying right now :) Probably I'll stick to that, as it's the most natural way of changing the font. Thanks. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Odp: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
OK, so with abs-fontsize it scales properly, but if I set global staff size _higher_ than default (20) then it doesn't scale. % BEGIN %% #(define (customTimeSignature grob) (let* ((sz (ly:grob-property grob 'font-size 0.0)) (mult (magstep sz)) (fraction

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Yes, Abraham, I've tried this. But the drawback of this solution is thet it doesn't scale to bigger staff size. Try: #(set-global-staff-size 26) and you'll get what I mean. -- Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Odp: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
I'd like to avoid setting baseline-skip to 0, as it results in specing issues between num and denom (denom is bit misaligned vertically). ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Abraham, I'll try to explain why setting baseline-skip to 0 is a bad idea here. Take a look at the attachment. This is what is happening if you set baseline-skip to 0. In case of some other fonts difference between 'a' and 'b' is more noticeable. So we need to have baseline skip set to 2 to have

What happened to whiteout?

2015-07-10 Thread Karol Majewski
For some reason this gives horrible output: =BEGIN \version 2.19.22 one = { \clef treble \key c \major \time 2/4 \tempo Andantino a'2 _\markup { \whiteout \pad-markup #0.5 { \dynamic p \italic dolce } } a'2 } two = { \clef bass \key c \major \time 2/4 c2 c2 }

Re: Making Feta number glyphs monospaced (tabular)

2015-05-17 Thread Karol Majewski
I was thinking of changing side bearings only. I looked into *.mf files of Feta and noticed that there is some kerning data applied to number glyphs. So I would: 1) remove kerning 2) set the same glyph width for all numbers. And I wonder how time signatures like 12/16 are aligned in

Making Feta number glyphs monospaced (tabular)

2015-05-17 Thread Karol Majewski
Recently I had to use meter 11/16 and noticed that Feta numerals are not monospaced - they are not aligned vertically. I would consider modifying Feta number glyphs so that each of them have the same width. Any thoughts on this? -- Karol ___

Breaking news: kerning on Windows does work now!

2015-04-06 Thread Karol Majewski
I want to say big 'Thank You' to Masamichi Hosoda, who managed to fix this nasty bug! Issues 2656 and 2657 can be marked as 'Fixed' now :) - Karol ___ lilypond-user mailing list lilypond-user@gnu.org

how to compile many .ly files with one command

2014-09-30 Thread Karol Majewski
Hi I have over 50 .ly files in one directory. Compiling them with: lilypond file1.ly lilypond file2.ly etc... ... is very time consuming ;) Is there something like: 'lilypond all'? --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: how to compile many .ly files with one command

2014-09-30 Thread Karol Majewski
Ahhh, thanks. It's so simple. It works both on Windows and Linux. BTW. it should documented in '1.2 Command-line usage', shouldn't it? --Karol ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Monospaced / Tabular figures in LilyPond

2014-09-24 Thread Karol Majewski
In some fonts default spacing format for figures is set to proportional, which means that numerals have variable spacing - depending on glyph width. I'd like to change the format to tabular, so that numerals are monospaced. This is typical OpenType feature. In XeLaTeX I can do this via:

Re: \override #'(font-series . medium) doesn't work anymore?

2014-09-19 Thread Karol Majewski
Once you have medium fonr installed on your system, \medium command should work, but it doesn't, and that's the point. In my example I use Ubuntu typeface, because this tyoeface has medium weight. Did you and Karol expect “medium” to be something other than “normal”? Of course medium should

Re: \override #'(font-series . medium) doesn't work anymore?

2014-09-19 Thread Karol Majewski
OK, so having read what Abraham wrote, I'll put my question in other way: Is there any typeface that works in LilyPond with \medium command? I haven't found any... -- Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: \override #'(font-series . medium) doesn't work anymore?

2014-09-19 Thread Karol Majewski
Exactly! This is what \medium should work like, isn't it? -- Karol Karol, Do you mean that you want a slightly heavier look than "Regular" or "Book" but not "Bold", more like a semi-bold? -Abraham ___ lilypond-user mailing list

Re: \override #'(font-series . medium) doesn't work anymore?

2014-09-19 Thread Karol Majewski
Just like that! I do know that font-name works, but having \medium command working would be nice. Like the attached? \version 2.19.15 \markup { \box \abs-fontsize #48 \override #'(font-name . Ubuntu) bar } \markup { \box \abs-fontsize #48 \override #'(font-name . Ubuntu Medium)

\override #'(font-series . medium) doesn't work anymore?

2014-09-18 Thread Karol Majewski
\override #'(font-series . medium) or \medium None of them work. Bug? \version 2.19.14 \paper { #(define fonts (make-pango-font-tree Ubuntu (/ staff-height pt 20))) } \markup { \sans foo } \markup { \sans \bold foo } \markup { \sans \medium foo } -- Karol

Re: \override #'(font-series . medium) doesn't work anymore?

2014-09-18 Thread Karol Majewski
The point is that LilyPond doesn't recognize medium font-series. When you set font-series to bold, everything's fine. Does this work? \paper { #(define fonts (set-global-fonts #:sans Ubuntu )) } I don't have 2.19.14 installed but afaik the code for setting the global

wrong page-number position in 2.19.14

2014-09-16 Thread Karol Majewski
I noticed that in 2.19.14, page numbers in oddHeaderMarkup are center-aligned, while in evenHeaderMarkup - left-aligned. This looks strange. Bug? { c'1 \pageBreak c'1 \pageBreak c'1 \pageBreak c'1 \pageBreak c'1 \pageBreak } -- Karol ___

define-vstrut-markup ?

2014-09-07 Thread Karol Majewski
Hi So far I have this: #(define-markup-command (vstrut layout props) () (let ((ref-mrkp (interpret-markup layout props #9608;))) (ly:make-stencil (ly:stencil-expr empty-stencil) empty-interval (ly:stencil-extent ref-mrkp Y How can I create

Re: define-vstrut-markup ?

2014-09-07 Thread Karol Majewski
Works! Thanks! #(define-markup-command (strut layout props text) (markup?) (interpret-markup layout props #{ \markup \concat { \vstrut #text } #})) --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: a thank you :)

2014-08-17 Thread Karol Majewski
Yeah... just imagine where would be LilyPond without David we would probably still use 2.12 ;) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: notation rule question

2014-07-23 Thread Karol Majewski
And how to divide this: c4 c8 c8~ c4 c4 or c4 c8 c4. c4 Again - couldn't find such rhythmic structure in my collection of hand engraved scores. --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: something's wrong with \unset Score.proportionalNotationDuration

2014-07-23 Thread Karol Majewski
Aha, thanks for explanation. Anyway, this behavior of Lily is confusing. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: notation rule question

2014-07-23 Thread Karol Majewski
Thanks David, but you answered an old question :) My current question is related to: c4 c8 c8~ c4 c4 vs c4 c8 c4. c4 --Karol ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

something's wrong with \unset Score.proportionalNotationDuration

2014-07-22 Thread Karol Majewski
\version 2.19.10 { \set Score.proportionalNotationDuration = #(ly:make-moment 1/32) \repeat unfold 32 { f'32 } \newSpacingSection \unset Score.proportionalNotationDuration f'4 f'4 f'4 f'4 } Look at the huge gap between first two quarter notes. Bug? --Karol

automaticMelismata

2014-07-21 Thread Karol Majewski
Hi, how can I disable automatic melismatas on slurs? I remember that there was automaticMelismata but no longer it seems to be working. --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

absolute baseline-skip

2014-07-20 Thread Karol Majewski
Hi, I'm trying to redefine abs-fontsize from define-markup-commands.scm, so that baseline-skip is also absolute. Current behavior is that with abs-fontsize, baseline-skip scales to global-staff-size, which I don't like. I know that there was attempt made by Nicolas Sceaux

How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Karol Majewski
Hi, I'm having a hard time trying put all RehearsalMarks on their own horizontal line. This is an example: %% \version 2.19.10 global = { \time 3/4 \tempo Allegro s1*3/4*2 } part = { \clef treble c'4 \mark \default d'4 e'4 c'4 \mark \default d'4 e'4 }

Re: How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Karol Majewski
See Vertical collision avoidance in the NR: \score { \new Staff \override Score.RehearsalMark.outside-staff-priority = #0 \global \part } Hi Phil, I tried that before, but this solution has one drawback: rehearsal marks are _below_ tempo marks. And I want to place them _above_

Re: How to put RehearsalMarks on their own horizontal line?

2014-07-15 Thread Karol Majewski
Very nice, Kieren! But still there are some issues: 1) place the first \mark at the begin and you'll get an error: programming error: cyclic chain in pure-Y-offset callbacks 2) Take a look at this example: %%% \version 2.19.10 \layout { \context { \type Engraver_group

partial in the middle of piece

2014-06-15 Thread Karol Majewski
The following gives warning: warning: barcheck failed at: 3/4 http://lilypond.1069038.n5.nabble.com/Partial-measures-in-middle-of-score-td154007.html https://code.google.com/p/lilypond/issues/detail?id=3645 Is this is related to 3645? \version 2.19.7 upper = { \time 4/4 \partial 4 c'4

Re: Whiteout box function by Thomas Morley / need help

2014-06-14 Thread Karol Majewski
Done! :-) moreWhiteout =#(define-music-function (parser location adds item)(pair? symbol-list-or-music?) (define more-stencil-whiteout (lambda (grob) (let* ((function (assoc-get 'stencil (reverse (ly:grob-basic-properties grob (stil (if (and (procedure? function) (not (eq? (procedure-name

Re: Whiteout box function by Thomas Morley / need help

2014-06-13 Thread Karol Majewski
Thanks, David. I've looked into this, but have no idea what's going on there. Here's crippled version of extraWhiteout function - works only for TextScript and allows to set X-extent only. But still don't know how to turn this into \tweak. extraWhiteout =#(define-music-function (parser location

Re: Slur crossing through accidental

2014-06-12 Thread Karol Majewski
Hi, James How about: \override Slur.details.accidental-collision = #1000 ? I am at a complete loss what to do about this slur. It collides with the b-flat's accidental in a way that makes it hard to see what the slur is supposed to be. \version 2.18.2 \language english \relative c {

Odp: Slur crossing through accidental

2014-06-12 Thread Karol Majewski
And of course you have to increase region size. So it should be: \override Slur.details.region-size = #5 \override Slur.details.accidental-collision = #1000 --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Whiteout box function by Thomas Morley / need help

2014-06-12 Thread Karol Majewski
I'm trying to make this function work via \tweak. Grob-name string is no longer needed. The following code doesn't work. Perhaps I missed something that is obvious to schemers. Any ideas are welcome. moreWhiteout = #(define-music-function (parser location adds)(pair?) (define

Re: Dynamic text/staff symbol overlap

2014-06-05 Thread Karol Majewski
Of course it is DynamicText. try: \once \override DynamicText.extra-offset = #'(-1 . -1) Karol - Original Message - From: Simon Albrecht To: lilypond user list Sent: Thursday, June 05, 2014 8:57 PM Subject: Dynamic text/staff symbol overlap Hello,in places with tight vertical

Re: Dynamic text/staff symbol overlap

2014-06-05 Thread Karol Majewski
And how about: \version "2.19"\relative {\once \override DynamicLineSpanner #'Y-offset = #'2.5\once \override DynamicLineSpanner #'outside-staff-priority = ##fc'^\f} Karol Am 05.06.2014 22:17, schrieb Karol Majewski: Of course it is DynamicText. try: \once

How to prevent slur from breaking?

2014-05-03 Thread Karol Majewski
Hi. When it comes to create slur over repeat (volta), I use this trick: http://lilypond.org/doc/v2.19/Documentation/notation/modifying-shapes#modifying-ties-and-slurs (see: Specifying control points explicitly) But when slur is created just before line break, it appears also in the next

Odp: How to prevent slur from breaking?

2014-05-03 Thread Karol Majewski
OK, so I've tried: \alterBroken transparent #'(#f #t) Slur and it works quite well. The only problem is that transparent object is still there, therefore takes space. Better solution would be: \alterBroken stencil #'(#t #f) Slur But It doesn't work...

Re: How to prevent slur from breaking?

2014-05-03 Thread Karol Majewski
Thanks Harm! \omitLastBrokenSlur is what I need! Anathoer useful command to my collection :-) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: whole page rotated

2014-05-03 Thread Karol Majewski
Harm, and what if I don't want to rotate my note head along with stem-dir? How to modify your code then? Some note heads look beeter when they are not being rotated. If you only want noteheads of doThin-type, try: \version 2.18.0 #(define nhg (lambda (grob) (let* ((stil

Re: whole page rotated

2014-05-03 Thread Karol Majewski
OK, I made it. I think I begin to understand scheme :-) #(define nhg (lambda (grob) (let* ((stil (ly:note-head::print grob)) (dur-log (ly:grob-property grob 'duration-log)) (nh-id-nr (if (= dur-log 2) 2 1))

Odp: Left hand/right hand editorial annotation

2014-05-01 Thread Karol Majewski
Hi Thomas. What you mean is probably so called other-hand bracket. This feature has been requested many times, but so far there is no ultimate solution. See this: http://lilypond.1069038.n5.nabble.com/missing-feature-piano-hand-brackets-td41551.html

slur slope question

2014-04-30 Thread Karol Majewski
Please, take a look at the attachment. This is excerpt from one the old Henle Verlag editions. Although slur goes from bes to bes, it is sloped - because of staccato. And it looks absolutely fine. Now, look how LilyPond handles this: { bes8 ( d'16 c'16 bes4 -. ) } Here, there is this gap

Odp: How to create a text spanner with a half arrow on right side

2014-04-30 Thread Karol Majewski
\override TextSpanner.bound-details.right.text = \markup { \postscript #samplePath } --Karol I am trying to create a text span solid line that ends with just 1/2 of an arrowhead on the right side. Is there a way to set a graphic, something simple like ... samplePath = #'((moveto 0 0)

Odp: How to create a text spanner with a half arrow on right side

2014-04-30 Thread Karol Majewski
And of course: samplePath = # 0 0 moveto 2 0 lineto 0 1 lineto closepath fill stroke ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Whiteout box function by Thomas Morley / need help

2014-04-25 Thread Karol Majewski
Hi Harm. This is quite an impressive piece of code! So far everything is fine :-) Thank you very much. It should be added to LSR, I think. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Whiteout box function by Thomas Morley / need help

2014-04-21 Thread Karol Majewski
Although I know nothing about scheme, I've managed to slim down this function, so that there are no optional arguments. Now I'll try to find out why it doesn't work for DynamicText grob. Harm, thanks in advance for any hints. Perhaps we can mix your function with flexible-stencil-whiteout (see

Re: Whiteout box function by Thomas Morley / need help

2014-04-21 Thread Karol Majewski
Harm, this change is related to issue 621: http://code.google.com/p/lilypond/issues/detail?id=621 Now, I do not accept this solution. It is simply against the rules. DynamicText shouldn't have influence on spacaing. Therefore I prefer whiteout. So I use: \context { \Staff \override

Odp: too wide score after upgrading 2.18.1 to 2.18.2

2014-04-20 Thread Karol Majewski
Hi Marcin. There was this big spacing issue 3304, which was fixed between 2.18.1 and 2.18.2. https://code.google.com/p/lilypond/issues/detail?id=3304 I think this could be the reason. --Karol Hi After upgrading to 2.18.2 I noticed that scores are engraved with more space, causing

Re: Whiteout box function by Thomas Morley / need help

2014-04-09 Thread Karol Majewski
Hi Harm Function you wrote few days ago works for TextScript but not for DynamicText: \moreWhiteout DynamicText #'(7 . 0) c'1 And only X-offset is added to DynamicText. --Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Whiteout box function by Thomas Morley / need help

2014-04-09 Thread Karol Majewski
The following: { \moreWhiteout DynamicText #'(2 . 0) c'1 \f } gives: warning: DynamicText has empty extent and non-empty stencil. warning: Not drawing a box with negative dimension, -0.74 by 2.59. Warnings dissapear when \f is replaced by \mf. -Karol Hi Harm Function you wrote few days

center align dynamics issue

2014-04-08 Thread Karol Majewski
Hi \version 2.19.4 { c'' d'' \mf } Here, dynamic mark is centered on 'c'. Shouldn't it be cented on main column ('d') by default? If so, is there a bug raport on this issue? Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Odp: center align dynamics issue

2014-04-08 Thread Karol Majewski
OK, got it: http://code.google.com/p/lilypond/issues/detail?id=2245 Hi \version 2.19.4 { c'' d'' \mf } Here, dynamic mark is centered on 'c'. Shouldn't it be cented on main column ('d') by default? If so, is there a bug raport on this issue? Karol

Odp: center align dynamics issue

2014-04-08 Thread Karol Majewski
Seems that solution given by David Nalesnik: http://code.google.com/p/lilypond/issues/attachmentText?id=2245aid=22450001000name=atest-09.lytoken=vtUjpiq5vmGAgIRRqIpMxfhpYmg%3A1396976425593 has one drawback. When dynamic text is assigned to whole measure rest, the file won't compile. Is this

Re: Whiteout box function by Thomas Morley / need help

2014-04-07 Thread Karol Majewski
Thanks again Harm. This is very useful function. Hopefully I'm not the only one who appreciates it. Hi Karol, below the revised function. 'moreWhiteout' takes one optional and two normal arguments: Specifying whether the stencil should be boxed (boolean), which grob (string) and the

Re: Whiteout box function by Thomas Morley / need help

2014-04-06 Thread Karol Majewski
Thanks Harm. In SpanBar-Dynamics conflict I still prefer whiteout over DynamicText.extra-spacing-width = ##f. The only problem is that sometimes whiteout box does not cover the whole barline width. Function I'm asking for would allow to control the width of whiteout box. BTW, In documentation

Whiteout box function by Thomas Morley / need help

2014-04-05 Thread Karol Majewski
This is a function written by Thomas Morley. It allows to control width and height of whiteout box. Now I want to modify this function to make it work like: \dynamicTextWhiteout #'(1 . 2) where: - first number is LEFT X-extent - second number is RIGHT X-extent I don't need Y-extent at all.

2.19.4 - when?

2014-03-31 Thread Karol Majewski
Hi. Can we expect 2.19.4 today? I guess it's about time. It's been a month since last development release. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Does 'strut' command work in LilyPond?

2014-03-30 Thread Karol Majewski
OK, so the question is: Is there a way to create box that has height of total font height? By total font height I mean the distance between bottom bearing line and top bearing line (see http://www.myfirstfont.com/images/glyphterms.gif). The idea is of course to have constant height of box,

Re: Does 'strut' command work in LilyPond?

2014-03-30 Thread Karol Majewski
Very nice workaround! For Cental Europe languages it's better to replace fp with, let's say, Śp. 2014-03-30 0:35 GMT+01:00 Karol Majewski karo...@wp.pl: According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other \strut Create a box of the same height as the space

Does 'strut' command work in LilyPond?

2014-03-29 Thread Karol Majewski
According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other \strut Create a box of the same height as the space in the current font. So \markup { \strut \box . } \markup { \strut \box bp } should draw a box with constant height. But it doesn't. Maybe I'm doing something

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Karol Majewski
I tried different order, but it didn't work. Could you please give an example of how to use 'strut' properly? Dnia 30-03-2014 o godz. 0:57 David Kastrup napisał(a): Karol Majewski karo...@wp.pl writes: According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other

articulation script vertically centered between staff lines.

2014-03-10 Thread Karol Majewski
Hi In the following example, I want to change vartical position of the second staccato, so that it's ideally centered between 3rd and 4th staff line. I could override Y-offset or extra-offset, but then I have to know the right integer. Is there any general solution to this? \version 2.19.3

whole page rotated

2014-03-04 Thread Karol Majewski
Hi, In the following code, I want to rotate custom note head. To my suprise, this code makes the whole page rotated if there is a line break. What I'm I doing wrong? #(define nhg (lambda (grob) (if (= 2 (ly:grob-property grob 'duration-log)) (begin (let* ((stem

Re: whole page rotated

2014-03-04 Thread Karol Majewski
Hi Harm, this is nice workaround, indeed. But how can I modify it to have different glyph for each duration-log? The original code was: #(define nhg (lambda (grob) (if (= 2 (ly:grob-property grob 'duration-log)) (begin (let* ((stem (ly:grob-object grob

  1   2   >