[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \class grob property

From: David Kastrup
Subject: Re: \class grob property
Date: Mon, 14 May 2018 00:02:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Urs Liska <address@hidden> 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 any idea yet how that is implemented,
> though. This will make it possible to work with CSS in a display
> environment.
> 2) (Formatting) functions can check for a grob's class to perform
> e.g. highlighting operations (=> color all NoteHeads with class
> "temporary" red)
> In addition I would like to use that to export class information to
> MusicXML.
> Any comments or objections?

The various semantics seem to be tied more to the word "class" than a
common concept underlying the proposed uses of this property.  Maybe
explain some more what the generic concept of class should be and why
the proposed backend semantics are in every case the proper match to the

David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]