Re: SVG output - Group multiple grobs together

2018-01-11 Thread James Opstad
Thanks. I will work through the example. It seems it isn't possible to embed 
more than one item within a group and one group per grob is the only approach 
for the time being. If this is the case then why use groups rather than adding 
the attributes to the grob itself?


James




From: David Nalesnik <david.nales...@gmail.com>
Sent: 10 January 2018 15:21
To: James Opstad
Cc: lilypond-user@gnu.org
Subject: Re: SVG output - Group multiple grobs together

Hi James,

On Wed, Jan 10, 2018 at 5:51 AM, James Opstad <jamesops...@hotmail.com> wrote:
> Hello,
>
>
> I have been experimenting with the new output-attributes grob property for
> SVG output. For example, the following code creates a group with id="noteC"
> around the C notehead.
>
>
> \version "2.19.80"
> \pointAndClickOff
> \relative c' {
>   \once \override NoteHead.output-attributes = #'((id . noteC))
>   c4 d e f |
> }
>
> How would I include multiple grobs within the same group e.g. all the grobs
> associated with a single note (NoteHead, Stem, Accidental etc.)?
>

All grobs have pointers to other single grobs or arrays of other
grobs.  You gain access to these through such functions as
ly:grob-parent, ly:grob-object, ly:grob-array, ly:item-get-column.
The idea of "multiple grobs within the same group e.g. all the grobs
associated with a single note" can prove to be complex since your idea
of a grouping is not necesarily LilyPond's.  You may have to follow
chains of pointers--as I did below to arrive at the Stem grob from
NoteHead: i.e, through NoteColumn, the Y-parent of the NoteHead.

So here is something quickly hacked together from your code example:

\version "2.19.65"

\pointAndClickOff
\relative c' {
  \once \override NoteHead.output-attributes =
  #(lambda (grob)
 (let* ((acc (ly:grob-object grob 'accidental-grob))
(acc-name (if (ly:grob? acc) (grob::name acc) "none"))
; we need a NoteColumn object for access to other grobs
(nc (ly:grob-parent grob Y))
(stem (ly:grob-object nc 'stem))
(stem-name (if (ly:grob? stem) (grob::name stem) "none"))
(pc (ly:item-get-column grob))
(pc-name (if (ly:grob? pc) (grob::name pc) "none"))
(elts (ly:grob-object pc 'elements)))
   (display elts) ; just so you see a grob array
   (list
(cons 'id 'noteC)
(cons 'accidental acc-name)
(cons 'stem stem-name)
(cons 'column pc-name

  c4 d e f |
}

%%%

Here is a link to something you might find useful.  It stores data
about every grob encountered.

https://www.mail-archive.com/lilypond-user@gnu.org/msg117645.html

HTH,

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


Re: SVG output - Group multiple grobs together

2018-01-11 Thread Paul Morris

Hi James,  I'm cc'ing the user list, as per the usual custom.


On 01/11/2018 08:13 AM, James Opstad wrote:


Thanks. I will work through David's example. It seems it isn't 
possible to embed more than one item within a group and one group per 
grob is the only approach for the time being. If this is the case then 
why use groups rather than adding the attributes to the grob itself?




Good question.  I think it's because some grobs produce more than one 
glyph, path, or shape in the SVG, so the groups group these together as 
one thing.  Might be interesting to explore feasibility of conditionally 
adding groups only when needed (for grobs with multiple shapes) and 
otherwise adding properties to the (single) SVG shapes themselves.


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


Re: SVG output - Group multiple grobs together

2018-01-10 Thread Paul Morris

On 01/10/2018 06:51 AM, James Opstad wrote:
How would I include multiple grobs within the same group e.g. all the 
grobs associated with a single note (NoteHead, Stem, Accidental etc.)?


Hi, I don't think there is currently a way to do that.  You could give 
each grob you want to group together the same id.  Your SVG will not be 
as concise or elegant (one group per grob), but it might be a way to get 
the job done.


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


Re: SVG output - Group multiple grobs together

2018-01-10 Thread David Nalesnik
Hi James,

On Wed, Jan 10, 2018 at 5:51 AM, James Opstad  wrote:
> Hello,
>
>
> I have been experimenting with the new output-attributes grob property for
> SVG output. For example, the following code creates a group with id="noteC"
> around the C notehead.
>
>
> \version "2.19.80"
> \pointAndClickOff
> \relative c' {
>   \once \override NoteHead.output-attributes = #'((id . noteC))
>   c4 d e f |
> }
>
> How would I include multiple grobs within the same group e.g. all the grobs
> associated with a single note (NoteHead, Stem, Accidental etc.)?
>

All grobs have pointers to other single grobs or arrays of other
grobs.  You gain access to these through such functions as
ly:grob-parent, ly:grob-object, ly:grob-array, ly:item-get-column.
The idea of "multiple grobs within the same group e.g. all the grobs
associated with a single note" can prove to be complex since your idea
of a grouping is not necesarily LilyPond's.  You may have to follow
chains of pointers--as I did below to arrive at the Stem grob from
NoteHead: i.e, through NoteColumn, the Y-parent of the NoteHead.

So here is something quickly hacked together from your code example:

\version "2.19.65"

\pointAndClickOff
\relative c' {
  \once \override NoteHead.output-attributes =
  #(lambda (grob)
 (let* ((acc (ly:grob-object grob 'accidental-grob))
(acc-name (if (ly:grob? acc) (grob::name acc) "none"))
; we need a NoteColumn object for access to other grobs
(nc (ly:grob-parent grob Y))
(stem (ly:grob-object nc 'stem))
(stem-name (if (ly:grob? stem) (grob::name stem) "none"))
(pc (ly:item-get-column grob))
(pc-name (if (ly:grob? pc) (grob::name pc) "none"))
(elts (ly:grob-object pc 'elements)))
   (display elts) ; just so you see a grob array
   (list
(cons 'id 'noteC)
(cons 'accidental acc-name)
(cons 'stem stem-name)
(cons 'column pc-name

  c4 d e f |
}

%%%

Here is a link to something you might find useful.  It stores data
about every grob encountered.

https://www.mail-archive.com/lilypond-user@gnu.org/msg117645.html

HTH,

David

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


Re: SVG output with 2.19.31

2015-11-19 Thread Andrew Bernard
Answering my own issue on further investigation, I refer to Noto Sans Bold 
Italic in an override for dynamics. My system lacks the SVG fonts for this 
typeface. Enabling –V and going through the backtrace led to some insight.

But the error message presented that just refers to font #f is not very 
illuminating. Would it be an enhancement request to suggest that the missing 
font be named in the error message?

Andrew





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


Re: SVG output with 2.19.31

2015-11-19 Thread Federico Bruni
Il giorno gio 19 nov 2015 alle 11:11, Andrew Bernard 
 ha scritto:
Answering my own issue on further investigation, I refer to Noto Sans 
Bold Italic in an override for dynamics. My system lacks the SVG 
fonts for this typeface. Enabling –V and going through the 
backtrace led to some insight.


But the error message presented that just refers to font #f is not 
very illuminating. Would it be an enhancement request to suggest that 
the missing font be named in the error message?


This should be issue 3809?
https://sourceforge.net/p/testlilyissues/issues/3809/

which I cannot reproduce, BTW




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


Re: SVG output with 2.19.31

2015-11-19 Thread Andrew Bernard
Hi Federico,

Yes indeed, exactly that. And thanks.

Andrew





On 19/11/2015, 22:05, "Federico Bruni"  wrote:

>This should be issue 3809?
>https://sourceforge.net/p/testlilyissues/issues/3809/


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


Re: SVG output with 2.19.31

2015-11-19 Thread Federico Bruni
Il giorno gio 19 nov 2015 alle 12:05, Federico Bruni 
 ha scritto:

Il giorno gio 19 nov 2015 alle 11:11, Andrew Bernard
 ha scritto:
> Answering my own issue on further investigation, I refer to Noto 
Sans

> Bold Italic in an override for dynamics. My system lacks the SVG
> fonts for this typeface. Enabling –V and going through the
> backtrace led to some insight.
>
> But the error message presented that just refers to font #f is not
> very illuminating. Would it be an enhancement request to suggest 
that

> the missing font be named in the error message?

This should be issue 3809?
https://sourceforge.net/p/testlilyissues/issues/3809/

which I cannot reproduce, BTW


oops, I forgot to compile it to SVG :)
I can reproduce it


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


Re: svg output differs from pdf output

2014-04-29 Thread Jan Rosseel
Federico Bruni fedelogy at gmail.com writes:

 thanks, added to the tracker:
 
 https://code.google.com/p/lilypond/issues/detail?id=3778
 

Is it possible to raise the seviry of the bug in the tracker? It is listed
now as ugly, but in effect it is worse: under certain conditions, it makes
music unreadable. As such, this can be considered critical. 



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


Re: svg output differs from pdf output

2014-04-29 Thread Knute Snortum
It looks like this needs to be done by a project manager.  For an issue to
be critical it needs to be a regression error, that is, it works before but
doesn't now.  Did it work in 2.16?  if so, post that here:
https://code.google.com/p/lilypond/issues/detail?id=3778#c4


Knute Snortum
(via Gmail)


On Tue, Apr 29, 2014 at 5:07 AM, Jan Rosseel j...@rosseel.com wrote:

 Federico Bruni fedelogy at gmail.com writes:

  thanks, added to the tracker:
 
  https://code.google.com/p/lilypond/issues/detail?id=3778
 

 Is it possible to raise the seviry of the bug in the tracker? It is listed
 now as ugly, but in effect it is worse: under certain conditions, it makes
 music unreadable. As such, this can be considered critical.



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

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


RE: svg output differs from pdf output

2014-04-29 Thread Jan Rosseel
Yes, it works correctly in 2.16. It’s clearly a regression. 

 

I’m wondering how the backend can influence the rendering this much. In 
essence, the backend just translates already made layout/rendering decisions to 
graphical primitives. 

 

Regards, 

 

JanR

 

From: Knute Snortum [mailto:ksnor...@gmail.com] 
Sent: dinsdag 29 april 2014 16:13
To: Jan Rosseel
Cc: lilypond-user@gnu.org
Subject: Re: svg output differs from pdf output

 

It looks like this needs to be done by a project manager.  For an issue to be 
critical it needs to be a regression error, that is, it works before but 
doesn't now.  Did it work in 2.16?  if so, post that here: 
https://code.google.com/p/lilypond/issues/detail?id=3778#c4




 

Knute Snortum

(via Gmail)

 

On Tue, Apr 29, 2014 at 5:07 AM, Jan Rosseel j...@rosseel.com wrote:

Federico Bruni fedelogy at gmail.com writes:

 thanks, added to the tracker:

 https://code.google.com/p/lilypond/issues/detail?id=3778


Is it possible to raise the seviry of the bug in the tracker? It is listed
now as ugly, but in effect it is worse: under certain conditions, it makes
music unreadable. As such, this can be considered critical.



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

 

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


Re: svg output differs from pdf output

2014-04-29 Thread Federico Bruni
See last comment from Phil in the tracker: it may be related with skylines.
Disabling the skylines feature may be a workaround, if you know how to do
it (I don't).



2014-04-29 16:32 GMT+02:00 Jan Rosseel j...@rosseel.com:

 Yes, it works correctly in 2.16. It’s clearly a regression.



 I’m wondering how the backend can influence the rendering this much. In
 essence, the backend just translates already made layout/rendering
 decisions to graphical primitives.



 Regards,



 JanR



 *From:* Knute Snortum [mailto:ksnor...@gmail.com]
 *Sent:* dinsdag 29 april 2014 16:13
 *To:* Jan Rosseel
 *Cc:* lilypond-user@gnu.org

 *Subject:* Re: svg output differs from pdf output



 It looks like this needs to be done by a project manager.  For an issue to
 be critical it needs to be a regression error, that is, it works before but
 doesn't now.  Did it work in 2.16?  if so, post that here:
 https://code.google.com/p/lilypond/issues/detail?id=3778#c4




 Knute Snortum

 (via Gmail)



 On Tue, Apr 29, 2014 at 5:07 AM, Jan Rosseel j...@rosseel.com wrote:

 Federico Bruni fedelogy at gmail.com writes:

  thanks, added to the tracker:
 
  https://code.google.com/p/lilypond/issues/detail?id=3778
 

 Is it possible to raise the seviry of the bug in the tracker? It is listed
 now as ugly, but in effect it is worse: under certain conditions, it makes
 music unreadable. As such, this can be considered critical.



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



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


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


Re: svg output differs from pdf output

2014-04-29 Thread Knute Snortum
They're also looking for confirmation that this is a regression bug, so you
can do that on the tracker too.


Knute Snortum
(via Gmail)


On Tue, Apr 29, 2014 at 7:40 AM, Federico Bruni fedel...@gmail.com wrote:

 See last comment from Phil in the tracker: it may be related with skylines.
 Disabling the skylines feature may be a workaround, if you know how to do
 it (I don't).



 2014-04-29 16:32 GMT+02:00 Jan Rosseel j...@rosseel.com:

 Yes, it works correctly in 2.16. It’s clearly a regression.



 I’m wondering how the backend can influence the rendering this much. In
 essence, the backend just translates already made layout/rendering
 decisions to graphical primitives.



 Regards,



 JanR



 *From:* Knute Snortum [mailto:ksnor...@gmail.com]
 *Sent:* dinsdag 29 april 2014 16:13
 *To:* Jan Rosseel
 *Cc:* lilypond-user@gnu.org

 *Subject:* Re: svg output differs from pdf output



 It looks like this needs to be done by a project manager.  For an issue
 to be critical it needs to be a regression error, that is, it works before
 but doesn't now.  Did it work in 2.16?  if so, post that here:
 https://code.google.com/p/lilypond/issues/detail?id=3778#c4




 Knute Snortum

 (via Gmail)



 On Tue, Apr 29, 2014 at 5:07 AM, Jan Rosseel j...@rosseel.com wrote:

 Federico Bruni fedelogy at gmail.com writes:

  thanks, added to the tracker:
 
  https://code.google.com/p/lilypond/issues/detail?id=3778
 

 Is it possible to raise the seviry of the bug in the tracker? It is listed
 now as ugly, but in effect it is worse: under certain conditions, it makes
 music unreadable. As such, this can be considered critical.



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



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



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


Re: svg output differs from pdf output

2014-04-29 Thread Urs Liska

Am 29.04.2014 16:13, schrieb Knute Snortum:

For an issue to
be critical it needs to be a regression error, that is, it works before but
doesn't now.  Did it work in 2.16?


To be more specific: To be a regression it had to be working before _on 
purpose_. That is someone has to have deliberately make it work earlier. 
If it just worked before it's no regression.


Urs

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


Re: svg output differs from pdf output

2014-01-05 Thread Alex Loomis
There also seems to be something wring with the ledger lines in the pdf.



On Jan 4, 2014, at 5:50 PM, bart deruyter bart.deruy...@gmail.com wrote:

 Hi all,
 
 I ran a little test, because I often use svg as output to manipulate 
 afterwards.
 I noticed there seems to be a difference between the pdf and svg output. 
 To illustrate it, I've made a screenshot. Lilypond 2.18.0 was used, 
 frescobaldi 2.0.12 on Ubuntustudio 13.10 and on KDE. Look at the metronome 
 mark, there is a collision of the fingering notation and the metronome mark, 
 which is much lower then in the pdf output.
 (above pdf view, below, svg view)
 
 I've opened it in inkscape, the difference is not caused by the frescobaldi 
 svg viewer, the metronome mark is off in inkscape too, so I guess this must 
 be a bug. I thought I'd better check on the mailing list first, to see if 
 others have the same issue.
 
 So far it seems to be only the metronome mark that is off, but having a 
 difference does mean I'd have to check the entire score for more 
 inconsistencies if I want to use the svg-file.
 
 grtz,
 
 Bart
 
 http://www.bartart3d.be/
 On facebook
 On Twitter
 On Identi.ca
 On Google+
 snapshot1.jpg
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: svg output differs from pdf output

2014-01-05 Thread Federico Bruni
2014/1/5 Nick Payne nick.pa...@internode.on.net

 This shorter example shows the problem. When viewed on Mint 16 amd64, the
 tempo marking in the SVG output is both lower, so that it collides with the
 stem of the A, and also has insufficient space between the equals sign and
 the preceding quarter note:


thanks, added to the tracker:
https://code.google.com/p/lilypond/issues/detail?id=3778
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: svg output differs from pdf output

2014-01-05 Thread Phil Holmes
- Original Message - 
From: Alex Loomis

To: bart deruyter
Cc: lilypond-user@gnu.org
Sent: Sunday, January 05, 2014 1:30 PM
Subject: Re: svg output differs from pdf output



There also seems to be something wring with the ledger lines in the pdf.


That's almost certainly just the way PDFs are rendered on screen - where 
there are a limited number of pixels that can be used t represent a line.


--
Phil Holmes




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


Re: svg output differs from pdf output

2014-01-04 Thread Nick Payne

On 05/01/14 09:50, bart deruyter wrote:

Hi all,

I ran a little test, because I often use svg as output to manipulate 
afterwards.

I noticed there seems to be a difference between the pdf and svg output.
To illustrate it, I've made a screenshot. Lilypond 2.18.0 was used, 
frescobaldi 2.0.12 on Ubuntustudio 13.10 and on KDE. Look at the 
metronome mark, there is a collision of the fingering notation and the 
metronome mark, which is much lower then in the pdf output.
This shorter example shows the problem. When viewed on Mint 16 amd64, 
the tempo marking in the SVG output is both lower, so that it collides 
with the stem of the A, and also has insufficient space between the 
equals sign and the preceding quarter note:


\version 2.18.0


\relative c'' {

\tempo 4=76

a4

}





document.pdf
Description: Adobe PDF document
attachment: document.svg___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: svg output

2013-04-16 Thread Graham Percival
On Mon, Apr 15, 2013 at 01:25:42AM -0400, Bric wrote:
 
 How hard would it be to enhance the svg export with robust svg element id's 
 that
 retain (at least SOME of) the original lilypond's note characteristics ??
 
 instead of assigning anonymous generic inkscape object names (e.g.,
 id=rect7306 ), have id's such as:
 
 path style=... d=... id=note23_gis_head
 path style=... d=... id=note23_gis_stem
 path style=... d=... id=note23_gis_elem1
 path style=... d=... id=note23_gis_elem2
 ...
 etc.

This would be basically an extension of my patch here:
https://codereview.appspot.com/8273045
but unfortunately the academic project which would have required
that work was cancelled.  I think it would take 2-10 hours to get
the framework in place, depending on your level of familiarity
with lilypond internals.

- Graham

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


Re: svg output

2013-04-14 Thread Bric


 On March 18, 2013 at 1:38 PM Eluze elu...@gmail.com wrote:


 Bric wrote
 
  lilypond -o outfile.svg -fsvg infile.ly

 please note that lilypond adds the extension automatically so probably you
 want to write

 lilypond -o outfile -dbackend=svg infile.ly

 Eluze


How hard would it be to enhance the svg export with robust svg element id's that
retain (at least SOME of) the original lilypond's note characteristics ??

instead of assigning anonymous generic inkscape object names (e.g.,
id=rect7306 ), have id's such as:

path style=... d=... id=note23_gis_head
path style=... d=... id=note23_gis_stem
path style=... d=... id=note23_gis_elem1
path style=... d=... id=note23_gis_elem2
...
etc.

Maybe there's a category of elements that comprises both sounding notes and
rests?  I.e., duration elements ... in which case, perhaps, that should be
used instead of note above?

Also:

path style=... d=... id=bar1
path style=... d=... id=bar2
path style=... d=... id=bar3
etc...

---

I thought about the svg grouping option, but that would be a more radical
revision than creating smart id's like above. Such id's would IMPLY grouping,
semantically.  The parsers could sort out and group elements much more easily,
it seams, actually adding the svg grouping, post factum, if need be.






 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/svg-output-tp137775p142987.html
 Sent from the User mailing list archive at Nabble.com.

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

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


Re: svg output

2013-03-18 Thread Bric


 On December 16, 2012 at 4:52 PM Gerard McConnell gerine...@gmail.com wrote:

  Apparently Microsoft has created the problem:

  «Known issues with this security update

  We are aware of issues related to OpenType Font (OTF) rendering in
 applications such as PowerPoint on affected versions of Windows that occur
 after this security update is applied. We are currently investigating these
 issues and will take appropriate action to address the known issues. »

  I'll have a look at the manual and see if I can find out how to use an
 alternative font in Lilypond for now.
  Thanks again for the help,
  Gerard


Hi, guys:

I don't think I have the font problem (I'm on Ubuntu, and I viewed the attached
svg files in Inkscape with no apparent problems); however, I can't even get past
step 1 — saving as svg. I end up with a ps file, not svg. I do the
following:

lilypond -o outfile.svg -fsvg infile.ly

and that prints:

Processing `infile.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `outfile.svg.ps'...
Success: compilation successfully completed

And the only thing produced is  outfile.svg.ps, and it IS a post-script file,
not an svg.

What am I doing wrong?

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


Re: svg output

2013-03-18 Thread Noeck
Hi,

have you tried the backend svg:
lilypond -dbackend=svg infile.ly

svg uses for some reason not the format but the backend option.

Cheers,
Joram


 lilypond -o outfile.svg -fsvg infile.ly
 What am I doing wrong?

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


Re: svg output

2013-03-18 Thread Federico Bruni
2013/3/18 Noeck noeck.marb...@gmx.de

 have you tried the backend svg:
 lilypond -dbackend=svg infile.ly

 svg uses for some reason not the format but the backend option.


keep a look to this issue:
http://code.google.com/p/lilypond/issues/detail?id=967
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: svg output

2013-03-18 Thread Eluze
Bric wrote
 
 lilypond -o outfile.svg -fsvg infile.ly

please note that lilypond adds the extension automatically so probably you
want to write

lilypond -o outfile -dbackend=svg infile.ly

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/svg-output-tp137775p142987.html
Sent from the User mailing list archive at Nabble.com.

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


Re: svg output

2012-12-16 Thread Gerard McConnell
Thanks very much gents, it is a font problem.   I opened the svg file with
a text editor and replaced Lilypond's Century Schoolbook L with Times New
Roman for all text occurrences, which solved the problem.   I  guess in
order to avoid having to do that I need to make Inkscape see the Century
Schoolbook L font?   How come Lilypond can find the font but Inkscape
cannot?

By the way, I presume I'm top-posting.  I read somewhere that there's
something wrong with doing that, but doesn't it allow whoever is following
the thread to get the new material without having to go through the old
material?
Thanks again,
Gerard

On Sun, Dec 16, 2012 at 1:06 AM, SoundsFromSound
soundsfromso...@gmail.comwrote:

 Gerard McConnell-2 wrote
  Thanks Joram,
  I checked with Firefox on my machine and it displays the svg fine too.
  Does it seem that there must be some settings in Inkscape that I need to
  fix?
  Gerard
 
  On Sat, Dec 15, 2012 at 11:19 PM, Noeck lt;

  noeck.marburg@

  gt; wrote:
 
 
 
  Am 15.12.2012 23:46, schrieb Gerard McConnell:
   Phil,
   Thanks very much for the reply.  Okay, I've done the upgrade to 2.16.1
   but the problem isn't solved.  I've placed the .ly and .svg files, and
   pictures (screen dumps?) of the .pdf output from Lilypond (which is
   fine) and the display of the SVG file in Inkscape 0.48 at the
 following
   links:
  
   https://www.dropbox.com/s/41vfg7hcz9s6cho/pdfOutput.JPG
   https://www.dropbox.com/s/nukjkjfem7ys0v2/svgDisplay.JPG
   https://www.dropbox.com/s/u0w9hmn5lxazjzp/guitarTwinkle.svg
   https://www.dropbox.com/s/0pkreb1vaglknct/guitarTwinkle.ly
  I have opened your svg in Inkscape 0.48.3.1 and I can see (and edit) all
  the numbers and text and firefox also displays them.
  (Just a guess: It could be a matter of installed fonts.)
 
  Cheers,
  Joram
 
  ___
  lilypond-user mailing list
 

  lilypond-user@

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

  lilypond-user@

  https://lists.gnu.org/mailman/listinfo/lilypond-user

 A while back I also had an issue with LilyPond and SVG files but it was
 resolved by simply a font fix.
 See this thread:
 https://bugs.launchpad.net/inkscape/+bug/234562

 Does that help at all?

 Should be an easy fix,

 Ben



 -
 composer | sound designer
 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/svg-output-tp137775p137783.html
 Sent from the User mailing list archive at Nabble.com.

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

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


Re: svg output

2012-12-16 Thread Gerard McConnell
Apparently Microsoft has created the problem:

«Known issues with this security update
We are aware of issues related to OpenType Font (OTF) rendering in
applications such as PowerPoint on affected versions of Windows that occur
after this security update is applied. We are currently investigating these
issues and will take appropriate action to address the known issues. »

I'll have a look at the manual and see if I can find out how to use an
alternative font in Lilypond for now.
Thanks again for the help,
Gerard
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: svg output

2012-12-15 Thread Phil Holmes
I don't know of any.  However, that's a very old development version.  Please 
upgrade to either 2.16.1 or latest development and let us know if you still 
have problems.

--
Phil Holmes


  - Original Message - 
  From: Gerard McConnell 
  To: lilypond-user@gnu.org 
  Sent: Saturday, December 15, 2012 9:53 PM
  Subject: svg output


  Hello, 
  I'm using v 2.13.50.  Is there any known problem with the SVG output?  I'm 
losing numbers and text when I try to open it with Inkscape 0.48.
  Thanks for any help,
  Gerard



--


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


Re: svg output

2012-12-15 Thread Gerard McConnell
Phil,
Thanks very much for the reply.  Okay, I've done the upgrade to 2.16.1 but
the problem isn't solved.  I've placed the .ly and .svg files, and pictures
(screen dumps?) of the .pdf output from Lilypond (which is fine) and the
display of the SVG file in Inkscape 0.48 at the following links:

https://www.dropbox.com/s/41vfg7hcz9s6cho/pdfOutput.JPG
https://www.dropbox.com/s/nukjkjfem7ys0v2/svgDisplay.JPG
https://www.dropbox.com/s/u0w9hmn5lxazjzp/guitarTwinkle.svg
https://www.dropbox.com/s/0pkreb1vaglknct/guitarTwinkle.ly

I have found the combination of Lilypond's .svg output with further editing
in Inkscape to be the perfect solution for my needs.  Thanks very much for
any help with this.

Gerard

On Sat, Dec 15, 2012 at 10:02 PM, Phil Holmes m...@philholmes.net wrote:

 **
 I don't know of any.  However, that's a very old development
 version.  Please upgrade to either 2.16.1 or latest development and let us
 know if you still have problems.

 --
 Phil Holmes



 - Original Message -
 *From:* Gerard McConnell gerine...@gmail.com
 *To:* lilypond-user@gnu.org
 *Sent:* Saturday, December 15, 2012 9:53 PM
 *Subject:* svg output

 Hello,
 I'm using v 2.13.50.  Is there any known problem with the SVG output?  I'm
 losing numbers and text when I try to open it with Inkscape 0.48.
 Thanks for any help,
 Gerard

 --

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


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


Re: svg output

2012-12-15 Thread Noeck


Am 15.12.2012 23:46, schrieb Gerard McConnell:
 Phil,
 Thanks very much for the reply.  Okay, I've done the upgrade to 2.16.1
 but the problem isn't solved.  I've placed the .ly and .svg files, and
 pictures (screen dumps?) of the .pdf output from Lilypond (which is
 fine) and the display of the SVG file in Inkscape 0.48 at the following
 links:
 
 https://www.dropbox.com/s/41vfg7hcz9s6cho/pdfOutput.JPG
 https://www.dropbox.com/s/nukjkjfem7ys0v2/svgDisplay.JPG
 https://www.dropbox.com/s/u0w9hmn5lxazjzp/guitarTwinkle.svg
 https://www.dropbox.com/s/0pkreb1vaglknct/guitarTwinkle.ly
I have opened your svg in Inkscape 0.48.3.1 and I can see (and edit) all
the numbers and text and firefox also displays them.
(Just a guess: It could be a matter of installed fonts.)

Cheers,
Joram

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


Re: svg output

2012-12-15 Thread Gerard McConnell
Thanks Joram,
I checked with Firefox on my machine and it displays the svg fine too.
Does it seem that there must be some settings in Inkscape that I need to
fix?
Gerard

On Sat, Dec 15, 2012 at 11:19 PM, Noeck noeck.marb...@gmx.de wrote:



 Am 15.12.2012 23:46, schrieb Gerard McConnell:
  Phil,
  Thanks very much for the reply.  Okay, I've done the upgrade to 2.16.1
  but the problem isn't solved.  I've placed the .ly and .svg files, and
  pictures (screen dumps?) of the .pdf output from Lilypond (which is
  fine) and the display of the SVG file in Inkscape 0.48 at the following
  links:
 
  https://www.dropbox.com/s/41vfg7hcz9s6cho/pdfOutput.JPG
  https://www.dropbox.com/s/nukjkjfem7ys0v2/svgDisplay.JPG
  https://www.dropbox.com/s/u0w9hmn5lxazjzp/guitarTwinkle.svg
  https://www.dropbox.com/s/0pkreb1vaglknct/guitarTwinkle.ly
 I have opened your svg in Inkscape 0.48.3.1 and I can see (and edit) all
 the numbers and text and firefox also displays them.
 (Just a guess: It could be a matter of installed fonts.)

 Cheers,
 Joram

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

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


Re: svg output

2012-12-15 Thread SoundsFromSound
Gerard McConnell-2 wrote
 Thanks Joram,
 I checked with Firefox on my machine and it displays the svg fine too.
 Does it seem that there must be some settings in Inkscape that I need to
 fix?
 Gerard
 
 On Sat, Dec 15, 2012 at 11:19 PM, Noeck lt;

 noeck.marburg@

 gt; wrote:
 


 Am 15.12.2012 23:46, schrieb Gerard McConnell:
  Phil,
  Thanks very much for the reply.  Okay, I've done the upgrade to 2.16.1
  but the problem isn't solved.  I've placed the .ly and .svg files, and
  pictures (screen dumps?) of the .pdf output from Lilypond (which is
  fine) and the display of the SVG file in Inkscape 0.48 at the following
  links:
 
  https://www.dropbox.com/s/41vfg7hcz9s6cho/pdfOutput.JPG
  https://www.dropbox.com/s/nukjkjfem7ys0v2/svgDisplay.JPG
  https://www.dropbox.com/s/u0w9hmn5lxazjzp/guitarTwinkle.svg
  https://www.dropbox.com/s/0pkreb1vaglknct/guitarTwinkle.ly
 I have opened your svg in Inkscape 0.48.3.1 and I can see (and edit) all
 the numbers and text and firefox also displays them.
 (Just a guess: It could be a matter of installed fonts.)

 Cheers,
 Joram

 ___
 lilypond-user mailing list
 

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

A while back I also had an issue with LilyPond and SVG files but it was
resolved by simply a font fix.
See this thread:
https://bugs.launchpad.net/inkscape/+bug/234562

Does that help at all?

Should be an easy fix,

Ben



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/svg-output-tp137775p137783.html
Sent from the User mailing list archive at Nabble.com.

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


Re: svg output

2011-09-20 Thread Peter O'Doherty

Sorry for the noise. I was using the wrong version of lilypond.
Many thanks,
Peter


 On 09/19/2011 10:44 PM, Gerard McConnell wrote:

I don't know if this is any help, but with JEdit
%lilypond -dbackend=svg %buffer
works fine. That is, whatever is in the buffer gets output as an SVG file.
Gerard

On Mon, Sep 19, 2011 at 9:42 AM, Peter O'Doherty 
m...@peterodoherty.net mailto:m...@peterodoherty.net wrote:


Hi,
When I run this on terminal

lilypond -dbackend=svg finalscore.ly http://finalscore.ly

instead of each page of the score as seperate svg files I get one,
empty, file named finalscore.svg.

Any idea where it might be going wrong? (There is no error message.)
Thanks,
Peter



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




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


Re: svg output broken?

2011-06-11 Thread Marc Hohl

Am 11.06.2011 03:15, schrieb Patrick McCarty:

On Fri, Jun 10, 2011 at 11:56 AM, Marc Hohlm...@hohlart.de  wrote:

Am 10.06.2011 17:55, schrieb Patrick McCarty:

On Thu, Jun 9, 2011 at 11:34 PM, Marc Hohlm...@hohlart.dewrote:

Hello list,

I needed some lilypond svg graphics, and while

lilypond -dbackend=svg myfile.ly

worked with 2.13.x, it now doesn't with 2.15.0 and complains with

GNU LilyPond 2.15.0
ERROR: Wrong number of arguments to #primitive-procedure cons

Has the syntax changed? I searched in the archives, but I didn't find
anything about this.

I can't reproduce this issue, and my entire SVG testsuite passes with
2.15.0.

Please post a .ly file that's not working for you.

It is just a tiny litte file containing:

\version 2.15.0
\score {
  \new Voice { a'2 }
}

because I just needed a note with stem upwards.

Hmm, when I compile this example, a valid SVG is created.  See the
attached file.

Are you running a self-compiled LilyPond or one of the binaries from
lilypond.org?  If you're compiling it, have you tried restoring your
git tree to a pristine state before compiling?

This is strange. I use a self-compiled LilyPond with the current git status.
I am on branch master, nothing changed ...
After the most recent pull, I am on
SHA1 Id 42840bbfdfe82eddc8e04026865aef278b80fc0a
but the error message still remains.
Apart from that, everything else seems to work properly.

Regards,

Marc

Regards,
Patrick



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


Re: svg output broken?

2011-06-10 Thread Patrick McCarty
Hi Marc,

On Thu, Jun 9, 2011 at 11:34 PM, Marc Hohl m...@hohlart.de wrote:
 Hello list,

 I needed some lilypond svg graphics, and while

 lilypond -dbackend=svg myfile.ly

 worked with 2.13.x, it now doesn't with 2.15.0 and complains with

 GNU LilyPond 2.15.0
 ERROR: Wrong number of arguments to #primitive-procedure cons

 Has the syntax changed? I searched in the archives, but I didn't find
 anything about this.

I can't reproduce this issue, and my entire SVG testsuite passes with 2.15.0.

Please post a .ly file that's not working for you.

Thanks,
Patrick

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


Re: svg output broken?

2011-06-10 Thread Marc Hohl

Am 10.06.2011 17:55, schrieb Patrick McCarty:

Hi Marc,

On Thu, Jun 9, 2011 at 11:34 PM, Marc Hohlm...@hohlart.de  wrote:

Hello list,

I needed some lilypond svg graphics, and while

lilypond -dbackend=svg myfile.ly

worked with 2.13.x, it now doesn't with 2.15.0 and complains with

GNU LilyPond 2.15.0
ERROR: Wrong number of arguments to #primitive-procedure cons

Has the syntax changed? I searched in the archives, but I didn't find
anything about this.

I can't reproduce this issue, and my entire SVG testsuite passes with 2.15.0.

Please post a .ly file that's not working for you.

It is just a tiny litte file containing:

\version 2.15.0
\score {
  \new Voice { a'2 }
}

because I just needed a note with stem upwards.

TIA,

Marc

Thanks,
Patrick




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


Re: svg output broken?

2011-06-10 Thread Patrick McCarty
On Fri, Jun 10, 2011 at 11:56 AM, Marc Hohl m...@hohlart.de wrote:
 Am 10.06.2011 17:55, schrieb Patrick McCarty:
 On Thu, Jun 9, 2011 at 11:34 PM, Marc Hohlm...@hohlart.de  wrote:

 Hello list,

 I needed some lilypond svg graphics, and while

 lilypond -dbackend=svg myfile.ly

 worked with 2.13.x, it now doesn't with 2.15.0 and complains with

 GNU LilyPond 2.15.0
 ERROR: Wrong number of arguments to #primitive-procedure cons

 Has the syntax changed? I searched in the archives, but I didn't find
 anything about this.

 I can't reproduce this issue, and my entire SVG testsuite passes with
 2.15.0.

 Please post a .ly file that's not working for you.

 It is just a tiny litte file containing:

 \version 2.15.0
 \score {
  \new Voice { a'2 }
 }

 because I just needed a note with stem upwards.

Hmm, when I compile this example, a valid SVG is created.  See the
attached file.

Are you running a self-compiled LilyPond or one of the binaries from
lilypond.org?  If you're compiling it, have you tried restoring your
git tree to a pristine state before compiling?

Regards,
Patrick
attachment: test.svg___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: SVG Output problem

2010-04-23 Thread Patrick McCarty
On 2010-04-21, keith Luke wrote:
 I've been using various SVG programs slurs around lyrics per the attached
 snippet.  Inkscape, Scribus, and GIMP all do a good job, but each program
 has issues with creating multi-page PDF output.  I am hoping there is a
 neat or sneaky way of doing this in LilyPond so I don't have to go through
 multiple conversions and edits.

Hi Keith,

Thanks for posting the image.

If question is whether or not this is possible with LilyPond, I would
say Yes!, but I can't really think of any way to easily achieve the
results you want.

You *might* try adding slurs to the melody in the appropriate places,
and then using Inkscape to drag the slurs down to the appropriate
locations.

I'm sorry I can't be of more help; I don't use lyrics with LilyPond
very often, so my knowledge is a bit rusty.


Thanks,
Patrick


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


Re: SVG Output problem

2010-04-22 Thread keith Luke
I've been using various SVG programs slurs around lyrics per the attached
snippet.  Inkscape, Scribus, and GIMP all do a good job, but each program
has issues with creating multi-page PDF output.  I am hoping there is a
neat or sneaky way of doing this in LilyPond so I don't have to go through
multiple conversions and edits.

Thanks,

Keieth

On Thu, Apr 15, 2010 at 9:10 AM, Patrick McCarty pnor...@gmail.com wrote:

 Hi Keith,

 On Thu, Apr 15, 2010 at 10:25 AM, keith Luke kkll...@gmail.com wrote:
  I'm using LilyPond 2.12.3 to create SVG output with the command:
 
   lilypond -dbackend=svg xyz.ly
 
  for various LilyPond files.  I'm getting inconsistent results as most
 files
  SVG output are readable by Inkscape, but a file is giving me a problem.
  LilyPond produces the svg file but nothing shows up when I import it into
  Inkscape.  In all cases, the PDF files are generated properly.

 There are problems with the SVG output in LilyPond 2.12, and most of
 them have been fixed in 2.13.  You can look forward to better
 interoperability (and consistency) once LilyPond 2.14 is released.

  I am trying to put phrase marks around lyrics so I create the SVG file
 and
  use Inkscape to add phrase marks using the arc tool, then print the
  file out as a PDF file.
 
  Is there a way of using \markup in LilyPond to add phrase marks to lyrics
 so
  I don't have to use Inkscape?

 I don't know.  Can you send a PNG to the list that illustrates what
 you are trying to achieve?

 Thanks,
 Patrick

attachment: PhrasedLyrics.PNG___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: SVG Output problem

2010-04-15 Thread Patrick McCarty
Hi Keith,

On Thu, Apr 15, 2010 at 10:25 AM, keith Luke kkll...@gmail.com wrote:
 I'm using LilyPond 2.12.3 to create SVG output with the command:

  lilypond -dbackend=svg xyz.ly

 for various LilyPond files.  I'm getting inconsistent results as most files
 SVG output are readable by Inkscape, but a file is giving me a problem.
 LilyPond produces the svg file but nothing shows up when I import it into
 Inkscape.  In all cases, the PDF files are generated properly.

There are problems with the SVG output in LilyPond 2.12, and most of
them have been fixed in 2.13.  You can look forward to better
interoperability (and consistency) once LilyPond 2.14 is released.

 I am trying to put phrase marks around lyrics so I create the SVG file and
 use Inkscape to add phrase marks using the arc tool, then print the
 file out as a PDF file.

 Is there a way of using \markup in LilyPond to add phrase marks to lyrics so
 I don't have to use Inkscape?

I don't know.  Can you send a PNG to the list that illustrates what
you are trying to achieve?

Thanks,
Patrick


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


Re: svg output

2010-01-20 Thread Bertalan Fodor (LilyPondTool)

Yes, that's the main goal of SVG output.

Gerard McConnell wrote:
Am I wrong in thinking that when the SVG output is usable 
for Windows machines,  then that output can be imported

into Inkscape, where it can be worked on further to
produce pages like those in children's piano tutors, with
pictures, circles around clefs or key signatures, pretty much
any sort of notation and graphic on the same page?
Gerard


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


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


Re: svg output

2010-01-19 Thread Hugh Myers
SVG is not specific to Windows--- it is a web standard. If Inkscape
can manipulate SVG then you can do as described...

--hsm

On Tue, Jan 19, 2010 at 4:32 PM, Gerard McConnell gerry...@indigo.ie wrote:
 Am I wrong in thinking that when the SVG output is usable
 for Windows machines,  then that output can be imported
 into Inkscape, where it can be worked on further to
 produce pages like those in children's piano tutors, with
 pictures, circles around clefs or key signatures, pretty much
 any sort of notation and graphic on the same page?
 Gerard
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user




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


Re: svg output

2010-01-18 Thread Dmytro O. Redchuk
У сб, 2010-01-16 у 15:33 +, Graham Percival пише:
 It would be nice if somebody could check the regtest comparison...
 it's too late to recall 2.13.11 if it broke anything, but if it *did*
 break something, the sooner we find out about it, the faster we can
 fix it.
 
 More info in the Contributor's Guide 7.4 Checking and verifying issues
 http://lilypond.org/doc/v2.13/Documentation/contributor/checking-and-verifying-issues
 
 
 After that, it would be nice if somebody could check all the regtests.
  One person has been doing it, but there's no guarantee that he's
 found everything.  Again, the sooner we find out if something broke,
 the faster it will be to fix.
I feel i could try, but i feel a bit stupid, too.

---
7.6 Finding the cause of a regression

[...]

This is a job that non-programmers can do; once a problematic commit is
identified, the programmers’ job is much easier. In fact, for most
regression bugs, the majority of the time is spent simply finding the
problematic commit.
---

Please, which job, _what_ can i do?-) What should i do to identify
problematic commit?

Yes, i do have a web browser and email client :O)

Possibly, i still don't understand how to use them, please give me a
glue. Thanks!

(Can this regtests checking be automated?.. Yes, i do have
bash/sed/awk/python and some idea how to use them, it this can help.
Yes, i'm lazy too, but not so delicious and bad, probably.)

 - Graham

ps. And --- again --- thank you all who makes lilypond better.
And, again, sorry for the noise.

-- 
  Dmytro O. Redchuk



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


Re: svg output

2010-01-18 Thread Graham Percival
On Mon, Jan 18, 2010 at 9:47 AM, Dmytro O. Redchuk
brownian@gmail.com wrote:
 У сб, 2010-01-16 у 15:33 +, Graham Percival пише:
 It would be nice if somebody could check the regtest comparison...
 it's too late to recall 2.13.11 if it broke anything, but if it *did*
 break something, the sooner we find out about it, the faster we can
 fix it.

 More info in the Contributor's Guide 7.4 Checking and verifying issues
 http://lilypond.org/doc/v2.13/Documentation/contributor/checking-and-verifying-issues


 After that, it would be nice if somebody could check all the regtests.

 7.6 Finding the cause of a regression

 Please, which job, _what_ can i do?-) What should i do to identify
 problematic commit?

Sorry, I was unclear -- I'm not asking random people to find the
*cause* of a regression.  Just find a regression.

1.  Comparisons: go here, and select the version you want to check:
http://lilypond.org/test/
for example, v2.13.11-1

You'll see the difference in regtests between v2.13.10 and v2.13.11.
For any change, ask yourself if it's a change for the worse or better.
 (or just no real change at all)

2.  Checking all regtests:
http://lilypond.org/doc/v2.13/Documentation/web/development
and find the link for regression tests  (warning: downloads a large
number of images, so be patient)

Each regtest has a short description, then an image.  Does the image
match the description?  If not, send an email to bug-lilypond like

In the ancient-accidental.ly regtest, the accidentals for hufnagel
and vaticana look exactly the same.  Shouldn't they be different?

(this isn't true in 2.13.11, but if they *did* look the same, it would be a bug)

 (Can this regtests checking be automated?.. Yes, i do have
 bash/sed/awk/python and some idea how to use them, it this can help.
 Yes, i'm lazy too, but not so delicious and bad, probably.)

The regtest comparison is automated -- humans only need to check on
average a dozen images, instead of 300 or whatever.

Cheers,
- Graham


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


Re: svg output

2010-01-18 Thread Dmytro O. Redchuk
У пн, 2010-01-18 у 10:20 +, Graham Percival пише:
 1.  Comparisons: go here, and select the version you want to check:
 http://lilypond.org/test/
 for example, v2.13.11-1
 
 You'll see the difference in regtests between v2.13.10 and v2.13.11.
 For any change, ask yourself if it's a change for the worse or better.
  (or just no real change at all)
 
 2.  Checking all regtests:
 http://lilypond.org/doc/v2.13/Documentation/web/development
 and find the link for regression tests  (warning: downloads a large
 number of images, so be patient)
 
 Each regtest has a short description, then an image.  Does the image
 match the description?  If not, send an email to bug-lilypond like
 
 In the ancient-accidental.ly regtest, the accidentals for hufnagel
 and vaticana look exactly the same.  Shouldn't they be different?
 
 (this isn't true in 2.13.11, but if they *did* look the same, it would be a 
 bug)
Well... i'll try.

Just have subscribed to bug-lilypond.

The problem is... yes, i'm not a programmer, but i'm not a musician,
either :O)

For instance: In the ancient-accidental.ly regtest, the accidentals for
hufnagel and **MENSURAL** look exactly the same.  Shouldn't they be
different? I don't know actually.

Oh well... i will ask (after some read-only grace period) bug-lilypond,
thanks. Not only this question _hopefully_ :\

 
 Cheers,
 - Graham

-- 
  Dmytro O. Redchuk



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


Re: svg output

2010-01-18 Thread Graham Percival
On Mon, Jan 18, 2010 at 04:27:26PM +0200, Dmytro O. Redchuk wrote:
 For instance: In the ancient-accidental.ly regtest, the accidentals for
 hufnagel and **MENSURAL** look exactly the same.  Shouldn't they be
 different? I don't know actually.

Well, ignore any regtests that you have no clue about.

That said, in our hypothetical bug, it should be pretty clear -- I
don't know anything about ancient accidentals, but since the text
implies that ABC style is different from XYZ style, if I can't see
any visual difference I'll ask if it's a bug.

Cheers,
- Graham


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


Re: svg output

2010-01-16 Thread David Raleigh Arnold
On Thu, 14 Jan 2010 20:09:36 +
Graham Percival gra...@percival-music.ca wrote:

 new feature (*cough* bugfix)

What does that mean?

Why wasn't svg output fixed when it broke?  Is there is a
problem with priorities?  Doesn't lilypond's on line output,
including the docs, look a million times better with svg?
Isn't that important?  So it's ancient history, so what?
Why the rant?  Regards, daveA


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


Re: svg output

2010-01-16 Thread Graham Percival
On Sat, Jan 16, 2010 at 2:56 PM, David Raleigh Arnold
d...@openguitar.com wrote:
 On Thu, 14 Jan 2010 20:09:36 +
 Graham Percival gra...@percival-music.ca wrote:

 new feature (*cough* bugfix)

 What does that mean?

It means that the SVG update introduced, and relied on, so many
architectural changes that it's silly to call it a bugfix.

 Why wasn't svg output fixed when it broke?

Because nobody, INCLUDING YOURSELF, sent a well-formed patch to fix it
when it broke.

  Is there is a problem with priorities?

Yes -- yours.  You're not willing to put the effort into helping the
lilypond development team, but you feel qualified to second-guess us.

If you're interested in helping, let's talk.  We current have a bit of
a crisis with bugs -- we don't have enough people checking for
regressions.  This appears to be an item close to your interests.  And
all you need is lilypond, a web browser, and an email client.
Absolutely no programming needed.

Prime example: an hour ago I uploaded 2.13.11, but I forgot to check
the regtest comparison.  Whoops.  I'm so lazy and evil and bad.
(ladies: I'm /deliciously/ bad)

It would be nice if somebody could check the regtest comparison...
it's too late to recall 2.13.11 if it broke anything, but if it *did*
break something, the sooner we find out about it, the faster we can
fix it.

More info in the Contributor's Guide 7.4 Checking and verifying issues
http://lilypond.org/doc/v2.13/Documentation/contributor/checking-and-verifying-issues


After that, it would be nice if somebody could check all the regtests.
 One person has been doing it, but there's no guarantee that he's
found everything.  Again, the sooner we find out if something broke,
the faster it will be to fix.

... of course, if nobody cares about having a stable lilypond that
doesn't break features, then go ahead and ignore these requests for
help.  But don't come crying to me when stuff breaks.

  Doesn't lilypond's on line output,
 including the docs, look a million times better with svg?

Err, we can't make the html docs use svg.  Last time I checked, even
firefox doesn't render lilypond svgs out of the box (it required a
special ~/.font/ dir; no clue how it would be done on windows).  And
even if the open-source browsers properly render the SVG spec -- which
will probably happen within the next 3 years, but I'm not holding my
breath -- there's still the problem of IE.

I seriously doubt that we could consider such a switch for at least
the next 10 years.

 Why the rant?

The rant is because you're demanding that other people do work that
you're not willing to do yourself.  This bugs the bloody mao out of
me.

- Graham


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


Re: svg output

2010-01-16 Thread Hugh Myers
Keeping in mind that I agree with Graham on all points, here is a
recent quote from Wikipedia:

All major modern web browsers except Microsoft Internet Explorer
support and render SVG markup directly.[3] To view SVG files in
Internet Explorer, either users have to download and install a browser
plugin, or the webmaster can include SVG Web, a JavaScript library
currently under development at Google Code[4].

This suggests that 'next year in Jerusalem' is a bit closer than
previously thought.

--hsm

On Sat, Jan 16, 2010 at 8:33 AM, Graham Percival
gra...@percival-music.ca wrote:
 On Sat, Jan 16, 2010 at 2:56 PM, David Raleigh Arnold
 d...@openguitar.com wrote:
 On Thu, 14 Jan 2010 20:09:36 +
 Graham Percival gra...@percival-music.ca wrote:

 new feature (*cough* bugfix)

 What does that mean?

 It means that the SVG update introduced, and relied on, so many
 architectural changes that it's silly to call it a bugfix.

 Why wasn't svg output fixed when it broke?

 Because nobody, INCLUDING YOURSELF, sent a well-formed patch to fix it
 when it broke.

  Is there is a problem with priorities?

 Yes -- yours.  You're not willing to put the effort into helping the
 lilypond development team, but you feel qualified to second-guess us.

 If you're interested in helping, let's talk.  We current have a bit of
 a crisis with bugs -- we don't have enough people checking for
 regressions.  This appears to be an item close to your interests.  And
 all you need is lilypond, a web browser, and an email client.
 Absolutely no programming needed.

 Prime example: an hour ago I uploaded 2.13.11, but I forgot to check
 the regtest comparison.  Whoops.  I'm so lazy and evil and bad.
 (ladies: I'm /deliciously/ bad)

 It would be nice if somebody could check the regtest comparison...
 it's too late to recall 2.13.11 if it broke anything, but if it *did*
 break something, the sooner we find out about it, the faster we can
 fix it.

 More info in the Contributor's Guide 7.4 Checking and verifying issues
 http://lilypond.org/doc/v2.13/Documentation/contributor/checking-and-verifying-issues


 After that, it would be nice if somebody could check all the regtests.
  One person has been doing it, but there's no guarantee that he's
 found everything.  Again, the sooner we find out if something broke,
 the faster it will be to fix.

 ... of course, if nobody cares about having a stable lilypond that
 doesn't break features, then go ahead and ignore these requests for
 help.  But don't come crying to me when stuff breaks.

  Doesn't lilypond's on line output,
 including the docs, look a million times better with svg?

 Err, we can't make the html docs use svg.  Last time I checked, even
 firefox doesn't render lilypond svgs out of the box (it required a
 special ~/.font/ dir; no clue how it would be done on windows).  And
 even if the open-source browsers properly render the SVG spec -- which
 will probably happen within the next 3 years, but I'm not holding my
 breath -- there's still the problem of IE.

 I seriously doubt that we could consider such a switch for at least
 the next 10 years.

 Why the rant?

 The rant is because you're demanding that other people do work that
 you're not willing to do yourself.  This bugs the bloody mao out of
 me.

 - Graham


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



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


Re: svg output

2010-01-14 Thread Patrick McCarty
On Thu, Jan 14, 2010 at 9:44 AM, David Raleigh Arnold
d...@openguitar.com wrote:
 In
 /v2.6/Documentation/topdocs/NEWS.html:
 The SVG backend is now a fully functional backend.

 Please, can this be fixed this in 2.12?  It is hardly a new feature.
 Hasn't it been out of commission long enough?  TAI.  Regards, daveA

Hi,

The SVG backend was completely redone between 2.13.2 and 2.13.4, so
you will see the improvements in 2.14 (unless you want to test a
development release).

Thanks,
Patrick


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


Re: svg output

2010-01-14 Thread Patrick McCarty
On Thu, Jan 14, 2010 at 10:10 AM, Patrick McCarty pnor...@gmail.com wrote:
 On Thu, Jan 14, 2010 at 9:44 AM, David Raleigh Arnold
 d...@openguitar.com wrote:
 In
 /v2.6/Documentation/topdocs/NEWS.html:
 The SVG backend is now a fully functional backend.

 Please, can this be fixed this in 2.12?  It is hardly a new feature.
 Hasn't it been out of commission long enough?  TAI.  Regards, daveA

 The SVG backend was completely redone between 2.13.2 and 2.13.4, so
 you will see the improvements in 2.14 (unless you want to test a
 development release).

Also, please check out the links from my announcement a while back.
You'll find a lot of information about what bugs were fixed and what
features were added.

http://lists.gnu.org/archive/html/lilypond-user/2009-10/msg00057.html

Thanks,
Patrick


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


Re: svg output

2010-01-14 Thread David Raleigh Arnold
On Thu, 14 Jan 2010 10:32:25 -0800
Patrick McCarty pnor...@gmail.com wrote:

 On Thu, Jan 14, 2010 at 10:10 AM, Patrick McCarty pnor...@gmail.com wrote:
  On Thu, Jan 14, 2010 at 9:44 AM, David Raleigh Arnold
  d...@openguitar.com wrote:
  In
  /v2.6/Documentation/topdocs/NEWS.html:
  The SVG backend is now a fully functional backend.
 
  Please, can this be fixed this in 2.12?  It is hardly a new feature.
  Hasn't it been out of commission long enough?  TAI.  Regards, daveA
 
  The SVG backend was completely redone between 2.13.2 and 2.13.4, so
  you will see the improvements in 2.14 (unless you want to test a
  development release).
 
 Also, please check out the links from my announcement a while back.
 You'll find a lot of information about what bugs were fixed and what
 features were added.
 
 http://lists.gnu.org/archive/html/lilypond-user/2009-10/msg00057.html
 
 Thanks,
 Patrick

Thanks.  So the answer is no.  I thought bugfixes were applied
to stable releases.  Regards, daveA


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


Re: svg output

2010-01-14 Thread Graham Percival
On Thu, Jan 14, 2010 at 02:51:19PM -0500, David Raleigh Arnold wrote:
 
 Thanks.  So the answer is no.  I thought bugfixes were applied
 to stable releases.

That is correct.  I will not backport this new feature (*cough*
bugfix) because I am a mean and lazy person and I hate all users.

Hopefully one of these days a brave hero will arise and depose the
evil tyrant (me), but until that happens you serfs must all suffer
under my unjust reign of terror.

Have a nice day,
- Graham


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


Re: svg output

2010-01-14 Thread Patrick McCarty
On Thu, Jan 14, 2010 at 12:09 PM, Graham Percival
gra...@percival-music.ca wrote:
 On Thu, Jan 14, 2010 at 02:51:19PM -0500, David Raleigh Arnold wrote:

 Thanks.  So the answer is no.  I thought bugfixes were applied
 to stable releases.

 That is correct.  I will not backport this new feature (*cough*
 bugfix) because I am a mean and lazy person and I hate all users.

:-)

I'm not willing to backport the SVG stuff, because most of it is brand
new and relies on other architectural changes from 2.13.*

Thanks,
Patrick


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


Re: svg output in windows

2009-09-11 Thread Patrick McCarty
On 2009-09-11, Nate Lally wrote:
 Can anyone verify that svg output is supported on the windows binary?
 It doesn't show up in the help cruft and using the command line switch
 -bsvg or -fsvg doesn't do anything at all.
 I tried on both stable and devel branches.

Yes, it should work okay with Windows.

Just use this command:

  $ lilypond -dbackend=svg file.ly


-Patrick


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


Re: svg output in windows

2009-09-11 Thread Gerard McConnell

On my windows machine typing
lilypond -dbackend=svg myFileName.ly
in the DOS command window does produce an SVG file, but the noteheads, 
clefs, and barlines are missing.

All I get are staves, beams, and text.
Gerard

- Original Message - 
From: Patrick McCarty pnor...@gmail.com

To: Nate Lally nate.la...@gmail.com
Cc: lilypond-user@gnu.org
Sent: Friday, September 11, 2009 9:41 AM
Subject: Re: svg output in windows



On 2009-09-11, Nate Lally wrote:

Can anyone verify that svg output is supported on the windows binary?
It doesn't show up in the help cruft and using the command line switch
-bsvg or -fsvg doesn't do anything at all.
I tried on both stable and devel branches.


Yes, it should work okay with Windows.

Just use this command:

 $ lilypond -dbackend=svg file.ly


-Patrick


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





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


Re: svg output in windows

2009-09-11 Thread Patrick McCarty
On Fri, Sep 11, 2009 at 2:36 PM, Gerard McConnell gerry...@indigo.ie wrote:
 On my windows machine typing
 lilypond -dbackend=svg myFileName.ly
 in the DOS command window does produce an SVG file, but the noteheads,
 clefs, and barlines are missing.
 All I get are staves, beams, and text.

Ah, okay.  The SVG output has been greatly improved in the past few
months, but there are not any official releases that contain these
improvements yet.

Version 2.13.4 will have these changes, whenever it is released.

In the meantime, you can view examples of the current SVG output here:

http://uoregon.edu/~pmccarty/svg/


Thanks,
Patrick


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


Re: SVG output sponsorship

2007-08-16 Thread Erik Sandberg
On Wednesday 15 August 2007, Eduardo Vieira wrote:
 Citando Vivian Barty-Taylor [EMAIL PROTECTED]:
 I'm using various bits of graphics in this piece
  which aren't natively supported by Lilypond. Although I could add them
  all as EPS markups, the amount of time I would spend adjusting the
  positions of them makes it a lot easier to do it this way.

 Have you ever tried importing your ps file into Scribus? You could import
 and ungroup all the objects of your score, then you can adjust, move, or
 insert whatever object you want.

Ah, now I remember, this is the way I used to do to convert ps - svg. IIRC, 
you sometimes need to do a round or two of ps2ps, eps2eps, pdf2ps, or similar 
to make scribus decode the ps correctly.

Erik


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


Re: SVG output sponsorship

2007-08-15 Thread Vivian Barty-Taylor
Thanks for that suggestion. Do you know where I can get the gnome 
backend, or do I just need to download the earlier version of Lilypond?
However, I think there is a more general issue here about graphical 
notation in scores. I'm using various bits of graphics in this piece 
which aren't natively supported by Lilypond. Although I could add them 
all as EPS markups, the amount of time I would spend adjusting the 
positions of them makes it a lot easier to do it this way. The SVG 
option seemed the best because I don't lose image quality by converting 
to a bitmap, and also because Inkscape is a good piece of software. If 
fixing the SVG output isn't an option, does anyone have experiences of 
how to do this?


Thanks in advance,

Vivian.


On Aug 13, 2007, at 11:14 AM, Erik Sandberg wrote:


On Sunday 12 August 2007, Vivian Barty-Taylor wrote:

It seems to me that having reliable (bug-free) SVG output would be a
big plus for Lilypond. At the present  time, I have been unable to fix
all the font problems (not sure whether this is Lilypond or Inkscape
which is giving me trouble.) To get to where I am at I had to make a
lot of changes by hand to the SVG file which is tedious. 
(Specifically,

the italic sans-serif fonts still don't work.)

The main advantage of the SVG output (I would suggest) is that small
changes to positions of objects can be done in a WYSIWYG environment,
instead of the current estimate-how-much-I-have-to-move-that-object/
add line of code/ re-process score/ find out I haven't moved it 
enough/

moved it too much/ change values of #'padding or #'extra-offset etc.
etc. all of which is time consuming especially with big projects.


This approach has a problem: Once you change a note (say, fix a typo) 
and need

to re-run lilypond, you will have to redo all tweaks again.

You may want to take a look at the experimental gnome back-end, which 
has
existed for quite some time now (2.4 or 2.6, IIRC), but which for some 
reason
never became popular. It offers a better solution to your problem: The 
score
is displayed on the screen, and you can adjust spacing by drag-and 
drop, and
save all modifications in a separate file (containing tweaks). This 
way you
can still make musical corrections in the .ly file without having to 
redo all
spacing tweaks (except, of course, if your musical corrections 
themselves

affect spacing sufficiently to invalidate your tweaks).

Erik





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


Re: SVG output sponsorship

2007-08-15 Thread Eduardo Vieira
Citando Vivian Barty-Taylor [EMAIL PROTECTED]:

I'm using various bits of graphics in this piece
 which aren't natively supported by Lilypond. Although I could add them
 all as EPS markups, the amount of time I would spend adjusting the
 positions of them makes it a lot easier to do it this way.

Have you ever tried importing your ps file into Scribus? You could import and
ungroup all the objects of your score, then you can adjust, move, or insert
whatever object you want.

Eduardo
___
Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem
tarifas muito baratas esperando por você. Aproveite!



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


Re: SVG output sponsorship

2007-08-15 Thread Erik Sandberg
On Wednesday 15 August 2007, Vivian Barty-Taylor wrote:
 Thanks for that suggestion. Do you know where I can get the gnome
 backend, or do I just need to download the earlier version of Lilypond?

IIRC, it's a compile-time option which by default is off (i.e., you need to 
recompile lily manually).

 However, I think there is a more general issue here about graphical
 notation in scores. I'm using various bits of graphics in this piece
 which aren't natively supported by Lilypond. Although I could add them
 all as EPS markups, the amount of time I would spend adjusting the
 positions of them makes it a lot easier to do it this way. The SVG
 option seemed the best because I don't lose image quality by converting
 to a bitmap, and also because Inkscape is a good piece of software.

Again, if your only problem is to adjust offsets etc, then getting the gnome 
back-end to work may be a good solution for this problem too (i.e.: insert 
EPS markups without considering spacing offsets, then move them to the right 
spot using the gnome back-end). A problem here is that EPS images probably 
won't show up in the gnome back-end. IIRC, it's possible to store a bitmap 
preview in an EPS image; in this case it may be possible to hack the gnome 
back-end to extract  display the preview.

Erik


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


Re: SVG output sponsorship

2007-08-15 Thread Benjamin Esham
Vivian Barty-Taylor wrote:

 While I'm a committed Lilyponder, and much prefer the output to other
 programs, [fixing Lilypond's SVG output] would seem to be a valuable
 investment in terms of user-friendliness. Could you give me an estimate of
 what this would cost, Han-Wen? Are there others who would be willing to
 co-sponsor this?

I wouldn't be able to contribute much (maybe $35/€25), but would be willing
to contribute if someone were to take on this fix.  Any others?

-- 
Benjamin D. Esham
E-mail/Jabber: [EMAIL PROTECTED] | AIM bdesham128 | PGP D676BB9A
Conservative, n.  A statesman enamored of existing evils, as
opposed to a Liberal, who wants to replace them with new ones.
  — Ambrose Bierce, /The Devil's Dictionary/



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


Re: SVG output sponsorship

2007-08-14 Thread Erik Sandberg
On Sunday 12 August 2007, Vivian Barty-Taylor wrote:
 It seems to me that having reliable (bug-free) SVG output would be a
 big plus for Lilypond. At the present  time, I have been unable to fix
 all the font problems (not sure whether this is Lilypond or Inkscape
 which is giving me trouble.) To get to where I am at I had to make a
 lot of changes by hand to the SVG file which is tedious. (Specifically,
 the italic sans-serif fonts still don't work.)

 The main advantage of the SVG output (I would suggest) is that small
 changes to positions of objects can be done in a WYSIWYG environment,
 instead of the current estimate-how-much-I-have-to-move-that-object/
 add line of code/ re-process score/ find out I haven't moved it enough/
 moved it too much/ change values of #'padding or #'extra-offset etc.
 etc. all of which is time consuming especially with big projects.

This approach has a problem: Once you change a note (say, fix a typo) and need 
to re-run lilypond, you will have to redo all tweaks again.

You may want to take a look at the experimental gnome back-end, which has 
existed for quite some time now (2.4 or 2.6, IIRC), but which for some reason 
never became popular. It offers a better solution to your problem: The score 
is displayed on the screen, and you can adjust spacing by drag-and drop, and 
save all modifications in a separate file (containing tweaks). This way you 
can still make musical corrections in the .ly file without having to redo all 
spacing tweaks (except, of course, if your musical corrections themselves 
affect spacing sufficiently to invalidate your tweaks).

Erik


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