Re: My finances for working on LilyPond

2015-10-28 Thread Bruno Ruviaro
Hi David,

Please let me know via separate e-mail how I can donate.

And below is a suggestion of an alternative funding mechanism for you to
consider in the future.

It seems to me that Patreon (https://www.patreon.com/) might be a good
system in your case. (disclaimer: I have never used it myself, but I know
the founder and trust him, and I find the concept very interesting).

Patreon allows you to charge your supporters "per creation": in the case of
software development it would probably be the "release" or announcement of
a number of significant commits accumulated over a month or two. If you get
a number of happy Lilypond users to become your regular "patrons", you'd
get a more or less predictable and constant stream of support -- without
having to remind people to donate every time. For example, if I were your
supporter on the website, every time you make a release, Patreon would
automatically charge me a fixed amount (I decide how much), notify me of
your latest work, and transfer the money to you (minus Patreon's fee of
5%). From the patron side, a nice thing is that I can establish a cap for
my monthly donations (in case you do more releases in a month that I could
"afford").

Anyway, just an idea.

Thanks for your work on Lilypond. I only became a more serious user in the
last few months, and I can say I am a happy Lilypond user.

Bruno



On Thu, Oct 22, 2015 at 10:21 AM, David Kastrup  wrote:

>
> As you all know, my sole source of income are donations from happy
> LilyPond users.  It would appear that LilyPond users have stopped being
> happy with my work.
>
> I've taken a look at my last bank report.  In the last month I received:
>
> 1 donation of 200 EUR
> 1 donation of 100 EUR
> 2 donations of 25 EUR each.
>
> That's it (and honestly, the two large donations are embarrassing as
> they are by people who have done more than I ever did on LilyPond and
> who are helping people more on lists and forums than I do,
> respectively).  That does not even cover my rent, let alone medical
> insurance, food, repairs, clothes or other stuff.  Let alone pension
> funds or similar luxuries.  I'm currently bleeding about 800EUR per
> month for working on LilyPond.
>
> What has happened in the last month?
>
> dak@lola:/usr/local/tmp/lilypond$ git shortlog --since "1 month ago" -n -s
> 48  David Kastrup
> 12  Phil Holmes
>  4  Jean-Charles Malahieude
>  2  Dan Eble
>  2  James Lowe
>  1  Masamichi Hosoda
>  1  Thomas Morley
>
> Well, 48 commits does not look like much, but I implemented
> functionality to attach to slurs to single notes in a chord in that time
> (important for tablature and piano music), designed and implemented an
> interface for working with multiple slurs per Voice, fixed several bugs,
> made c:5 in chord mode a power chord rather than equivalent to c major,
> created several low-level functions for manipulating graphical object
> properties like \offset does, removed a hard-to-understand internal
> object called a "simple closure" and prepared for more simplifications.
>
> I will likely work several more months on those internals and if the
> situation has not improved by then, call it quits.
>
> I thank all those who have supported me for this long.
>
> --
> David Kastrup
>
> ___
> lilypond-user mailing list
> lilypond-u...@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Cropped SVG Output

2015-10-28 Thread David Sankel
On Sun, Oct 18, 2015 at 2:30 AM, Federico Bruni  wrote:

> Il giorno sab 17 ott 2015 alle 20:05, David Sankel  ha
> scritto:
>
>>
 The problem I'm running into is that the SVG output option produces a
 SVG
 file with a length and width of the entire page that I'm trying to
 render.
 The PNG output, on the other hand, crops the score to the area with
 visible
 elements on it. Of course, when embedding, I'm looking for a visible
 area
 crop. Does anyone know if a cropped SVG output is possible?

>>>
>>> yes, try:
>>>
>>> lilypond -dpreview -dbackend=svg test.ly
>>>
>>
>> Thanks. That looked promising but it unfortunately that didn't change the
>> output at all.
>>
>
> you must check the .preview.svg file
> the problem is that you get only the first system, as Urs already pointed
> out
>


Thanks for clearing that up. I'm happy to work on a patch that dumps a
"preview" of all systems, but I'm a bit stuck as to how. I'm looking at
'framework-svg.scm' here:

(define (output-preview-framework basename book scopes fields)
  (let* ((paper (ly:paper-book-paper book))
 (systems (relevant-book-systems book))
 (to-dump-systems (relevant-dump-systems systems)))
(dump-preview paper
  (stack-stencils Y DOWN 0.0
  (map paper-system-stencil
   (reverse to-dump-systems)))
  (format #f "~a.preview.svg" basename


Is the first system being selected by the 'relevant-dump-systems' call?
That seems to filter through all systems looking for one with an "is-title"
property. What is the "is-title" property and when would a system have it?

As an aside, I'm finding it difficult to penetrate this code base. Any
suggestions on how to get started?

-- David Sankel
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Cropped SVG Output

2015-10-28 Thread David Sankel
Answering my own question here...

On Wed, Oct 28, 2015 at 2:14 PM, David Sankel  wrote:

> I'm happy to work on a patch that dumps a "preview" of all systems, but
> I'm a bit stuck as to how. I'm looking at 'framework-svg.scm' here:
>
> (define (output-preview-framework basename book scopes fields)
>   (let* ((paper (ly:paper-book-paper book))
>  (systems (relevant-book-systems book))
>  (to-dump-systems (relevant-dump-systems systems)))
> (dump-preview paper
>   (stack-stencils Y DOWN 0.0
>   (map paper-system-stencil
>(reverse to-dump-systems)))
>   (format #f "~a.preview.svg" basename
>
>
> Is the first system being selected by the 'relevant-dump-systems' call?
> That seems to filter through all systems looking for one with an "is-title"
> property. What is the "is-title" property and when would a system have it?
>

I modified the 'relevant-dump-systems' function to keep all systems and it
worked as I hoped. Here are some conclusions:

   1. relevant-dump-systems filters through all systems and only returns
   those that have an 'is-title' property which is marked as 'true'.
   2. The first system is the only one which has the 'is-title' property
   and it is always set to 'true'. This is done in 'lily/paper-book.cc'.

Would anyone object to a patch where I add a
'-dpreview-include-all-systems' option to lilypond? This would be used in
the 'relevant-dump-systems' call in the same way that the
'-dinclude-book-title-preview' is used in the 'relevant-book-systems'
function to control title display. I would also add comments and make some
clarity motivated function renames in this patch.

-- David Sankel
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Cropped SVG Output

2015-10-28 Thread Simon Albrecht

Hello David,

On 28.10.2015 22:05, David Sankel wrote:

Would anyone object to a patch where I add a
'-dpreview-include-all-systems' option to lilypond?


Generally I’d say that patches are welcome, but certainly it makes sense 
to find out if the feature is desired before putting too much work into it.
Your suggestion sounds reasonable and useful to me; only the name I do 
find a little clumsy. How about '-dcrop-margins'?


Yours, Simon

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


Re: Cropped SVG Output

2015-10-28 Thread Urs Liska


Am 28. Oktober 2015 22:14:21 MEZ, schrieb Simon Albrecht 
:
>Hello David,
>
>On 28.10.2015 22:05, David Sankel wrote:
>> Would anyone object to a patch where I add a
>> '-dpreview-include-all-systems' option to lilypond?
>
>Generally I’d say that patches are welcome, but certainly it makes
>sense 
>to find out if the feature is desired before putting too much work into
>it.
>Your suggestion sounds reasonable and useful to me; only the name I do 
>find a little clumsy. How about '-dcrop-margins'?
>

Yes.

But I'd also investigate if that approach is actually the way to go. 
a) for the desired result it might be better to find a way to crop the final 
result.
b) stacking preview-like systems might behave quite differently wrt vertical 
spacing.

>Yours, Simon
>
>___
>lilypond-devel mailing list
>lilypond-devel@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-devel

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


Re: Cropped SVG Output

2015-10-28 Thread Paul Morris
> On Oct 28, 2015, at 5:05 PM, David Sankel  wrote:
> 
> Would anyone object to a patch where I add a '-dpreview-include-all-systems' 
> option to lilypond?

I for one am definitely interested in getting this feature into LilyPond, one 
way or another.  (I can’t speak to the best way to go about it.)  Thanks for 
working on it.

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