Re: \class grob property

2018-05-18 Thread Paul Morris
Huh, looks like I already created a changes entry and regtests for this output-attributes feature. https://codereview.appspot.com/308430043 https://sourceforge.net/p/testlilyissues/issues/4974/ I think I didn't do user documentation because the previous ID-only functionality didn't have any. 

Re: \class grob property

2018-05-17 Thread Urs Liska
Am 17.05.2018 um 15:46 schrieb David Kastrup: Paul Morris writes: On 05/17/2018 09:00 AM, David Kastrup wrote: Man, I must have slept through this. "this is already supported in 2.19" is misleading if it's actually only supported _outside_ of 2.19, namely by chancing upon people in the kn

Re: \class grob property

2018-05-17 Thread David Kastrup
Paul Morris writes: > On 05/17/2018 09:00 AM, David Kastrup wrote: > >> Man, I must have slept through this. "this is already supported in >> 2.19" is misleading if it's actually only supported _outside_ of 2.19, >> namely by chancing upon people in the know in the mailing lists. >> >> The probl

Re: \class grob property

2018-05-17 Thread Paul Morris
On 05/17/2018 09:00 AM, David Kastrup wrote: Man, I must have slept through this. "this is already supported in 2.19" is misleading if it's actually only supported _outside_ of 2.19, namely by chancing upon people in the know in the mailing lists. The problem with that kind of support is that

Re: \class grob property

2018-05-17 Thread David Kastrup
Paul Morris writes: > Hi Urs, > > On 05/13/2018 02:02 PM, Urs Liska wrote: > >> 1) for SVG output the objects would get the class assigned (along >> with an id). I don't have any idea yet how that is implemented, >> though. This will make it possible to work with CSS in a display >> environment.

Re: \class grob property

2018-05-17 Thread Urs Liska
Hi Paul, thanks for this information. This is indeed exactly what I was looking for and will make life easier for several things. I think we'll be investigating the options in this year's GSoC project, maybe that will be helpful thinking about hierarchical stylesheets another way. Best Ur

Re: \class grob property

2018-05-17 Thread Paul Morris
Hi Urs, On 05/13/2018 02:02 PM, Urs Liska wrote: 1) for SVG output the objects would get the class assigned (along with an id). I don't have any idea yet how that is implemented, though. This will make it possible to work with CSS in a display environment. You'll be glad to know this is alre

Re: \class grob property

2018-05-14 Thread Thomas Morley
2018-05-14 11:55 GMT+02:00 Urs Liska : > I wasn't aware of the fact that you can simply add unknown properties to the > 'details'. It's a little so-so. 'details is an established grob-property, and we don't type-check sub-properties. But not every grob has 'details per default Meaning: compilin

Re: \class grob property

2018-05-14 Thread Urs Liska
Hi Harm, Am 14.05.2018 um 10:36 schrieb Thomas Morley: 2018-05-14 8:50 GMT+02:00 Urs Liska : Am 14.05.2018 um 00:02 schrieb David Kastrup: Urs Liska writes: Hi all, I'm thinking about having a new grob property \class, but before digging deeper I'd like to put the idea up for discussion.

Re: \class grob property

2018-05-14 Thread Thomas Morley
2018-05-14 8:50 GMT+02:00 Urs Liska : > > > Am 14.05.2018 um 00:02 schrieb David Kastrup: >> >> Urs Liska writes: >> >>> Hi all, >>> >>> I'm thinking about having a new grob property \class, but before >>> digging deeper I'd like to put the idea up for discussion. >>> >>> This would have two diffe

Re: \class grob property

2018-05-13 Thread Urs Liska
Am 14.05.2018 um 00:02 schrieb David Kastrup: Urs Liska writes: Hi all, I'm thinking about having a new grob property \class, but before digging deeper I'd like to put the idea up for discussion. This would have two different goals: 1) for SVG output the objects would get the class assign

Re: \class grob property

2018-05-13 Thread David Kastrup
Urs Liska writes: > Hi all, > > I'm thinking about having a new grob property \class, but before > digging deeper I'd like to put the idea up for discussion. > > This would have two different goals: > > 1) for SVG output the objects would get the class assigned (along with > an id). I don't have

\class grob property

2018-05-13 Thread Urs Liska
Hi all, I'm thinking about having a new grob property \class, but before digging deeper I'd like to put the idea up for discussion. This would have two different goals: 1) for SVG output the objects would get the class assigned (along with an id). I don't have any idea yet how that is implem