Re: 2.19.59: Bad horizontal spacing when \override LyricText#'X-offset

2021-04-05 Thread Dmytro O. Redchuk
Thank you for the link to the new issue tracker, I've missed it.)

сб, 3 квіт. 2021 о 13:58 Hans Aikema  пише:
>
>
> On 2 Apr 2021, at 21:46, Dmytro O. Redchuk  wrote:
>
> Hi,
>
> as for me, this issue has been fixed in 2.22 in some way.
>
> https://sourceforge.net/p/testlilyissues/issues/5129/
>
>
> Hi Dmytro,
>
> Matches with the new issue-tracker for lilypond: 
> https://gitlab.com/lilypond/lilypond/-/issues/5129
>
> Was apparently fixed with the unstable release 2.21.2 so that it landed in 
> the 2.22 stable release.
> If you have any other issues on sourceforge that you're watching/following 
> it's best to follow the corresponding gitlab issues as that's where the 
> development team & bug squad team moved them to and nowadays track them 
> (http://lilypond.org/bug-reports.html).
>
> regards,
> Hans
>
>
>


-- 
  Dmytro O. Redchuk



Re: 2.19.59: Bad horizontal spacing when \override LyricText#'X-offset

2021-04-02 Thread Dmytro O. Redchuk
Hi,

as for me, this issue has been fixed in 2.22 in some way.

https://sourceforge.net/p/testlilyissues/issues/5129/

пн, 16 бер. 2020 о 19:59 Dmytro O. Redchuk  пише:
>
> Hi,
>
> unfortunately (for me at least), this regression persists in 2.20.0 too.
>
> Thank you anyway, lilypond is really great :)
>
> вт, 2 лип. 2019 о 09:13 Dmytro O. Redchuk  пише:
> >
> > Thank you, Pierre, for your suggestion.
> >
> > Unfortunately it is not always possible, there might be some
> > "Pneumonoultramicroscopicsilicovolcanoconiosis" instead of "Блаженні
> > голодні й спрагнені правди". And the more syllables collected in one
> > with quotes, the more visible this regression is.
> >
> > Thank you anyway, i will test more.
> >
> > On Mon, Jul 1, 2019 at 5:18 PM Pierre Perol-Schneider
> >  wrote:
> > >
> > > Hi Dmytro,
> > >
> > > Not nice but works:
> > >
> > > \version "2.19.83"
> > > {
> > >   r4
> > >   %a
> > >   a4*1/8 \hideNotes a a a a a a a\unHideNotes
> > >   a2 a4 a2 s4
> > > }
> > > \addlyrics {
> > >   \override LyricText #'X-offset = #0
> > >   Блаженні голодні й спрагнені правди, бо вони на -- си -- тять -- ся.
> > > }
> > >
> > > HTH, cheers,
> > > Pierre
> > >
> > > Le lun. 1 juil. 2019 à 15:06, Dmytro O. Redchuk  
> > > a écrit :
> > >>
> > >> Hi,
> > >>
> > >> is there any progress with this issue or any suggestions on how to 
> > >> workaround?
> > >>
> > >> Thanks.
> > >>
> > >> On Sat, Apr 29, 2017 at 11:53 PM Trevor Daniels  
> > >> wrote:
> > >> >
> > >> >
> > >> > Dmytro, you wrote Saturday, April 29, 2017 8:06 PM
> > >> >
> > >> > >> please, dear 'ponders, let me know what's wrong here in my email.
> > >> > >>
> > >> > >> Should I post this in bug-lilypond? Or is this spacing correct?
> > >> > > Oh SORRY, your replies were dropped by my gmail.
> > >> >
> > >> > No need to apologise.  We've noted this as a regression introduced
> > >> > in 2.19.10; see https://sourceforge.net/p/testlilyissues/issues/5129/
> > >> >
> > >> > If you have an earlier release available maybe that could be used as
> > >> > a work-around for this piece.  It seems unlikely there is an easy fix.
> > >> >
> > >> > Trevor

-- 
  Dmytro O. Redchuk



Re: 2.19.59: Bad horizontal spacing when \override LyricText#'X-offset

2020-03-16 Thread Dmytro O. Redchuk
Hi,

unfortunately (for me at least), this regression persists in 2.20.0 too.

Thank you anyway, lilypond is really great :)

вт, 2 лип. 2019 о 09:13 Dmytro O. Redchuk  пише:
>
> Thank you, Pierre, for your suggestion.
>
> Unfortunately it is not always possible, there might be some
> "Pneumonoultramicroscopicsilicovolcanoconiosis" instead of "Блаженні
> голодні й спрагнені правди". And the more syllables collected in one
> with quotes, the more visible this regression is.
>
> Thank you anyway, i will test more.
>
> On Mon, Jul 1, 2019 at 5:18 PM Pierre Perol-Schneider
>  wrote:
> >
> > Hi Dmytro,
> >
> > Not nice but works:
> >
> > \version "2.19.83"
> > {
> >   r4
> >   %a
> >   a4*1/8 \hideNotes a a a a a a a\unHideNotes
> >   a2 a4 a2 s4
> > }
> > \addlyrics {
> >   \override LyricText #'X-offset = #0
> >   Блаженні голодні й спрагнені правди, бо вони на -- си -- тять -- ся.
> > }
> >
> > HTH, cheers,
> > Pierre
> >
> > Le lun. 1 juil. 2019 à 15:06, Dmytro O. Redchuk  a 
> > écrit :
> >>
> >> Hi,
> >>
> >> is there any progress with this issue or any suggestions on how to 
> >> workaround?
> >>
> >> Thanks.
> >>
> >> On Sat, Apr 29, 2017 at 11:53 PM Trevor Daniels  
> >> wrote:
> >> >
> >> >
> >> > Dmytro, you wrote Saturday, April 29, 2017 8:06 PM
> >> >
> >> > >> please, dear 'ponders, let me know what's wrong here in my email.
> >> > >>
> >> > >> Should I post this in bug-lilypond? Or is this spacing correct?
> >> > > Oh SORRY, your replies were dropped by my gmail.
> >> >
> >> > No need to apologise.  We've noted this as a regression introduced
> >> > in 2.19.10; see https://sourceforge.net/p/testlilyissues/issues/5129/
> >> >
> >> > If you have an earlier release available maybe that could be used as
> >> > a work-around for this piece.  It seems unlikely there is an easy fix.
> >> >
> >> > Trevor
> >> >
> >> >
> >> > ---
> >> > This email has been checked for viruses by AVG.
> >> > http://www.avg.com
> >>
> >>
> >>
> >> --
> >>   Dmytro O. Redchuk
> >>
> >> ___
> >> lilypond-user mailing list
> >> lilypond-user@gnu.org
> >> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> --
>   Dmytro O. Redchuk



-- 
  Dmytro O. Redchuk



Re: 2.19.59: Bad horizontal spacing when \override LyricText#'X-offset

2019-07-02 Thread Dmytro O. Redchuk
Thank you, Pierre, for your suggestion.

Unfortunately it is not always possible, there might be some
"Pneumonoultramicroscopicsilicovolcanoconiosis" instead of "Блаженні
голодні й спрагнені правди". And the more syllables collected in one
with quotes, the more visible this regression is.

Thank you anyway, i will test more.

On Mon, Jul 1, 2019 at 5:18 PM Pierre Perol-Schneider
 wrote:
>
> Hi Dmytro,
>
> Not nice but works:
>
> \version "2.19.83"
> {
>   r4
>   %a
>   a4*1/8 \hideNotes a a a a a a a\unHideNotes
>   a2 a4 a2 s4
> }
> \addlyrics {
>   \override LyricText #'X-offset = #0
>   Блаженні голодні й спрагнені правди, бо вони на -- си -- тять -- ся.
> }
>
> HTH, cheers,
> Pierre
>
> Le lun. 1 juil. 2019 à 15:06, Dmytro O. Redchuk  a 
> écrit :
>>
>> Hi,
>>
>> is there any progress with this issue or any suggestions on how to 
>> workaround?
>>
>> Thanks.
>>
>> On Sat, Apr 29, 2017 at 11:53 PM Trevor Daniels  
>> wrote:
>> >
>> >
>> > Dmytro, you wrote Saturday, April 29, 2017 8:06 PM
>> >
>> > >> please, dear 'ponders, let me know what's wrong here in my email.
>> > >>
>> > >> Should I post this in bug-lilypond? Or is this spacing correct?
>> > > Oh SORRY, your replies were dropped by my gmail.
>> >
>> > No need to apologise.  We've noted this as a regression introduced
>> > in 2.19.10; see https://sourceforge.net/p/testlilyissues/issues/5129/
>> >
>> > If you have an earlier release available maybe that could be used as
>> > a work-around for this piece.  It seems unlikely there is an easy fix.
>> >
>> > Trevor
>> >
>> >
>> > ---
>> > This email has been checked for viruses by AVG.
>> > http://www.avg.com
>>
>>
>>
>> --
>>   Dmytro O. Redchuk
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user



-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.19.59: Bad horizontal spacing when \override LyricText#'X-offset

2019-07-01 Thread Dmytro O. Redchuk
Hi,

is there any progress with this issue or any suggestions on how to workaround?

Thanks.

On Sat, Apr 29, 2017 at 11:53 PM Trevor Daniels  wrote:
>
>
> Dmytro, you wrote Saturday, April 29, 2017 8:06 PM
>
> >> please, dear 'ponders, let me know what's wrong here in my email.
> >>
> >> Should I post this in bug-lilypond? Or is this spacing correct?
> > Oh SORRY, your replies were dropped by my gmail.
>
> No need to apologise.  We've noted this as a regression introduced
> in 2.19.10; see https://sourceforge.net/p/testlilyissues/issues/5129/
>
> If you have an earlier release available maybe that could be used as
> a work-around for this piece.  It seems unlikely there is an easy fix.
>
> Trevor
>
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com



-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.19.59: Bad horizontal spacing when \override LyricText #'X-offset

2017-04-29 Thread Dmytro O. Redchuk
2017-04-29 22:04 GMT+03:00 Dmytro O. Redchuk <brownian@gmail.com>:
>
> please, dear 'ponders, let me know what's wrong here in my email.
>
> Should I post this in bug-lilypond? Or is this spacing correct?
Oh SORRY, your replies were dropped by my gmail.

I am sorry, indeed )

Thank you :)

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.19.59: Bad horizontal spacing when \override LyricText #'X-offset

2017-04-29 Thread Dmytro O. Redchuk
28 квітня 2017 р. о 11:10 Dmytro O. Redchuk <brownian@gmail.com> написав:
> Hi,
Hi,

please, dear 'ponders, let me know what's wrong here in my email.

Should I post this in bug-lilypond? Or is this spacing correct?

>
> please take a look at this MWE:
>
> % --- 8< 
> \version "2.19.59"
>
> { r4 a a2 a4 a2 }
> \addlyrics {
>   \override LyricText #'X-offset = #0
>   "Блаженні голодні й спрагнені правди, бо вони на" -- си -- тять -- ся.
> }
> % --- 8< 
>
> I've attached images for 2.18.2, 2.19.59 and 2.19.59 with no \override.
>
> Please what's wrong here?
>
> If I missed something and that spacing should be treated in some
> special way for such rather extreme cases in 2.19?
>
> Or is there any issue/regression?
>
> Thanks!
>
> --
>   Dmytro O. Redchuk



-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


2.19.59: Bad horizontal spacing when \override LyricText #'X-offset

2017-04-28 Thread Dmytro O. Redchuk
Hi,

please take a look at this MWE:

% --- 8< 
\version "2.19.59"

{ r4 a a2 a4 a2 }
\addlyrics {
  \override LyricText #'X-offset = #0
  "Блаженні голодні й спрагнені правди, бо вони на" -- си -- тять -- ся.
}
% --- 8< 

I've attached images for 2.18.2, 2.19.59 and 2.19.59 with no \override.

Please what's wrong here?

If I missed something and that spacing should be treated in some
special way for such rather extreme cases in 2.19?

Or is there any issue/regression?

Thanks!

-- 
  Dmytro O. Redchuk
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't refer to variable directly after defining it

2017-04-24 Thread Dmytro O. Redchuk
% -- 8< --
foo = {c' c' c' c'}
{ \foo }
% -- 8< --

--- is ok.


soprano = { \soprano \anotherSoprano }
--- is ok also.

I mean:

% -- 8< --
soprano = \lyricmode {
  la -- la -- la
}

refrain = \lyricmode {
  ha -- ha -- ha
}

soprano = { \soprano \refrain }
% -- 8< --

--- will also be ok.

2017-04-23 0:50 GMT+03:00  <caag...@gmail.com>:
> 4On 04/22/17 23:47, Thomas Morley wrote:
>>
>> The reason for it: The parser needs to check whether there is
>> something else which needs to be added to the definition of 'foo',
>> (most common example for those stuff is 'addlyrics') or, something
>> else makes clear the declaration of 'foo' is complete.
>
>
> Ah, that makes sense. `fff = a''4 \fff` is a bit ambigous.
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user



-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ghostscipt failure 256

2017-04-06 Thread Dmytro O. Redchuk
2017-04-06 21:06 GMT+03:00 Dmytro O. Redchuk <brownian@gmail.com>:
> ps. I've googled a bit: it looks like it was known issue, that's a
> thread for example: https://bbs.archlinux.org/viewtopic.php?id=195031
Another example:
https://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00031.html

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ghostscipt failure 256

2017-04-06 Thread Dmytro O. Redchuk
2017-04-06 19:11 GMT+03:00 Pieter Terpstra <peter.terpst...@gmail.com>:
> That seems to be the issue in the title i used Morris Roman, which was no 
> problem before.
> Always have used custom fonts. Some other fonts aslo seem to work fine on 
> this file.
Does your 120-Arpeggios.ps looks good?

Does your logfile contain any errors during PS compiling stage?

Does `lilypond 120-Arpeggios.ly` produce good pdf with no any custom fonts?

ps. I've googled a bit: it looks like it was known issue, that's a
thread for example: https://bbs.archlinux.org/viewtopic.php?id=195031

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ghostscipt failure 256

2017-04-06 Thread Dmytro O. Redchuk
2017-04-05 22:31 GMT+03:00 Pieter Terpstra <peter.terpst...@gmail.com>:
>
> Dear people,
> With one file that i wanted to reedit today gives now a failure, it worked 
> fine in june, 2016.
Do you use any custom fonts in the .ly?

Have you tried lilypond -V 120-Arpeggios.ly ?

> Will not post it here because it is 1274 lines long.
>
> The log says this:
> Layout output to `120-Arpeggios.ps'...
> Converting to `./120-Arpeggios.pdf'...
> warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 
> -dDEVICEHEIGHTPOINTS=792.00 -
> dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite 
> -sOutputFile=./120-
> Arpeggios.pdf -c.setpdfwrite -f120-Arpeggios.ps)' failed (256)
>
> fatal error: failed files: "/home/neljor/LLP/Giuliani/Opus1/120-Arpeggios.ly"
> Exited with return code 1.
>
> Version ghostscript is 9.15, have also tried 9.20 with the same result.
> Lilypond version is  2.18.2
>
> Any ideas??
>
> Thank you so much in advance!
>
> Peter

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Style questions

2017-03-29 Thread Dmytro O. Redchuk
2017-03-29 8:46 GMT+03:00 Dmytro O. Redchuk <brownian@gmail.com>:
>> I have come across this reference, which claims to handle them,
>> but I have yet to try it out:
>>
>> https://github.com/wbsoft/lilymusic/blob/master/include/merge-rests.ily
> Oh, thank you, I have to try it too :)

There should be 1 in line 110
(https://github.com/wbsoft/lilymusic/blob/master/include/merge-rests.ily#L110)
for lilypond 2.18 (2.4 and up?)

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Style questions

2017-03-28 Thread Dmytro O. Redchuk
2017-03-28 18:16 GMT+03:00 David Wright <lily...@lionunicorn.co.uk>:
> because it doesn't handle whole-measure rests...or does it now?
No, it doesn't, indeed.

> I have come across this reference, which claims to handle them,
> but I have yet to try it out:
>
> https://github.com/wbsoft/lilymusic/blob/master/include/merge-rests.ily
Oh, thank you, I have to try it too :)

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Style questions

2017-03-28 Thread Dmytro O. Redchuk
2017-03-28 18:16 GMT+03:00 David Wright <lily...@lionunicorn.co.uk>:
>> Having abovementioned LSR snippet: here in Ukraine quarter rests in
>> the first measure should be merged, but in the second one upper voice
>> hsould be notated as r4 r e g and two quarter rests should not be
>> merged.
>
> Am I looking at the same image? I'm struggling to find anything
> that could be r4 r4 e4 g4 within it.
No, I mentioned the snippet image in LSR:
http://lsr.di.unimi.it/LSR/Item?id=336 --- just to note that local
rules may differ.

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Style questions

2017-03-28 Thread Dmytro O. Redchuk
2017-03-28 16:50 GMT+03:00 Guy Stalnaker <jimmyg...@gmail.com>:
> Oh, my! This is brilliant! I write mostly choral music and this will be
> invaluable! Much thanks.
Well, when you need two rests to remain separated, you can put in
either voice before that rest:

\once \override Staff.RestCollision.positioning-done = ##t

>
> Guy
>
> Guy Stalnaker
> jimmyg...@gmail.com

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Style questions

2017-03-28 Thread Dmytro O. Redchuk
Regarding the first question: Lilypond can merge rests "automagically"
--- http://lsr.di.unimi.it/LSR/Item?id=336 --- but it may depend on
local rules.

Having abovementioned LSR snippet: here in Ukraine quarter rests in
the first measure should be merged, but in the second one upper voice
hsould be notated as r4 r e g and two quarter rests should not be
merged.

2017-03-28 12:09 GMT+03:00 Menu Jacques <imj-...@bluewin.ch>:
> Hello folks,
>
> Two questions about the display style for Recordare's Binchois20.xml file:
>
> - should there be only one set of quarter rests under (CT.) in the lower
> staff, and if so, how can that be done (i.e. to « mask » a rest in a voice
> if there’s already one at the same point in another voice in the same
> staff)? Finale does so;
>
> - would it be better to swap voices for the f and a quarter notes in the
> last measure (Finale does so too). I’m no keyboard player unfortunately, and
> I guess that players don’t take voices numbers into account as we do when
> using Lilypond or other scoring software.
>
> Thanks for your help!
>
> JM
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: (fwd)

2017-03-21 Thread Dmytro O. Redchuk
2017-03-21 9:40 GMT+02:00 Martin Tarenskeen <m.tarensk...@zonnet.nl>:
> Thanks. That's a good start. I have tried it, and it works. But yes, it
> looks ugly :-)
>
> I am trying to put this idea in a working bash or python script now.
> I am not really a virtuoso with grep and regular expressions, but I guess I
> could use that to extract the stringvalue after the "id": field from the
> response I am getting from the first line

Try jq:

https://stedolan.github.io/jq/

$ curl -X POST -H "Content-Type:application/json" \
   
https://7icpm9qr6a.execute-api.us-west-2.amazonaws.com/prod/prepare_preview/stable
\
   -d '{"code": "% LilyBin\n\\score{\n\t{\n\t\t\\repeat unfold 120 {
c4. d e f }\n\t}\n\n\t\\layout{}\n\t\\midi{}\n}\n"}' \
   2>/dev/null | jq '.id'
"1490082695988-7485-450035692-o06aeu4ly7dgqfr"

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Scheme finction fo get markup from scheme list of strings?

2017-03-06 Thread Dmytro O. Redchuk
2017-03-06 17:34 GMT+02:00 Jeffery Shivers <jefferyshiv...@gmail.com>:
> or even the latter part as:
>
> #(all-the-markup-lists-in-scheme verses)
Yes, like this.

Having defined N verses --- i wishto be able to decide how to display them.

One verse should be centered in \fill-line, two verses should be
placed in one \fill-line as a columns; may be some additional
"incapsulations" for verse number in column near to verse's column...

Actually i have a friend of mine who helps to type scores without any
knowledge of lilypond file structure --- i have provided her with a
template, and she simply puts voice notation inside voice files
(everything inside \relative c' { ... } or like that). [For some
reasons] she will not learn markup commands, but i really need her
help and she really wants to help :)

And she typed *a lot* (i could provide a link to site).

Regarding "what i have tried" --- to learn how to loop over lists and
create markups i've tried something like this:

; for a case when "verseList" is a list of string:
#(define (display-verses verses)
   (if (not (null? verses))
   (begin
(markup (car verses))
(display-verses (cdr verses)

\markuplist {
  #(display-verses verseList)
}

This throws "not a markup" --- and i guess i understand why (it should
be a markup function).

Then i've tried to create a markup function like this one, but it can
not be recursive (display-verses is undefined inside display-verses).

So, i've asked for help.

Probably, i should look iside some lilypond's .scm to get some lighting.

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Scheme finction fo get markup from scheme list of strings?

2017-03-06 Thread Dmytro O. Redchuk
2017-03-06 15:16 GMT+02:00 David Kastrup <d...@gnu.org>:
> I may be missing the point, but what's wrong with
Thank you, David, nothing wrong.

Sorry, i was unclear.

Actually i would like to have list of lists (list of verses) and place
those verses in some way depending of other settings.

I've tried to define markup command, but it can not be recursive.

I've tried to call #{ \markup ... #} from withing scheme, but got
empty document or "not a markup" error.

So, i've tried some wrong ways and now i would like to know what i
should try instead .)

What to try to have a (scheme? lilypond+scheme?) function to loop over
list of "verses" and output some "predefined" markup.

Thank you!

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Scheme finction fo get markup from scheme list of strings?

2017-03-06 Thread Dmytro O. Redchuk
Hello list,

let's say I have the following list:

#(define verse '(
"If you can keep your head when all about you"
"Are losing theirs and blaming it on you,"
"If you can trust yourself when all men doubt you,"
"But make allowance for their doubting too"
; ... etc
))

I would like to write a function to get the following markup for every
item in the list:

\line {
  \column {
"If you can keep your head when all about you"
  }
}
% etc...

Then I would feed it to \markuplist, I guess.

Please, from where would I start? --- feeling lost.

Thank you.

-- 
  Dmytro O. Redchuk

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ANN: Frescobaldi 1.9.1 (alpha)

2011-10-12 Thread Dmytro O. Redchuk
On Tue 11 Oct 2011, 14:57 Wilbert Berendsen wrote:
 Hi all,
 
 a new alpha release of Frescobaldi 2.0 is available.
 
 https://github.com/wbsoft/frescobaldi (click Download)
Thank you very much, indeed, Frescobaldi is great.

I would love to test it on Windows (for my colleague who uses windows); but
since i'm a linux user -- yes, it's funny -- i don't know where to start!-)

I am planning to test it in virtualbox.

What i need? Will frescobaldi work with python shipped with lilypond?

http://qt.nokia.com/downloads/ shows too much; will be enough to get and
install http://code.google.com/p/qt-windows-binaries/ ?

Thank you. Sorry for being boring.

 Please report issues and requests to the Frescobaldi mailing
 list or the GitHub issue tracker.
I guess I'll do .)

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Including Lilypond files (Was: \partial only on first measure?)

2011-09-28 Thread Dmytro O. Redchuk
On Wed 28 Sep 2011, 11:17 Alberto Simões wrote:
 
 
 On 28/09/2011 10:49, Urs Liska wrote:
 Is there any way to write some kind of the equivalent to the latex
 .sty file, where I can define these files? Or is it just a standard
 .ly file, \include'd?
 
 If so, is there any INCLUDEPATH I can set, so I do not need to copy it
 for each music I use?
 
 Put this function in a standard .ly file (some prefer to name these
 include files .ily) and include it.
 You can run lilypond with the -dinclude option and specify includepaths
 where you can store your library.
 
 Yes, I can also use -I, it seems. But defining an environment
 variable would make it a lot cleaner  :)
Can you make an alias?

I guess it's possible in bash (don't know about your system):
alias lilypond='lilypond -Ifoo.lyi'

However, i have prepared some templates for myself; every one contains
`\include macro.lyi` within. I'd say it's better that making an alias.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Including Lilypond files (Was: \partial only on first measure?)

2011-09-28 Thread Dmytro O. Redchuk
On Wed 28 Sep 2011, 11:51 Alberto Simões wrote:
 Yes, I can also use -I, it seems. But defining an environment
 variable would make it a lot cleaner  :)
 Can you make an alias?
 
 I guess it's possible in bash (don't know about your system):
 alias lilypond='lilypond -Ifoo.lyi'
 
 However, i have prepared some templates for myself; every one contains
 `\include macro.lyi` within. I'd say it's better that making an alias.
 Note that -I is for search path, for not a specific file.
Yes, sorry .)

 So, I can add, indeed,
 
 alias lilypond='lilypond -I$HOME/lib/lilypond'
 
 but I would still prefer,
 
 export LILY_PATH=$HOME/lib/lilypond
 
 :)
Yes, it's clear.

But since lilypond (in my system) is a script, i can easily edit it and add
as many -Ipath as i need.

And then i can include macro.lyi, which will be found somewhere.

Not sure that i understood your requirement right though.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to get Timing.measureLength from within Scheme?

2011-09-28 Thread Dmytro O. Redchuk
On Wed 28 Sep 2011, 15:49 Alberto Simões wrote:
 Hello
 
 I am trying to save Timing.measureLength in a little music function,
 but I am unable to find examples in the web of how to get that value
 (only how to set).
 
 My try (ok, most of the code was suggested by Jan-Peter), is something like:
 
 partialInline = #(define-music-function (parser location nom den
 mus)(integer? integer? ly:music?)
   #{
 #(def tmp (get Timing.measureLength))
 $mus
 \set Timing.measureLength = tmp
 #})
 
 
 but, how to write the (get ..) portion?
I am sorry, why not to use documented Score.measurePosition?

%8---
partialInline =
 #(define-music-function (parser location nom den mus)
  (integer? integer? ly:music?)
  #{
\set Score.measurePosition = #(ly:make-moment $nom $den)
$mus
  #})

\relative c'' {
  c2 c
  \partialInline #-1 #4 { c4 }
  c1
}
%8---

Really sorry, i could miss-n-mess something.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to get Timing.measureLength from within Scheme?

2011-09-28 Thread Dmytro O. Redchuk
On Wed 28 Sep 2011, 16:09 Alberto Simões wrote:
 On 28/09/2011 16:04, Dmytro O. Redchuk wrote:
 I am sorry, why not to use documented Score.measurePosition?
Sorry, i meant suggested by docs .)

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Bug Squad: 40-minute-a-week volunteer needed

2011-09-28 Thread Dmytro O. Redchuk
Hi guys,

In order to respond to bug reports in a prompt and efficient manner, we are
seeking 1 person who is willing to work for 20 minutes, two times a week.
Ideally this would be:
  20 minutes on Wednesday
  20 minutes on Saturday
but if necessary we could reshuffle the days.

This job is strictly limited to two 20-minute periods -- spending more time is
neither required nor desired.


Duties are listed here and on additional pages linked from here:
http://lilypond.org/doc/v2.15/Documentation/contributor/bug-squad-setup

If you volunteer, you are not expected to read any material or do any setup
ahead of time; we expect you to spend the first two or three 20-minute periods
reading the instructions about what to do.

If you volunteer, feel free to ask me anything regarding bug squad setup or
squad member duties.


ps. This is a great way to learn, to get involved, to help the project .)

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug Squad: 40-minute-a-week volunteer needed

2011-09-28 Thread Dmytro O. Redchuk
У ср., 28-го вер. 2011, о 11:38 Brett McCoy писали:
 I'd love to help out. Lilypond is an essential part of my life these days.
Great, thank you!

So, you'll be scheduled for 20 minutes on Wednesday and 20 minutes on
Saturday; please, let me know when you're ready; please, ask me anything if
necessary.

 On Wed, Sep 28, 2011 at 11:35 AM, Dmytro O. Redchuk
 brownian@gmail.com wrote:
  Hi guys,
 
  In order to respond to bug reports in a prompt and efficient manner, we are
  seeking 1 person who is willing to work for 20 minutes, two times a week.
  Ideally this would be:
   20 minutes on Wednesday
   20 minutes on Saturday
  but if necessary we could reshuffle the days.
 
  This job is strictly limited to two 20-minute periods -- spending more time 
  is
  neither required nor desired.
 
 
  Duties are listed here and on additional pages linked from here:
  http://lilypond.org/doc/v2.15/Documentation/contributor/bug-squad-setup
 
  If you volunteer, you are not expected to read any material or do any setup
  ahead of time; we expect you to spend the first two or three 20-minute 
  periods
  reading the instructions about what to do.
 
  If you volunteer, feel free to ask me anything regarding bug squad setup or
  squad member duties.
 
 
  ps. This is a great way to learn, to get involved, to help the project .)

-- 
 Dmytro O. Redchuk                        Easy to use is easy to say.
 Bug Squad                                             -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: placement sostenuto

2011-09-26 Thread Dmytro O. Redchuk
On Fri 23 Sep 2011, 09:07 David Nalesnik wrote:
 I was experimenting with this approach, but 'padding doesn't seem to respond
 when set to a procedure.  In the following snippet, the first override
 works, the second doesn't.  Am I missing something?
 
  \version 2.14.2
 
 {
   \once \override Script #'Y-offset = #(lambda (grob) -3)
   c''1_-
   \once \override Script #'padding = #(lambda (grob) 3)
   c''1_-
 }
Yes, really .(

Who knows wether it's intentional or it's a bug.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: preprocessing an included file with system command

2011-09-25 Thread Dmytro O. Redchuk
On Sat 24 Sep 2011, 23:52 Michael Ellis wrote:
 On Sat, Sep 24, 2011 at 4:28 PM, Graham Percival
  or m4 or python, I'd do this:
  # mylily.sh
  cp $1 /tmp
  sed '...' /tmp/$1  /tmp/$1-processed.ly
  lilypond /tmp/$1-processed.ly
  mv /tmp/$1-processed.ly .
Often it can be done with something like this (within bash script;
windows equivalent is also quite possible):

  sed '...'  $1 | lilypond -o ${1%%.ly} -

 I normally do my LilyPond work with LilyPondTool and have grown quite
 accustomed to its conveniences.   Using a wrapper script would mean
 having to alter my LilyPondTool options to specify the wrapper script
 instead of invoking LilyPond directly -- but I often  use LilyPond for
 tasks other than audio transcriptions and don't want to have to keep
 changing my LilyPondTool options.
I would, probably, try to write shell script, which takes $PPID and checks if
the parent is LilypondTool or like that. Not tested .)

Anyway, your question is still interesting. I can't help here, sorry.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: placement sostenuto

2011-09-23 Thread Dmytro O. Redchuk
On Fri 23 Sep 2011, 13:48 David Kastrup wrote:
 ten = -\tweak #'padding #.75 --
 
 { c''1\ten }
Great, even { c''1^\ten } and { c''1_\ten } do work,
thanks .)

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: placement sostenuto

2011-09-23 Thread Dmytro O. Redchuk
On Fri 23 Sep 2011, 10:30 luis jure wrote:
 i see that this override changes the placement of all the objects
 belonging to Script, including articulation marks like accent and the
 rest. anyway, i prefer to use a global \override in my template, instead
 of individual tweaks. 
 
 i understand one cannot adjust with \override the properties of individual
 objects belonging to script?
If i understtod your right, you'd like to \override something for, let's say,
tenuto only. I believe it's possible; i would start with this approach:

%-
\displayMusic { c''1-- }
%-

Compiling this we can see in log/terminal:

%-
(make-music
  'SequentialMusic
  'elements
  (list (make-music
  'EventChord
  'elements
  (list (make-music
  'NoteEvent
  'duration
  (ly:make-duration 0 0 1 1)
  'pitch
  (ly:make-pitch 1 0 0))
(make-music
  'ArticulationEvent
  'articulation-type
  tenuto)
%-

So, this 'ArticulationEvent has an 'articulation-type = tenuto.

As we can use a function for \override:
   \override Script #'padding = #(padding-for-tenuto)
 --- we can imagine a function which takes a grob as an argument and checks if
an articulation is tenuto and returns .75 if it is, or default value
otherwise.

So, what you need is posible, if it's possible to get 'articulation-type from
grob (which would be passed to our function as an argument). And if it is
possible to return default value for any other but tenuto.

To be honest, i don't know if it's possible .)

;; If it was --- would be better to modify our function
;; to accept default value for tenuto:
   \override Script #'padding = #(padding-for-tenuto .75)
;;;

Actually i would love to see somebody really knowledgeable helping you .)

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: voice instantiation syntax (was Re: Lilypond Lobbying)

2011-08-30 Thread Dmytro O. Redchuk
On Mon 29 Aug 2011, 10:02 Tim Reeves wrote:
 How do you like syntax like this:
  e1 \ #0.25 \f #0.5 \ f2 \! #0.5
 
 Well, it's starting to to look too much like perl, to my non-programmer 
 eyes. 
That's why I like \{delay=4} , \{delay=4,length=7*8} etc :
http://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00553.html

I am *not sure* that this is much better than macrame with spacing rests, but
probably it is.

 That is to say, I don't particularly like it, at first glance. Although, 
 maybe, if it makes sense, I  could get used to it.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Shifting hairpins' starting/ending points etc [was: Re: Lilypond lobbying?]

2011-08-30 Thread Dmytro O. Redchuk
On Mon 29 Aug 2011, 13:10 David Kastrup wrote:
 Dmytro O. Redchuk brownian@gmail.com writes:
 
  On Sun 28 Aug 2011, 11:21 Janek Warchoł wrote:
  2011/8/26 Dmytro O. Redchuk brownian@gmail.com:
   On Fri 26 Aug 2011, 13:54 David Kastrup wrote:
   So maybe the spacer rest terminology is not doing anybody a favor.
  
   Would you have felt more comfortable if my example had used \skip
   instead of spacer rests?
   No, not sure. Why music should contain any skips to be typeset 
   nicely?
Again -- why? Why skips or spacing rests to shift hairpin right?

   I wanted to say, that, very probably, \{...} would be really great
   (to shift starting point right). And that spacers are, as for me, a bit
   innatural.
Well, { c''{offset=XX} } would be nice... probably... too. I don't know.

 Spoken differently: for a new person who knows nothing about the syntax,
 knowing nothing about the syntax is not a desirable state to remain in.
Yes. I agree with you.

I just wanted to say that I like \{...} more than skips and spacers.
And I believe it's a matter of taste.

Am I wrong? -- very probably. I don't know.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-book download

2011-08-30 Thread Dmytro O. Redchuk
On Mon 29 Aug 2011, 11:43 Pablo Zumarán wrote:
 
 I already have lilypond in my Ubuntu. What must I download so that I can use
 lilypond-book?
You need to have latex (texlive-latex-base at least) installed.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Shifting hairpins' starting/ending points etc [was: Re: Lilypond lobbying?]

2011-08-29 Thread Dmytro O. Redchuk
On Sun 28 Aug 2011, 11:21 Janek Warchoł wrote:
 2011/8/26 Dmytro O. Redchuk brownian@gmail.com:
  On Fri 26 Aug 2011, 13:54 David Kastrup wrote:
  So maybe the spacer rest terminology is not doing anybody a favor.
 
  Would you have felt more comfortable if my example had used \skip
  instead of spacer rests?
  No, not sure. Why music should contain any skips to be typeset nicely?
 
  Well, really, excuse me :-)
 
  I wanted to say, that, very probably, \{...} would be really great
  (to shift starting point right). And that spacers are, as for me, a bit
  innatural.
 
 How do you like syntax like this:
 e1 \ #0.25 \f #0.5 \ f2 \! #0.5
 which would mean this
 \new Voice  { e1 f2 } {s4 s4 \ s2 \f \ s4 s4 \! } 
 ?
I would say, that for a new person who knows nothing about the syntax, the
former variant offers much less conventions to learn then the latter.

As for me, sorry.

 Some of your concerns are already on my to-do list, but they are
 waiting for GLISS.
They're not mine, surely,
http://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00553.html :-)

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: dynamics placing (was Re: Lilypond lobbying?)

2011-08-29 Thread Dmytro O. Redchuk
On Mon 29 Aug 2011, 18:47 Frederick Dennis wrote:
   How do you like syntax like this:
   e1 \ #0.25 \f #0.5 \ f2 \! #0.5
   which would mean this
*would* mean...

   \new Voice  { e1 f2 } {s4 s4 \ s2 \f \ s4 s4 \! } 
 
 Dear All,
 I've tried
 
 e1 \ #0.25 \f #0.5 \ f2 \! #0.5
That were just thoughts.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond lobbying?

2011-08-26 Thread Dmytro O. Redchuk
On Thu 25 Aug 2011, 23:51 David Kastrup wrote:
 c1*1/4 s1*3/4\p
 
 c1*1/4 s1*3/4\
 
 c1*1/4 s1*5/8\ s1*1/8\!
I am not a composer at all, but... is this a musical approach?

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond lobbying?

2011-08-26 Thread Dmytro O. Redchuk
On Fri 26 Aug 2011, 10:28 David Kastrup wrote:
 Dmytro O. Redchuk brownian@gmail.com writes:
  I am not a composer at all, but... is this a musical approach?
 
 It's pretty much along the lines of the given verbal description.  You
 could also do something like
 
  c1 { s4\ s2\! s4 } 
Yes, I know ,)

You can do this in a separate voice and then filter parts (to clean midi
output of those extra voices) from command line with some switches, or do it
whith tags etc-etc-etc.

That's very nice =:О]

And easy to use.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond lobbying?

2011-08-26 Thread Dmytro O. Redchuk
On Fri 26 Aug 2011, 11:12 David Kastrup wrote:
  You can do this in a separate voice
 
 If you think this is a separate voice
No, I wrote you can do it in a separate voice. Also.

Both ways, as for me, are not very elegant.

I can be wrong, sorry for the noise.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond lobbying?

2011-08-18 Thread Dmytro O. Redchuk
On Thu 18 Aug 2011, 08:32 Francois Planiol wrote:
 - They are totally stupid and

On Thu 18 Aug 2011, 09:49 Francois Planiol wrote:
 So stupid guys

:-)

ps. Not too constructive criticism, I'd say.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond lobbying?

2011-08-18 Thread Dmytro O. Redchuk
On Thu 18 Aug 2011, 17:42 Robert Schmaus wrote:
 I even feel I have to come to those guys' defence - zero of my
 professional as well as non-professional musical friends knew (of)
 LilyPond before I told them, and I don't think many of them will use it
Yes, many of people around me are *very* professional in their fields
(composers, musicians, choir-meisters, specialists in music's history
etc-etc); however, they've never heard about lilypond before I told them, and
they'd never use it after I told...

Probably, because of some/many of them are 60 and above, who knows... Anyway,
I would never say they are stupid.

I have prepared (and successfully published) some books with LaTeX (some of
them with lilypond-engraved scores, one is a score book, 500+ pages of scores,
illustrated a lot, thanks to LaTeX, again) -- but when I am asked why latex?
why lilypond? I say that:
  - I like lilypond very much!!!
  - it's far more convenient for me to use plain text files (and
lilypond-book, and make, and tools like inkscape with cmdline capabilities
etc-etc-etc);
  - *I could not use Finale/InDesign for that at all*, because I am too stupid
to use so complicated tools... :O)

Yes! Really -- I could not use that tools at all. Well, I guess I could, but
why work so hard? -- I bet they, those people around me, think the same about
me: why work so hard?..


My school teacher, who taught me physics, said that if you don't understand
that handbook, it very probably just means that that handbook author's
gyrus of the brain are crinkled in another direction than yours.



On Thu 18 Aug 2011, 11:03 Francois Planiol wrote:
 Dear Dmytro,
 
 I was 20 y in Germany, a highly developped land. Now in Colombia, a
 want-to-emerge third-world-land. I see everywhere the same pattern
 (France too):
 - Buy, if this costs a lot this will be better,
[...]

 2011/8/18, Dmytro O. Redchuk brownian@gmail.com:
  :-)
 
  ps. Not too constructive criticism, I'd say.
I wanted to say that every critisicm can be either constructive or
destructive (it can not be neutral).

It should be constructive, I'd say.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slurs and PhrasingSlurs with simultaneous start or end

2011-07-28 Thread Dmytro O. Redchuk
On Thu 28 Jul 2011, 13:49 Nick Payne wrote:
 The automatic positioning of Slurs and PhrasingSlurs that both
 either start or finish on the same note is not very good. See below.
 Commercial scores that I have where this happens position the two
 slurs so that they don't intersect or touch, as in the second bar
 where the PhrasingSlur has been tweaked so that it doesn't intersect
 the slur:
I guess this is 304:
http://code.google.com/p/lilypond/issues/detail?id=304

And may be related to:
http://code.google.com/p/lilypond/issues/detail?id=163

 \version 2.14.0
 
 offsetPhrasingSlurPos =
   #(define-music-function (parser location offsets) (pair?)
 #{
\once \override PhrasingSlur #'positions = #(lambda (grob)
  `(,(+ (car $offsets) (cdar
 (ly:phrasingslur::calc-control-points grob))) .
,(+ (cdr $offsets) (cdr (cadddr
 (ly:phrasingslur::calc-control-points grob))
 #})
 
 \relative c'' {
 \time 3/4
 \slurDashed
 c16\(( d) e f g8\) c,8 d16\(( c) b a\)
 \offsetPhrasingSlurPos #'(0.3 . 0) c16\(( d) e f g8\) c,8
 \offsetPhrasingSlurPos #'(0.3 . 0) d16\(( c) b a\)
 }
 
 
 Nick

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Basic function question

2011-07-26 Thread Dmytro O. Redchuk
On Tue 26 Jul 2011, 10:14 Urs Liska wrote:
 Hello list members,
 
 after fiddling around too long and getting lost with the basics, I
 decided to ask my question here.
 I know it's basic, and I wonder why I get stuck this way, but
 obviously I'm confused and unable to find the right place in the
 docs.
 
 I want to write a function instr to produce formatted markup that
 I can use like
 
 { c d e f^\instr Vl. }
 
 which should be translated to (e.g.)
 
 { c d e f^\markup \bold \italic \huge { Vl. } }
I guess you can write markup function and then use it like this:

  { c d e f^\markup\instr Vl. }

So (if so), you need to define markup function.

#(define-markup-command (instr layout props what) (markup?)
  (interpret-markup layout props
(markup #:bold #:italic #:huge what)))

(not tested thougth).

 Unfortunately I seem absolutely unable to find out how to define the
 function so I can attach it to the note like in the example.
 
 Hopefully someone can either give me a working example or point me
 to the exact location in the docs where I can fully understand this
 issue.
 
 Thanks in advance
 Urs

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Basic function question

2011-07-26 Thread Dmytro O. Redchuk
On Tue 26 Jul 2011, 11:39 Urs Liska wrote:
 Am 26.07.2011 11:28, schrieb Dmytro O. Redchuk:
 So (if so), you need to define markup function.
 
 #(define-markup-command (instr layout props what) (markup?)
(interpret-markup layout props
  (markup #:bold #:italic #:huge what)))
 
 (not tested thougth).
 
 Well this works. This is a solution I had also found in the docs.
 
 So it seems it is not possible to _use_ functions the way I had wanted?
 I have always either to use a markup function (and write \markup)
 or to first write the function name and provide the note as an argument.
 Is that correct?
Actually I don't know why _markup function_ behaves like this.

Docs*) says:

%8--
The markup macro builds markup expressions in Scheme while providing a
LilyPond-like syntax. For example,

(markup #:column (#:line (#:bold #:italic hello #:raise 0.4 world)
  #:larger #:line (foo bar baz)))

is equivalent to:

\markup \column { \line { \bold \italic hello \raise #0.4 world }
  \larger \line { foo bar baz } }
%8--

But is that really equivalent? Why markup function should (shouldn't it?) be
preceeded with \markup ?

I don't know actually. Sorry.

_
 * 
http://lilypond.org/doc/v2.15/Documentation/extending/markup-construction-in-scheme

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Issue 1724 - 620 : workaround?

2011-07-25 Thread Dmytro O. Redchuk
On Mon 25 Jul 2011, 09:21 Xavier Scheuer wrote:
 On 24 July 2011 21:46, Xavier Scheuer x.sche...@gmail.com wrote:
 
  Thanks Neil!
 
  It works great.  I'll use it as a workaround until Mike's fix is OK and
  pushed.  Thank you Mike too.  Good luck.
 
 I did not notice first but Neil's workaround produces a strange message
 in the console when compiling:
That was
  (display (ly:grob-parent g X))
I guess.

You can comment it out.


 […]
 Interpreting music... #Grob DynamicText ()[8]#Grob PaperColumn
 #Grob PaperColumn ()#Grob PaperColumn #Grob PaperColumn
 ()#Grob PaperColumn #Grob PaperColumn #Grob PaperColumn
 ()#Grob PaperColumn #Grob PaperColumn [16]()#Grob PaperColumn
 #Grob PaperColumn ()#Grob PaperColumn #Grob PaperColumn #Grob
 PaperColumn #Grob PaperColumn #Grob PaperColumn [24]#Grob
 PaperColumn #Grob PaperColumn #Grob PaperColumn ()#Grob
 PaperColumn #Grob PaperColumn ()#Grob PaperColumn #Grob
 PaperColumn #Grob PaperColumn ()[32]#Grob DynamicText ()#Grob
 DynamicText ()[40]#Grob PaperColumn #Grob PaperColumn ()#Grob
 PaperColumn #Grob PaperColumn #Grob PaperColumn #Grob
 PaperColumn ()[48]#Grob PaperColumn #Grob PaperColumn ()#Grob
 PaperColumn #Grob PaperColumn ()#Grob PaperColumn #Grob
 PaperColumn ()#Grob PaperColumn #Grob PaperColumn ()[56]#Grob
 PaperColumn #Grob PaperColumn #Grob PaperColumn #Grob
 PaperColumn #Grob PaperColumn ()#Grob PaperColumn #Grob
 PaperColumn #Grob PaperColumn #Grob PaperColumn [64]()#Grob
 DynamicText ()#Grob DynamicText ()[72]#Grob PaperColumn #Grob
 PaperColumn ()
 Preprocessing graphical objects...
 […]
 
 This has no bad consequences and as I said the result is good.
 
 Cheers,
 Xavier
 
 -- 
 Xavier Scheuer x.sche...@gmail.com
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rendering png without page

2011-07-20 Thread Dmytro O. Redchuk
On Tue 19 Jul 2011, 15:40 Phil Holmes wrote:
 Dmytro developed the following script for Ubuntu:
 
 #!/bin/bash
 #
 #
Here is the same script for Windows, btw:
https://raw.github.com/gperciva/lilypond-extra/master/bug-squad/trimtagline.bat

 ly=${1:?Usage: $0 test[.ly]}
 
 # strip extension, if any:
 lynoext=${ly%%.ly}
 
 # process test file:
 echo \\header { tagline = ##f } | lilypond -dinclude-settings=- --png $ly
 
 # trim PNG:
 convert ${lynoext}.png -trim ${lynoext}-trim.png
 
 # do we want to overwrite original PNG?
 # mv ${lynoext}-trim.png ${lynoext}.png
 
 
 This assumes you have imagemagick installed.

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help understanding print problem

2011-07-20 Thread Dmytro O. Redchuk
On Tue 19 Jul 2011, 16:15 Laura Conrad wrote:
 My guess is that this is not a lilypond bug, but there might be someone
 here who could shed light on how to report it, or better ways to work
 around it.
 
 I have a PDF file
 http://serpentpublications.org/music/dewilde/amours/allparts.pdf,
 produced by lilypond-book with parts and score for a piece.  It looks as
Did you produce it with lilypond-book -- ps2pdf or with lilypond-book --pdf ?

My guess is that ps2pdf may behave wrongly here. However, since you can print
single score with no errors, I may be wrong.

You can try both ways, thought.

 I expect in xpdf.  For playing with my group, I need lots of copies of
 the parts, but only one of the score, so I printed out the parts with
 the options to xpdf which caused pages 1-6 to print out single-sided
Did you print via lpr -oDuplex=DuplexNoTumble -#several_times ? Or other
program/options?

I am not sure that I can be helpful here. However, who knows.

Btw, I would also try to produce the same one -- several times with pdfpages
and then try to print.

 several times.  Then I tried to print pages 7-9 (the score) double
 sided, and then single sided, and both times got pages with (some of
 the) staff lines and stems and brackets and text, but no note heads.
 
 When I print the whole file single sided, the score prints as expected.
 
 When it's not printing correctly, I get lots of error messages in the
 console window from which I invoked xpdf.  Here are some of them:
 
 Error (1114123): Illegal character 12 in hex string
 Error (1114124): Illegal character 82 in hex string
 Error (1114125): Illegal character 82 in hex string
 Error (1114075): Illegal character '}'
 Error (1114126): Illegal character ''
 Error: font resource is not a dictionary
 Error: font resource is not a dictionary
 Error: ExtGState 'R7' is unknown
 Error: Unknown font tag 'R8'
 Error (812121): No font in show
 Error: Unknown font tag 'R8'
 
 This is lily 2.14.1, on ubuntu 10.10, with xpdf version 3.02, printing
 on a Brother HL-5250DN printer.  I would be happy to report this bad
 behavior if I had any idea which of the many programs involved in
 turning my lilypond code into black marks on paper was responsible.
 Does anyone have a better educated guess than I do for how to narrow the
 field of possible suspects?
 
 -- 
 Laura   (mailto:lcon...@laymusic.org, twitter: @serpentplayer)
 (617) 661-8097233 Broadway, Cambridge, MA 02139   
 http://www.laymusic.org/ http://www.serpentpublications.org
 
 This song is Copyrighted in U.S., under Seal of Copyright #154085, for
 a period of 28 years, and anybody caught singin' it without our
 permission, will be mighty good friends of ourn, cause we don't give a
 dern. Publish it. Write it. Sing it. Swing to it. Yodel it. We wrote
 it, that's all we wanted to do.
 
 Woody Guthrie
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
  Dmytro O. RedchukEasy to use is easy to say.
  Bug Squad -- Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font survey: which clef do you prefer?

2011-07-10 Thread Dmytro O. Redchuk
On Sat 09 Jul 2011, 01:58 Janek Warchoł wrote:
 Hi all,
 
 currently it is:
 right:
[...]
 Dmytro

Actually, I would like the third (right one) to be a bit higher (and deeper, 
probably).

I would definitely like to try it myself...

So, for now it's oh well..., not more.

 
 therefore i'm opening a Rietveld issue: http://codereview.appspot.com/4664070
 
 2011/7/6 Reinhold Kainhofer reinh...@kainhofer.com:
  However, even in the third clef, the curvature of the vertical line looks a 
  bit too straight in the lower half...
 
 I agree that even the third clef could be improved, but i don't think
 i'm able to make it any better myself.  If you want to try, i attach
 my patch. A tip to speed up work: use this script to generate a dvi
 preview of glyphs (no need to run make, and it also shows metafont
 control points):
 #!/bin/bash
 mf '\mode:=proof; input feta20'
  gftodvi feta20.2602gf \
   mv feta20.dvi feta20new.proof.dvi
 
 If you have trouble figuring out what to change, ask.
 
 W dniu 8 lipca 2011 00:14 użytkownik James Lowe
 james.l...@datacore.com napisał:
  until you really print out a score and plop it on your music stand and then 
  have sharps and flats and time signatures and other ornamentation, I don't 
  really think one can make a definite case for either.
 
 True.  Please send me some 2.15.5-compatible input files and i'll
 compile them with my suggested clef, so we'll have some real-life
 example to study.  I'll also take something from my collection.
 
 thanks,
 Janek
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font survey: which clef do you prefer?

2011-07-10 Thread Dmytro O. Redchuk
On Sun 10 Jul 2011, 12:48 Reinhold Kainhofer wrote:
 So, I prefer the upper loop of the original clef, but the vertical line of 
 the 
 third one...
Most probably, I would say that -- if the upper loop was as in the original
clef -- lower part sholud be deeper, too.

So, if I could (sorry, again) try, I would take the third one and make it
higher and deeper. Sorry for being so rough.

ps. I am not sure that we really need to replace existing one, though.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font survey: which clef do you prefer?

2011-07-07 Thread Dmytro O. Redchuk
On Thu 07 Jul 2011, 10:16 Janek Warchoł wrote:
 I guess our G-clef is curved partly to distinguish itself from other
 software' clefs.  Default Finale clef has very straight vertical line
 for example.
I would rather not take into account other software' clefs..

(Probably, I simply do not like Finale's one, please don't mind.)

-- 
  Dmytro O. Redchuk
  Bug Squad
 Easy to use is easy to say.
   --Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: setting the font size for markups independently

2011-07-06 Thread Dmytro O. Redchuk
On Tue 05 Jul 2011, 13:35 Kieren MacMillan wrote:
 Hey Eluze,
 
  i think Kieren's solution works if you override the property of the
  TextScript in its real context which seems to be the Voice context:
 
 D'oh!
 Sorry for the noise… thanks for the correction!
I doubt if either could help, if that is top-level markup
(outside of any Voice or any Score).

-- 
  Dmytro O. Redchuk
  Bug Squad
 Easy to use is easy to say.
   --Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font survey: which clef do you prefer?

2011-07-06 Thread Dmytro O. Redchuk
On Wed 06 Jul 2011, 21:10 Janek Warchoł wrote:
 Which one of the clefs in the attachment do you like best?
The first one.

-- 
  Dmytro O. Redchuk
  Bug Squad
 Easy to use is easy to say.
   --Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font survey: which clef do you prefer?

2011-07-06 Thread Dmytro O. Redchuk
On Wed 06 Jul 2011, 22:53 Janek Warchoł wrote:
 W dniu 6 lipca 2011 22:21 użytkownik James Lowe
 james.l...@datacore.com napisał:
  Can we have some sharps and flats and perhaps some numeric signatures?
  There is no context for the clef otherwise (if you see what I mean).
 
 Attached.
The third one .)

-- 
  Dmytro O. Redchuk
  Bug Squad
 Easy to use is easy to say.
   --Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Odd-looking tie on a chord

2011-07-05 Thread Dmytro O. Redchuk
On Tue 05 Jul 2011, 18:09 Matthew Collett wrote:
 On 5/07/2011, at 8:26 am, Graham Percival wrote:
  Ah, but as far as lilypond is concerned, whitespace *is* nothing. :)
 
 And therefore any example containing unnecessary whitespace _is_
 an example from which nothing can be removed. 
Great, but if nothing==whitespace here -- yes, it can be removed,
but not should .)  So, just make it as readable as possible.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: R1\fermata

2011-07-05 Thread Dmytro O. Redchuk
On Tue 05 Jul 2011, 12:12 Mario Moles wrote:
 Hi lilyponders!
Hi!

 This is a bug?
No, it's not!

 In this ly-file lilypond don't print the fermata:
Please search for \fermataMarkup.
(R1 is not a note)

 violin = \relative c'' {
   \global
   % Qui segue la musica.
   R1\fermata|
 }

-- 
  Dmytro O. Redchuk
  Bug Squad
 Easy to use is easy to say.
   --Jeff Garbers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Odd-looking tie on a chord

2011-07-04 Thread Dmytro O. Redchuk
On Mon 04 Jul 2011, 15:39 James Harkins wrote:
 \version 2.14.1
 
 \include english.ly
 
 \score {
   \new Staff {
 \key d \major
 \numericTimeSignature
 \time 4/4
 r4
 \times 4/5 { cs' d'' b''16\ cs' d'' b''cs' d'' b''cs' d'' 
 b''cs' d'' b''~ }
 cs' d'' b''16 cs' d'' b''8.
 
 %% Here: the tie on the D's looks funny
 %% Too tall? Left-hand endpoint is not aligned with the B tie?
 ~ 
 
 cs' d'' b''8 [ b d'' a''-\mf ]
   }
 }
 
 It looks even funnier at lower resolution, somewhat better when viewed up 
 close.

 I'm aware of \override TieColumn #'tie-configuration but would just as soon
 avoid it if possible.
Could you please try to make your example smaller (as small as possible, to be
a tiny example, see http://lilypond.org/tiny-examples.html) ?

 Unrelated question -- I had asked a week or two ago if there is any
 more-convenient way to write repeated chords without copying and pasting the
 ... expressions. I don't recall seeing an answer on the list. If the
 answer is no, it would help me to know that for sure so that I can quit
 wondering.
This is here (as far as you use 2.14, current stable):
http://lilypond.org/doc/v2.14/Documentation/notation/single-voice.html#chord-repetition

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Odd-looking tie on a chord

2011-07-04 Thread Dmytro O. Redchuk
On Mon 04 Jul 2011, 10:30 Graham Percival wrote:
 Dmytro: here's a Tiny example.
 
 \version 2.14.1
 
 \relative c'' {
   \time 2/4
   d16 d8. ~ d8 d
   % both sets of ties in chords look icky
   d16 d b8. ~ d b8 d
   \tieUp
   d16 d b8. ~ d b8 d
 }
Thank you. It's almost what's I am finished up with.

ps. James, I am sorry, as you can see, there is some things which should have
been removed from this code to make it a tiny example. This is what
developers ask bug squad about; and what we would love to ask for, in issue
reports. Thank you for your report!

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Odd-looking tie on a chord

2011-07-04 Thread Dmytro O. Redchuk
On Mon 04 Jul 2011, 15:39 James Harkins wrote:
 \version 2.14.1
 
 \include english.ly
 
 \score {
   \new Staff {
 \key d \major
 \numericTimeSignature
 \time 4/4
 r4
 \times 4/5 { cs' d'' b''16\ cs' d'' b''cs' d'' b''cs' d'' 
 b''cs' d'' b''~ }
 cs' d'' b''16 cs' d'' b''8.
 
 %% Here: the tie on the D's looks funny
 %% Too tall? Left-hand endpoint is not aligned with the B tie?
 ~ 
 
 cs' d'' b''8 [ b d'' a''-\mf ]
   }
 }
 
 It looks even funnier at lower resolution, somewhat better when viewed up 
 close.
 
 I'm aware of \override TieColumn #'tie-configuration but would just as soon 
 avoid it if possible.
I found this is an instance of known issue, 1126:
http://code.google.com/p/lilypond/issues/detail?id=1126

I have added your example there thougth.

Thank you!

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fermata over parallel barlines

2011-07-01 Thread Dmytro O. Redchuk
On Fri 01 Jul 2011, 10:48 Hilary Snaden wrote:
 Is it possible to place a fermata over barlines in more than just
 the top staff in a system? (In this case over all of the staffs in a
 choirstaff.)
Please, have you tried to search?

http://lsr.dsi.unimi.it/LSR/Search?q=fermata

Can something like this: http://lsr.dsi.unimi.it/LSR/Item?id=10 -- help you?

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: system-system-spacing in lilypond-book-file

2011-06-29 Thread Dmytro O. Redchuk
On Wed 29 Jun 2011, 08:26 Stefan Thomas wrote:
 Dear Philippe,
 thanks for Your explanation. It works fine now.
 I think this should be mentioned explicitly in the manual.
I believe it is here:
http://lilypond.org/doc/v2.14/Documentation/usage/latex

Isn't it?

If not, would you please write to bug-lilypond (or here) what exactly sould be
added and to which section of the manual?

Thank you!


 Hello,
 
  Here is a little explanation about the problem : in fact, when including a
  lilypond snippet with breaks in a LaTeX document, lilypond-book makes a
  separate .ly file for each system.
 
  In that way, the become 2 images included in a LaTeX file. That's why the
  \paper {system-system-spacing} block won't do anything.
 
  The subject was mentionned 2 years ago here :
 
  http://lists.nongnu.org/archive/html/lilypond-devel/2009-01/msg00440.html
  http://lists.nongnu.org/archive/html/lilypond-devel/2009-01/msg00440.html
 
  A possible solution was to add a command in the LaTeX preamble :
 
  \newcommand{\
  betweenLilyPondSystem}[1]{\vspace{1mm}\linebreak}
 
  You may of course change the \vspace to the value you want.
 
  The question was also mentionned here :
 
  http://old.nabble.com/between-system-space-does-not-work-with-lilypond-
  book-td6988067.html#a6988067
  http://old.nabble.com/between-system-space-does-not-work-with-lilypond-
  book-td6988067.html#a6988067
 
  Hope this helps.
 
  Philippe
  --
  View this message in context: http://old.nabble.com/system-system-spacing-
  in-lilypond-book-file-tp31930124p31945829.html
  Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: SustainPedal: to-barline setting?

2011-06-29 Thread Dmytro O. Redchuk
On Wed 29 Jun 2011, 13:23 Kieren MacMillan wrote:
 Hi Phil (and Xavier),
 
  This is issue http://code.google.com/p/lilypond/issues/detail?id=1128
 
 Would be nice for this to be fixed — I can offer C$25 bounty on a fix.
Thank you! -- your offer has beed added to the tracker,)

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: controlling hyphen visibility after line break

2011-06-29 Thread Dmytro O. Redchuk
On Mon 27 Jun 2011, 22:52 Federico Bruni wrote:
 great! please add it to the tracker
Finally, i've added it as 1722:
http://code.google.com/p/lilypond/issues/detail?id=1722

Sorry for delay; you would better report issues to bug-lilypond!-)

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Percussion Notation

2011-06-27 Thread Dmytro O. Redchuk
On Mon 27 Jun 2011, 04:09 cdg wrote:
 So, is it possible to adjust the angle of these symbols?
Well, since i know nothing about percussion notation -- i hope someone more
knowledgeable will answer this .(


 On an unrelated issue and possibly quite the newbie question,
  in the tempo marking, is there a way to 1) 
 remove the parenthesis from around the note and numerical value, 
 2) make the note smaller, and 3) change the font of the numerical values.
  I've tried using \markup with little success. I can implement 
 \markup fine with the preceding text, Largo espressive for example,
  but I can't seem to make it work for the following 'note value equals
  number' section. 
You can find a lot of examples in Lilypond Snippet Repository:
http://lsr.dsi.unimi.it/LSR/Search?q=tempo

I guess, you need to create whole tempo mark in \markup.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: controlling hyphen visibility after line break

2011-06-27 Thread Dmytro O. Redchuk
On Mon 27 Jun 2011, 09:30 Federico Bruni wrote:
  Actually, I'm not directly interested in this issue.  I'm just trying to
  help Luca (reviewer of Italian documentation), who asked a couple of
  times about this and never got a reply:
  https://lists.gnu.org/archive/html/lilypond-user/2010-02/msg00330.html 
  https://lists.gnu.org/archive/html/lilypond-user/2011-04/msg00470.html 
  
  Thanks in advance for your help,
  Federico
 
 Maybe currently there's no way to achieve this.
 Should I write a feature request to put on the tracker? (the reason for
 this request is explained in the first link to the archives above)
 
 Please let me know.
imho: I can't see why this may not be a valid enhancement request.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug Squad: 40-minute-a-week volunteer needed

2011-06-27 Thread Dmytro O. Redchuk
Wow, I have missed something important!

Sorry for being so late -- anyway -- great, Derek, thank you and welcome!


On Mon 27 Jun 2011, 11:25 Ralph Palmer wrote:
 Thanks, Derek, and welcome to the Bug Squad!
 
 Ralph
 
 On Sun, Jun 26, 2011 at 10:07 AM, Graham Percival
 gra...@percival-music.cawrote:
 
  On Sun, Jun 26, 2011 at 08:40:55AM -0500, Derek Klinge wrote:
  I don't have any experience with bug tracking or anything like that,
  but
  am willing to help out. I am an experienced Linux user, and have
  regular
  access to e-mail and such.
 
  Great!  You're scheduled for:
   20 minutes Wednesday
   20 minutes Saturday
 
  On your next day (i.e. Wednesday), please start following the
  instructions here:
  http://lilypond.org/doc/v2.15/Documentation/contributor/bug-squad-setup
 
  Phil Holmes is currently the Bug Meister, and he will help you get
  started -- ask him for help if anything is unclear.
 
  Don't worry if it takes a 2 or 3 weeks to really get into the
  hang of things; the team is organized so that each person can
  cover the work of other members, and we all remember how confusing
  it was at the beginning.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slurs across system breaks are not good

2011-06-24 Thread Dmytro O. Redchuk
On Fri 24 Jun 2011, 05:21 MusFelix wrote:
 My main complaints are two:
 
 1.  The slur BEFORE the break should not have such a steep slope.  If a the
 slur goes from a C to the same C , the slur should be horizontal.  And if
 the slur goes to a higher or lower note, the slope should _slightly_
 indicate this.  As of right now, it droops down in a meaningless fashion.
 
 2.  The slur AFTER the break should not begin after the clef but after the
 key signature (if there is one).  It too should only slightly indicate the
 direction (no weird sloping), and be more or less horizontal.
 
 Does this not bother anyone else?  Can't this be fixed?
At least the second one was added to the issue tracker as issue 379:
http://code.google.com/p/lilypond/issues/detail?id=379

(there are some other issues related to such slur behavior)

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to generate small example PNGs

2011-06-23 Thread Dmytro O. Redchuk
On Thu 23 Jun 2011, 10:06 Ralf Mattes wrote:
 Hello list,
Hi!

 for a webproject with music examples I need to create PNG files with small
 mucic examples. I'm shure I once had some examples but I can't find them
 any more. I'm currently invoking lilypond like this:
 
  lilypond --png --output=cadence_3 94244234-tmp.ly
I guess, you could use this approach:

http://lists.gnu.org/archive/html/bug-lilypond/2011-06/msg00383.html

(for me, i've added -bordercolor white -border 1x1 to convert's options)


Please note that this way does not override explicit tagline (see Colin's
reply).


 
 The file looks something like this:
 
  \version  2.11.49
 
 \header {
   tagline = ##f
 }

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: test of convert-ly

2011-05-23 Thread Dmytro O. Redchuk
On Thu 19 May 2011, 18:02 Carl Sorensen wrote:
 This should probably be an enhancement request -- to have convert-ly ignore
 lines with comments.  We currently don't have any status checking to see if
 we are in a comment or not.
Added as 1659:
http://code.google.com/p/lilypond/issues/detail?id=1659

Thank you!

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to thing a staff's lines

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 16:22 胡海鹏 - Hu Haipeng wrote:
 Hello,
   I find the culprit for my score. The staff lines are thick, and when the 
 staff size is reduced to 10, the space between two staff lines is very few. 
 How to make the staff lines thinner? My mother saw many Finale scores 
 published by our People's Music Publishing are very clear, and some pocket 
 scores have the same feature.
You can do that with StaffSymbol's 'thickness property.

{
 % this is the default value, i do believe:
 \override Staff.StaffSymbol #'thickness = #1
 c''1
}

However, Lilypond makes small objects _relatively thicker_ for better
readability (like different character widths for different font sizes for
ComputerModern font, for example -- sorry, i couldn't find better example).

I can believe that an eye, trained by Finale, will see Lilypond's output as
far too thick, but Lilypond does that intentionally, for readability's sake.

Probably, this behavior may be adjusted *for all* grobs, not StaffSymbol only,
but i don't know whether it is possible or not (i'd say it should be, but i am
not sure).

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Re: How to thing a staff's lines

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 16:52 胡海鹏 - Hu Haipeng wrote:
 Thanks. But I can't find the default value in the IR. Where's it?
3.2.103 staff-symbol-interface:
http://lilypond.org/doc/v2.13/Documentation/internals/staff_002dsymbol_002dinterface

(this page is referenced from 3.1.101 StaffSymbol:
http://lilypond.org/doc/v2.13/Documentation/internals/staffsymbol )

% quote:
thickness (number)
Line thickness, generally measured in line-thickness. 
% end of quote.


So, #1 means as thick as 1 staff line :-)

Original 'line-thicknes will remain unmodified (as far as i understand) after
your override 'thickness for your StaffSymbol.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extreme bad midi output in 2.13.57!!!

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 16:48 胡海鹏 - Hu Haipeng wrote:
 Lilypond 2.13.57 outputs midi in a extreme bad manner! Please compile a
 piece you recently wrote, and you'll collapse when listening the result. All
 note values are messed up, and in orchestral score, all instruments start at
 the beginning, like a pan of boiling water!
Sorry, i can not see (hear) that for a couple of my scores. Everything is ok.

Could you please send a minimal example?

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to define the names of separate \book output files

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 15:22 Patrick Schmidt wrote:
 Hi all,
 
 I'm using several \book blocks in one .ly file. This results as
 expected/desired in several output files such as foo.pdf, foo-1.pdf,
 foo-2.pdf, etc. Is there a way to define the name of the output files in the
 .ly file? Thus it wouldn't be necessary to rename the output files to
 something like complete-score.pdf, instrument1.pdf, instrument2.pdf,
 etc.
 
 Thanks for any hint!

NR, 3.1.4 Output file names ?

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Major version: LilyPond 2.14.0 released!

2011-04-01 Thread Dmytro O. Redchuk
On Fri 01 Apr 2011, 02:19 Graham Percival wrote:
 Mike Solomon - Beaming, feathers, guy with no fear
 Janek Warchol - Upsteam, downstem, flags, feta-er
 David Kastrup - Keeping us honest by questioning
 Phil Holmes - Bug Meister, build system quester
 Benko Pal - Mensural notation, tonal inversion
 Ian Hulin - Guile 2.0 future portability guru
 Keith OHara - Fantastic regression bug fixer
 Neil Puttock - Core development, LSR import
 Xavier Scheuer - French stuffs, cautionary
 Patrick McCarty - SVG guru, texts handler
 Yoshiki Sawada - Japanese doc translator
 Nicolas Sceaux - Schemer extraordinaire
 Reinhold Kainhofer - musicxml2ly bloke
 Werner Lemberg - Fonts, bugz squasher
 Jan Nieuwenhuizen - Core development
 Han-Wen Nienhuys - Core development
 John Mandereau - Translation swain
 Trevor Daniels - Asst. doc editor
 Jonathan Kulp - Asst. doc editor
 Mark Polesky - Code cleanup-er
 Mats Bengtsson - Support guru
 Valentin Villenave - Web 2.0
 Carl Sorensen - Frog master
 Francisco Vila - ES writer
 Joe Neeman - Spacing guru
 Dmytro O. Redchuk - Bugs
 James Lowe - Doc gopher
 Colin Campbell - Ditto
 Marc Hohl - Bug nuker
 Graham Percival - me
 
 -- 
 This email is best viewed with a fixed-width font in a screen size
 of 80x25 characters.

Congratulations, nice ascii art, again!-))

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Major version: LilyPond 2.14.0 released!

2011-04-01 Thread Dmytro O. Redchuk
On Fri 01 Apr 2011, 11:07 Valentin Villenave wrote:
 (sigh) I guess I'll have no other choice but to come back...
:-)

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't get after-title-spacing to work (version 2.13.55)

2011-03-28 Thread Dmytro O. Redchuk
On Mon 28 Mar 2011, 15:22 Brent Annable wrote:
 Hello everyone,
Hi!


 I'm trying to get some extra space between my header block and the first
 system of my score, but I can't seem to get after-title-spacing to work. I
 see that previous users have had this problem, and the problem usually
 seemed to be the installed version. I am using the most recent (unstable)
 version, but I still can't get the following to work:
 
 \version 2.13.55
 \paper {
 after-title-spacing = #'((padding . 3))
I guess it's markup-system-spacing now.

markup-system-spacing #'padding = #3

Theck the docs for that, please.

 annotate-spacing = ##t
  }
 \header {
title = Test score
composer = Test composer
poet = Test poet
}
 \score {
 c''1
  }
 
 The annotations still show 0.50 padding. Can anyone see what I'm doing
 wrong?

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Favorite Lilypond-Score Printer?

2011-03-28 Thread Dmytro O. Redchuk
On Mon 28 Mar 2011, 11:58 Tim Reeves wrote:
 FWIW,
 The HP 4700DN laser printer I have used jams every time I try to print 
 double-sided. So effectively it cannot print double-sided. Otherwise, it's 
 alright.
My Xerox Phaser 3250DN is (i'd say) very good in double-sided printing.

It's quite silent, also (it stops to lament right after last page being
printed). So, i like it, in general.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [OT] Vivi, the Virtual Violinist, plays LilyPond music

2011-03-23 Thread Dmytro O. Redchuk
On Wed 23 Mar 2011, 01:57 Graham Percival wrote:
 If you look at an opera from a
 certain time period and certain country, the bass singer is always
 the bad guy, the tenor is always the good guy, the soprano is
 always the love interest, etc.
Ha-ha :-)

 Pop music (and thus a lot of Vocaloid stuff) gets a bad rap for
 using the I IV V I chord progression a lot, but I don't see that
 amount of predictability to be any worse than classical music's
 predictability of beat strength in 4/4 time
 (strong-weak-medium-weak).
Well, yes, i see: 1342 is not too bad; but really creative engine should fire
it's pistons in unpredictive sequence !

Sorry, i was too boring; thank you .)

ps. refrain: and sorry for my english! -- at least to fire pistons looks
ugly for me, but i don't know how this should be said.


pps. well... once more :O)

Clown
Would you have a love-song, or a song of good life?

SIR TOBY BELCH
A love-song, a love-song.

SIR ANDREW
Ay, ay: I care not for good life.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: control notelength via variable?

2011-03-21 Thread Dmytro O. Redchuk
On Sat 19 Mar 2011, 12:15 TaoCG wrote:
 Hi,
Hi!

 I need to control the length of rest and notes with a variable.
 something like:
 len = 2
 r\len
 
 this doesn't work of course but is there a way to do this?
 I tried overriding duration-log but it only changes the visual appearance.
Strange, lilypond *does* compile this:

len = #1
{
c''#len
}

but engraver c''4 actually. It's interesting.


No, i don't know how it's possible. Music function if far more complicated.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [OT] Vivi, the Virtual Violinist, plays LilyPond music

2011-03-21 Thread Dmytro O. Redchuk
On Sun 20 Mar 2011, 18:27 Graham Percival wrote:
 I really, honestly, love Vocaloid (that waste of time).
;)

That was an attempt to direct myself to better wording; i am not sure i
succeeded, sorry .)

I appreciate your tastes, of course.

 On an objective level, it's allowed many people to create music.  On a
 subjective level, listening (and watching) Vocaloid music has
 brought me more pleasure than *any* academic music composition
We can not control others and their creativity; we even can not be sure that
our creativity will make others to be more creative.

What's bad with American Idol, by the way?-)

Mmm... Can we measure the creativity factor we give to other people by our
creativity?..

Yes, i am rather pessimistic about Vocaloid's creativity factor, regardless
of how many people will be able to produce music with these technologies.

Surely, we can not compare our music with grandfather's, our tastes with
grandfather's, our creativity with grand^^10-father's, because we can not find
(can we?-) a fulcrum to stay confidently.

ps. The entropy of an isolated system... In short, things get worse.

pps. Vocaloid has no any trouble with creativity; _we_ can have some, surely.

ppps. :-) Just imagined a picture: somewhere in the future a teacher gave a
task to produce some music. All kids made good pieces using
vocaloidal-boxes in 5-15 minutes; but one, who killed me with her
creativity, spent an hour to type in lilypond what she produced breathing in
panpipe, crazy and crappy pitches .)

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: control notelength via variable?

2011-03-21 Thread Dmytro O. Redchuk
On Mon 21 Mar 2011, 09:30 David Kastrup wrote:
 Not particularly.  You can intersperse Scheme expressions with music
 events, and they are evaluated and the value, in general, is ignored.
 Nothing more, nothing less.  With one exception:
 
 #(define len (ly:export (ly:make-duration 1 0)))
 {
 c''#len
 }
I *did* say it was interesting! .)

Thank you.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [OT] Vivi, the Virtual Violinist, plays LilyPond music

2011-03-18 Thread Dmytro O. Redchuk
On Thu 17 Mar 2011, 18:08 Kieren MacMillan wrote:
 Unfortunately, lower barrier of entry almost always means more crap to
 sift through.
The more crap -- the lower criteria barrier for what is `crap'?.
The more crap will become normal and even good thing.

And at some point in the future we all will agree that is it quite good
music; why? not `crap', it's great!.

And we will be unable to distinguish as great as classical (in modern sense
of classical) from as ugly as crap (i don't know what i mean crap,
let's say).

Well... This is my english...

Stanisław Lem in his Summa Technologiae says (i hope i am not too much
wrong) that the information *is* the information if and only if here is
somebody who can recognize it as such, can accept and understand.

Let's say, i *love* J. S. Bach very much (well, let's say), as much as my
father and grandfather (etc). So, can i really be sure that i understand his
music as good as my grandfather?.. I mean that every Beethoven's symphony
contains a piece of information -- can i be sure that i can recognize it as
good as my grandfather? Yes, i know this can not be measured at all.

Anyway. I mean that at some point in the future people will like our classical
music as much as their modern, no problem, they will! -- but the level of
understanding will be lower. Because of because of more crap; because of
lower barrier of entry.

http://www.youtube.com/watch?v=P-B4sjUve3E
Isn't it rather computer-generated? Regardless of emotions on the face?..
(My friend sent this link as a great performance example or like that.)

Sorry, i may be wrong, easily.


Oh well... 42.

Yes, i know the answer; i don't know what's the question .)

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [OT] Vivi, the Virtual Violinist, plays LilyPond music

2011-03-18 Thread Dmytro O. Redchuk
On Fri 18 Mar 2011, 10:44 Graham Percival wrote:
 On Fri, Mar 18, 2011 at 10:14:48AM +0200, Dmytro O. Redchuk wrote:
  On Thu 17 Mar 2011, 18:08 Kieren MacMillan wrote:
   Unfortunately, lower barrier of entry almost always means more crap to
   sift through.
  The more crap -- the lower criteria barrier for what is `crap'?.
  The more crap will become normal and even good thing.
 
 Has that happened with books?  Have stories become total crap over
 the past 10/50/200 years?
:-)

I don't know. We can't measure this. Do we have the same sensitivity as our
grandfathers?

 I mean, (almost) everybody [in certain countries] can write text.
 500 years ago, only priests and the very rich could read and
 write.  10 years ago, (almost) everybody [in certain countries]
 has access to computers and the internet.  With computers in
 public libraries, if not their own homes.
Good example! And (almost) everybody makes a huge amount of mistakes
(which are not considered as mistakes by those who makes them, of course),
which (mistakes) change language(s) (almost) completely!

 ;O)

Ze drem vil finali kum tru!

(sorry for my English though)

 Does the amount of webfiction (including fanfics and original
 material) available on the internet mean that we can no longer
 distinguish between good writing and bad writing?  I don't think
 so.
Can we measure?

Yes, we can distinguish between (relatively) good and (relatively) bad.
But can we measure this, indeed? Can we be sure, that our good literature is
as good as our grandfather's good literature? And the same for our bad?

We can't.

 But there's essentially no barrier to entry -- you can get a
 free blogspot or something account, and start posting your stories
 immediately.
And i believe that lowering the barrier makes us believe that our good
literature is as good as... but it actually isn't.

Augean stables. Everything smells quite good.


.O) yes, i agree, we can't measure. This is my assumption only.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [OT] Vivi, the Virtual Violinist, plays LilyPond music

2011-03-18 Thread Dmytro O. Redchuk
On Fri 18 Mar 2011, 13:31 Graham Percival wrote:
 But regardless of quality, it *is* music.  It's a
 human being active, instead of watching American Idol.  It's a human
 being creative.
:-)

http://www.youtube.com/watch?v=i_RVLOsUW6U

Those who programmed it, are *very* creative. They did it for money, they did
it just for fun --- doesn't matter. They've got a lot of fun, i guess.

Those musicians are creative, too, of course.

What about those, who are listening and watching this just another idol?
Isn't it just the same fun (as if watching Americal Idol)?

Can't imagine how many issues they could fix instead of that waste of time...

=:O]

Seriously --- our creativity can make other people more active or make them
watching just another idol. The lower the barrier --- the more crap. The
more crap --- the more just another idols and the less of creativity. I
think so.

It is not a bad thing. It is the law :O)

Seriously --- we can not change this.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Roman numerals in my number sequence

2011-03-17 Thread Dmytro O. Redchuk
On Thu 17 Mar 2011, 09:13 Adam Good wrote:
 Carl thank you for the input! Unfortunately I get an error that I
 don't know how to do anything with. Below is my input and output.
 
 If you or anyone can help this would be a nice help to me. Thanks!
 Adam
 
 @@@
 
 \version 2.12.3
 
 #(define sequence-number 0)
 
 #(define-markup-command (score-sequence layout props sequence-number)
  (number?)
  (interpret-markup layout props
(markup #:circle (number-string sequence-number
 
 #(set! sequence-number (1+ sequence-number))
 \markup { \score-sequence #(fancy-format #f ~@r sequence-number) }
 
 (-- output --)
 
 GNU LilyPond 2.12.3
 Processing `Roman_numeral_count.ly'
 Parsing...Roman_numeral_count.ly:8:21: In procedure number-string in
 expression (number-string sequence-number):
 Roman_numeral_count.ly:8:21: Wrong type argument in position 1: I
fancy-format feeds I instead of 1 (II instead of 2 etc) to
\score-sequence; since it's what you need (i believe) --- just remove
number-string conversion:

%-8---
#(define sequence-number 0)

% I've renamed sequence-number to sequence-string
% inside score-sequence definition,
% since it's not a number so far:
#(define-markup-command (score-sequence layout props sequence-string)
 (string?)
  (interpret-markup layout props
 (markup #:circle sequence-string)))

#(set! sequence-number (1+ sequence-number))
\markup { \score-sequence #(fancy-format #f ~@r sequence-number) }

#(set! sequence-number (1+ sequence-number))
\markup { \score-sequence #(fancy-format #f ~@r sequence-number) }
%-8---

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: invoking stdin: a use case?

2011-03-17 Thread Dmytro O. Redchuk
On Thu 17 Mar 2011, 12:19 Federico Bruni wrote:
 Hi LilyPonders,
Hi!

 in Usage 1.2:
 
 When invoked with a filename that has no extension, the ‘.ly’ extension
 is tried first. To read input from stdin, use a dash (-) for file.
 
 I wonder what's the use of stdin.  Can you show a use case?
 
 I'm translating the Usage manual so I want to be sure that I've
 understood it correctly. I guess that the dash **replaces** the file, so
 the command is:
 
 lilypond -
cat test.ly | lilypond -o TEST -

for instance. You'll get TEST.pdf here.

Without -o TEST it produces -.pdf actually. Probably, i would like it do
make stdin.pdf really, by the way. Don't know whether it's better .)

 
 BTW, I think that in the following sentence:
 
 When ‘filename.ly’ is processed it will produce ‘filename.ps’ and
 ‘filename.pdf’ as output.
 
 ‘filename.ps’ should be removed (or at least you should say that .ps
 file will be converted to .pdf and then deleted), otherwise new users
 might wonder where the .ps file has gone.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [OT] Vivi, the Virtual Violinist, plays LilyPond music

2011-03-17 Thread Dmytro O. Redchuk
On Thu 17 Mar 2011, 15:31 Graham Percival wrote:
 As for *good* computer-performed music... it's not my favorite Miku
 work, but can you honestly say that you feel no emotion when
 watching this?
 http://www.youtube.com/watch?v=g1Dqb6uJ8WY
 (maybe you _can_ say that you feel nothing, but I can't -- the way
 her voice catches on certain notes seems heartbreaking to me)
Because it's actually a sketch?

We can see a line or two --- and feel something special about that
(different feelings for different people sometimes).

It's good.

ps. I choose really good music to feel something special usually.
But really good music is a different thing for differnet people, too.
In short -- 42 (Answer to the Ultimate Question ...), exactly.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Removing accidentals from a voice

2011-03-15 Thread Dmytro O. Redchuk
On Tue 15 Mar 2011, 15:36 Phil Holmes wrote:
 in-key note, since this would then play wrong.  It looks to me like
 the accidental engraver is in the staff context.  Is there any way
 to remove the staff engraver for just one voice of a staff?
I guess, you can move it to Voice? Remove from Staff and attach to Voice.

?

And then force it (engraver) not to print accidentals for a voice.

 
 TIA
 
 --
 Phil Holmes

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ly file giving error when trying to generate PDF

2011-03-14 Thread Dmytro O. Redchuk
.^\markup { \translate #(cons 4 -1) { \musicglyph #scripts.turn } }(
 g'''8)
  a'''4.^\markup { \translate #(cons 4 -1) { \musicglyph #scripts.turn } }(
 b'''8) c4 c'''4
  \times 2/3 { b''8[ e'( g'] b'[ e'' g''] b''[ a'' g''] fis''[ g'' e'']) }
  cis'''!8\staccato a'16( gis' a' b' cis'' d'' e'' fis'' g''! a'' bes'' b'' 
 c'''
 cis''')
  d'''8\!\f d'16 fis' a' d'' fis'' a'' cis'''16( d''') d''\staccato 
 d'''\staccato
 cis'''16( d''') d''\staccato d'''\staccato
  \times 2/3 { b''8\f[ d' g'] b'[ d'' g''] } ais''16( b'') b'\staccato
 b''\staccato ais''16( b'') b'\staccato b''\staccato
  a'!8 a''16( gis'' b'' a'' fis'' d'' a' fis' d' fis' a' d'' fis'' a'') g''!(
 fis'' g'' e'' cis'' b' cis'' a' g' fis' g' e' cis' a b cis') d'4 r4 r2
  R1 R1 R1 d'16_\markup { \italic dolce }( fis' a' g' fis' a' d'' cis'' d'' 
 a'
 fis'' e'' d'' fis'' a'' g'')
  fis''16( a'' d''' cis''' d''' cis''' d''' cis''' d''' e''' d''' cis''' d'''
 e''' fis''' d''')
  cis'''( e''' g''' e''') cis'''( e''' cis''' a'') g''( a'' g'' e'') cis''( e''
 cis'' a') g' a' g' e' cis' e' a' e' a e' a' e' cis' e' a' cis'
  d' fis' a' fis' d'' fis' a' fis' dis' fis' b' fis' dis'' fis' b' fis' e' g' 
 b'
 g' e'' g' b' g' fis' a' d''! a' fis'' a' d'' a'
  g' b' d'' b' g'' b' d'' b' fis' a' d'' a' fis'' a' d'' a' b'8 a'16 b' c'' d''
 e'' fis'' g'' a'' b'' cis'''! e''' d''' cis''' b''
  a''16 d''' a'' fis'' a'' d''' a'' fis'' g'' a'' g'' e'' g'' a'' g'' e''
  \setTextCresc d''16\ e'' d'' cis'' d'' fis'' e'' d'' cis'' d'' cis'' b' 
 cis''
 a' b' cis''
  d'' e'' d'' cis'' d'' e'' fis'' e'' dis'' e'' fis'' e'' dis'' b' cis'' dis''
 e'' dis'' e'' fis'' g'' fis'' g'' e'' fis'' g'' a'' g'' fis'' d'' e'' fis''
  g'' a'' g'' fis'' g'' b'' a'' g'' fis'' g'' a'' g'' fis'' d'' e'' fis''\!
  \times 2/3 { g''8\f[ d' g'] b'[ d'' g''] \acciaccatura c'''16 b''8([ a'' 
 b''])
 \acciaccatura e'''16 d'''8([ cis''' d''']) }
  g'''8\staccato[ d'''\staccato e'''\staccato fis'''\staccato] g'''\staccato[
 a'''\staccato b'''\staccato] g8
  gis16\f d' b d' f' f' d' f' b' b' f' b' d'' d'' b' d'' f'' f'' d'' f'' b'' 
 b''
 f'' b'' d''' d''' b'' d''' f'''8 gis
  \times 2/3 { a8\p([ bes b] c'[ cis' d'] ees'[ e' f'] fis'[ g' gis']) a'([ 
 bes'
 b'] c''[ cis'' d''] ees''[ e'' f''] fis''[ g'' gis'']) }
  a''2~ a''8([ fis'' g''! gis'']) a''2~ a''8([ fis'' g''! gis'']) a''8([ fis''
 g''! fis'']) g''([ a'' b'' cis'''])
  \acciaccatura e'''16 d'''8([ cis''' d''' e''']) fis'''8\staccato[ 
 g'''\staccato
 a'''\staccato d''\staccato]
  e''1\p~ \startTrillSpan e''1~ e''1~ e''1
  e''1^\markup { }^\markup { }^\markup { }^\markup { \musicglyph 
 #accidentals.0
 }~ \stopTrillSpan \startTrillSpan
  e''1 f''2 fis''2 g''2 gis''2 a''1~ \stopTrillSpan \startTrillSpan a''1~ 
 a''1~ a''1~
  a''8( \stopTrillSpan g''16 fis'' e'' d'' cis'' b') a'8( g'16 fis' e' d' cis' 
 b)
 a16 b cis' d' e' fis' g' a' b' cis'' b' a' g' fis' e' d'
  cis'16 d' e' fis' \setTextCresc \times 4/5 { g'16\([ a' b' cis'' d'']) }
 \times 2/3 { e''8[ d'' cis''] } b'16 a' g' fis'
  e'16 fis' g' a' \times 4/5 { b'16([ cis'' d'' e'' fis'']) } \times 2/3 { 
 g''8[
 fis'' e''] } d''16 cis'' b' a'
  g'16 a' b' cis'' \times 4/5 { d''16([ e'' fis'' g'' a'']) } b''16 a'' g'' 
 fis''
 e'' d'' cis'' b'\!
  cis''16\f e'' d'' fis'' e'' g'' fis'' a'' g'' b'' a'' cis''' b'' d''' cis'''
 e''' d'''4 r4 r2 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1
  r2^\fermata e'2^\trill^\fermata fis'4_\markup { \italic dolce }^\markup {
 sul D e G }( g' a' b'8 cis'') d''2( a')
  g'4( fis' e' fis'8 d') e'2( a) fis'4( g' a' b'8 cis'') d''2( a') b'4( g' e' 
 a')
  fis'16( g' fis' e' \times 2/3 { fis'8[ g' a'] b'[ cis'' d''] } e''16 fis'' 
 g''
 a'') b''4( g'' e'' a'')
  fis''16( g'' fis'' e'' \times 2/3 { fis''8[ g'' a''] b''[ cis''' d'''] } 
 e'''16
 fis''' g''' a''')
  b'''2_\markup { \italic dimin. }( g''' e''' a''') d'''4\pp r4 r2 R1
  cis'''16( b'' a'' b'' cis''' d''' e''' fis''') \times 2/3 { g'''8[ a' g''']
 e'''[ a' e'''] cis'''[ a' cis'''] a''[ a' a''] g''[ a' g''] e''[ a' e''] }
  d''4 r r2 R1 cis''16( d'' cis'' b' cis'' d'' e'' fis'' g'' a'' g'' fis'' e''
 fis'' e'' d'') cis''( d'' cis'' b' a' b' a' g' fis' g' fis' e' d' cis' b cis')
  \setTextCresc d'16\( e' d' cis' d' e' fis' g' a' b' a' gis' a' b' cis'' a')
 d''( e'' d'' cis'' d'' e'' fis'' g''! a'' b'' a'' gis'' a'' b'' cis''' a'')
  d''' e''' d''' cis''' d''' e''' fis''' g'''!\! a'''\f b''' a''' gis''' a'''
 b''' cis a''' d4\ff r4 d' d'' d'''4 r d'4 r r2 \bar |.
 }
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: filename in markup

2011-03-11 Thread Dmytro O. Redchuk
On Fri 11 Mar 2011, 10:04 Marek Klein wrote:
 Hi all,
 is it possible to print name of current source file with markup or some
 title?
http://lsr.dsi.unimi.it/LSR/Item?id=197 ?

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: filename in markup

2011-03-11 Thread Dmytro O. Redchuk
On Fri 11 Mar 2011, 07:57 MING TSANG wrote:
 Thank you.
 
 Additional question:  Can the path of the file name be printed also?
I'd say yes; i'd try to find the exact answer in guile's reference manual.

Sorry, can not tell more.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Accessing the name of the input file from inside LilyPond

2011-03-11 Thread Dmytro O. Redchuk
On Fri 11 Mar 2011, 18:56 Mike Solomon wrote:
 Ha!  Sorry: order of events.
 
 (1)  Wake up, search online, can't find answer.
:-)

Here is mine order of events:
 (1) go to LSR, search for file

Hope this helps =:O]

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ancient and modern from same source

2011-02-24 Thread Dmytro O. Redchuk
On Wed 23 Feb 2011, 19:46 BenkőPál wrote:
 hi all,
 
 please take a look at my wiki pages upgraded to 2.13.51.
I beg my pardon, would you please remind the URL?

Thank you.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ancient and modern from same source

2011-02-24 Thread Dmytro O. Redchuk
On Thu 24 Feb 2011, 14:59 BenkőPál wrote:
   please take a look at my wiki pages upgraded to 2.13.51.
  I beg my pardon, would you please remind the URL?
 
 sorry, my bad!
 http://wiki.lilynet.net/index.php/
 Benkop_projects#Ancient_and_modern_from_one_source
Thank you!-)

 p

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur position : catching Llilypond values...

2011-02-14 Thread Dmytro O. Redchuk
On Fri 11 Feb 2011, 16:25 David Nalesnik wrote:
 On 2/11/11, Xavier Scheuer x.sche...@gmail.com wrote:
  On 8 February 2011 22:56, David Nalesnik dnale...@umail.iu.edu wrote:
 
  Hello,
 
  There probably is a better way to do this, but the function below
  seems to do the trick.  It adds an offset to the Y-coordinate of
  either or both of the slur's attachment points.  Setting one value of
  the pair to zero will leave one end-point as it is.  (See attached
  files.)
 
  offsetPositions =
   #(define-music-function (parser location offsets) (pair?)
 #{
\once \override Slur #'positions = #(lambda (grob)
  `(,(+ (car $offsets) (cdar (ly:slur::calc-control-points grob))) .
,(+ (cdr $offsets) (cdr (cadddr (ly:slur::calc-control-points
  grob))
 #})
 
  Nice feature!
 
 Thanks!
Great snippet, really!

  Could you add it to the LSR?  http://lsr.dsi.unimi.it/
 
 Done: http://lsr.dsi.unimi.it/LSR/Snippet?id=748

Would be great it if allows to specify which grob's positions to alter, like
this:

\offsetPositions #Arpeggio #'(-2 . 2)

:O)

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur position : catching Llilypond values...

2011-02-14 Thread Dmytro O. Redchuk
On Mon 14 Feb 2011, 09:02 David Nalesnik wrote:
 On 2/14/11, Dmytro O. Redchuk brownian@gmail.com wrote:
 
  Would be great it if allows to specify which grob's positions to alter, like
  this:
 
  \offsetPositions #Arpeggio #'(-2 . 2)
Oh, yes, i see --- every grob requires it's own function to calc initial
positions, that's why it would not be so elegant for generalized function.

 Hi, Dmytro --
Hi, David!

[...]

 My only hesitation is this statement in the NR (section referenced above):
 
 When applying this trick, the new after-line-breaking callback should
 also call the old one after-line-breaking, if there is one. For
 example, if using this with Hairpin, ly:hairpin::after-line-breaking
 should also be called.
 
 I confess I don't fully understand this, and hence I'm unsure if my
 function is overly simplifed.  However, calling \offsetBrokenSpanner
 #Hairpin #'(x . y) seems to work as expected.
 
 [Note: the issue of contexts is why I used \overrideProperty instead
 of \override.  For some reason, \override will not accept
 Staff.OttavaBracket as a valid grob name.  I wonder if there is any
 drawback to using \overrideProperty, since I've seen it so
 infrequently.]
Mmm.. I know nothing about that. I don't what will happen if i create several
callbacks, attach them to the same grob and not all of them will call old one
after-line-breaking. Really, don't know :O)

Thank you for reminding this warning, thought.

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur position : catching Llilypond values...

2011-02-07 Thread Dmytro O. Redchuk
On Mon 07 Feb 2011, 16:32 Éditions IN NOMINE wrote:
 Well, let me explain  :-)
 
 I often use \once \override Voice.Slur #'positions = #'(a . b) to adjust Slur 
 position, and most of the time, I only need to modify only one of a or b.
 
 I'd like to be able to catch the default a or b value and tell
 Lily not to touch it, so that I could tell Lily something like :
 
 \once \override Voice.Slur #'positions = #'(* . b)
 
 with * = default value, which would mean whatever you want
 
 Does anybody know a clever trick for that ?
http://lsr.dsi.unimi.it/LSR/Item?id=639 ?

 
 Best regards !
 JMarc

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur position : catching Llilypond values...

2011-02-07 Thread Dmytro O. Redchuk
On Mon 07 Feb 2011, 17:51 I wrote:
 On Mon 07 Feb 2011, 16:32 Éditions IN NOMINE wrote:
  Well, let me explain  :-)
  
  I often use \once \override Voice.Slur #'positions = #'(a . b) to adjust 
  Slur position, and most of the time, I only need to modify only one of a or 
  b.
  
  I'd like to be able to catch the default a or b value and tell
  Lily not to touch it, so that I could tell Lily something like :
  
  \once \override Voice.Slur #'positions = #'(* . b)
  
  with * = default value, which would mean whatever you want
  
  Does anybody know a clever trick for that ?
 http://lsr.dsi.unimi.it/LSR/Item?id=639 ?
Sorry, i was too quick sending this.

I mean that for 'positions you might want to create something similar --
function which takes a pair and adjusts 'positions for Slur.

  
  Best regards !
  JMarc

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: horizontal beams

2011-01-19 Thread Dmytro O. Redchuk
On Wed 19 Jan 2011, 11:08 l...@internet.com.uy wrote:
 
 i'm using \override Beam #'damping = #+inf.0 to get horizontal beams
 (the only hack i know and that i could find to get horizontal
 beams). but more or less randomly some groups of notes are rendered
 with some slant. i haven been able to pin down when or why this
 happens, but below is an example, with images:
 
 
 \version 2.13.44
 
 
 \relative c''  {
\override Beam #'damping = #+inf.0
  \override Beam #'details #'round-to-zero-slope = #0
  \override Beam #'details #'damping-direction-penalty = #0

I've added these two, and it seemed to work.

 f16 g a ba c d g,a b a c   d e f g,
 f16 g a ba c d g,a b a c   d e f g,
 f16 g a ba c d g,a b a c   d e f g,
 f16 g a ba c d g,a b a c   d e f g,
 }

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem with png-file and lilypond examples in a latex-file

2011-01-05 Thread Dmytro O. Redchuk
On Wed 05 Jan 2011, 11:11 Stefan Thomas wrote:
 Dear community,
 I have a problem with including a png-file in a latex document, which also
 has lilypond-examples, that I process with lilypond-book.
 I think, it could have to do with the graphics-package of latex.
 The fact is, when I don't use figure environment, that document will be
 compiled without a problem.
 Does someone have a recommandation?
If you use pdflatex and graphicx and lilypond-book --pdf ... -- i believe
everything there should be fine.

Or, if you can't do that for some reason (let's say you need ps) -- you can
either convert png to eps or declare graphics rule to convert png to eps on
the fly, i guess.

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


  1   2   3   4   >