Re: output-attributes in 2.20.0

2020-08-06 Thread David Kastrup
Jean Abou Samra writes: > Le 6 août 2020 à 12:21, David Kastrup < d...@gnu.org> a écrit : > > Changing > > \override NoteHead.id = #note-id > > to > > \override Score.NoteHead.output-attributes.id = #note-id > > only works if note-id is *not* a callback as I understand it. > >

Re: output-attributes in 2.20.0

2020-08-06 Thread Jean Abou Samra
Le 6 août 2020 à 12:21, David Kastrup < [1]d...@gnu.org> a écrit : Changing \override NoteHead.id = #note-id to \override Score.NoteHead.output-attributes.id = #note-id only works if note-id is *not* a callback as I understand it. Correct. I may change that eventually,

Re: output-attributes in 2.20.0

2020-08-06 Thread David Kastrup
Richard Shann writes: > Ah, thank you for that. Does convert-ly normally warn if the > substitution it makes may be wrong? No. convert-ly is a text-based replacement with no inherent knowledge of LilyPond syntax. Inherent knowledge of LilyPond syntax would be tricky since it would need to be

Re: output-attributes in 2.20.0

2020-08-06 Thread Richard Shann
On Thu, 2020-08-06 at 11:31 +0200, Jean Abou Samra wrote: >    > (*) The documentation says "SVG output can optionally contain >    metadata for graphical objects (grobs) like note heads, rests, > etc. >    This metadata can be standard SVG attributes like id and class, or >    non-standard custom

Re: output-attributes in 2.20.0

2020-08-06 Thread Jean Abou Samra
> (*) The documentation says "SVG output can optionally contain metadata for graphical objects (grobs) like note heads, rests, etc. This metadata can be standard SVG attributes like id and class, or non-standard custom attributes. Specify the attributes and their values by

Re: output-attributes in 2.20.0

2020-08-02 Thread Richard Shann
On Sun, 2020-08-02 at 14:32 +0200, David Kastrup wrote: > Richard Shann writes: > > > I'm trying to get the annotated SVG output that enables playback > > with a > > scrolling LilyPond score working in 2.20. > > > > In the changes http://lilypond.org/doc/v2.20/Documentation/changes/ > > inde >

Re: output-attributes in 2.20.0

2020-08-02 Thread David Kastrup
Richard Shann writes: > I'm trying to get the annotated SVG output that enables playback with a > scrolling LilyPond score working in 2.20. > > In the changes http://lilypond.org/doc/v2.20/Documentation/changes/inde > x.html I read: > > "A new output-attributes grob property is now used for svg

output-attributes in 2.20.0

2020-08-02 Thread Richard Shann
I'm trying to get the annotated SVG output that enables playback with a scrolling LilyPond score working in 2.20. In the changes http://lilypond.org/doc/v2.20/Documentation/changes/inde x.html I read: "A new output-attributes grob property is now used for svg output instead of the id grob