[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SVG export - how might you add classes for all graphical objects?
From: |
David Kastrup |
Subject: |
Re: SVG export - how might you add classes for all graphical objects? |
Date: |
Tue, 29 Jun 2021 22:57:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Aaron Hill <lilypond@hillvisions.com> writes:
> On 2021-06-29 1:45 pm, David Kastrup wrote:
>> Aaron Hill <lilypond@hillvisions.com> writes:
>>> Hrm... would it be better to explicitly alist-copy the result from
>>> ly:assoc-get? Actually, I guess you could do:
>>> ;;;;
>>> (alist-cons 'class ... (alist-delete 'class attribs))
>>> ;;;;
>> Either that or not even bother about deleting the other entry.
>
> If you don't remove the old entry, then the SVG looks like this:
>
> <g class="foo NoteHead" class="foo">
>
> I am fairly certain that it is not valid to have the same attribute
> name twice in an element in SGML.
Uh, ok. I was thinking of an alist as a canonical data structure and
there overriding at the front is permissable. But if it is used in that
manner...
--
David Kastrup
- Re: SVG export - how might you add classes for all graphical objects?, (continued)
- Re: SVG export - how might you add classes for all graphical objects?, Jean Abou Samra, 2021/06/29
- Re: SVG export - how might you add classes for all graphical objects?, David Kastrup, 2021/06/29
- Re: SVG export - how might you add classes for all graphical objects?, Aaron Hill, 2021/06/29
- Re: SVG export - how might you add classes for all graphical objects?, David Kastrup, 2021/06/29
- Re: SVG export - how might you add classes for all graphical objects?, Aaron Hill, 2021/06/29
- Re: SVG export - how might you add classes for all graphical objects?, Carl Sorensen, 2021/06/29
- Re: SVG export - how might you add classes for all graphical objects?,
David Kastrup <=
- Re: SVG export - how might you add classes for all graphical objects?, Jean Abou Samra, 2021/06/29
- Re: SVG export - how might you add classes for all graphical objects?, Jean Abou Samra, 2021/06/29
- Message not available
- Fwd: SVG export - how might you add classes for all graphical objects?, Matt Hood, 2021/06/29
Re: SVG export - how might you add classes for all graphical objects?, Matt Hood, 2021/06/29
Re: SVG export - how might you add classes for all graphical objects?, Matt Hood, 2021/06/29