Am Freitag, den 03.07.2020, 21:58 +0200 schrieb Ralf Mattes:
>
> Am Freitag, 03. Juli 2020 21:52 CEST, Urs Liska <
> [email protected]> schrieb:
>
> > Unfortunately I don't really have an idea what "#:circle" actually
> > *is*, so I have no clue about getting where I need to.
>
> Syntacilally? That would be a scheme keyword.
So that would be difficult to inject from a variable/argument, isn't
it?
I can of course do
(cond
((eq? enclosure 'circle)
(markup #:circle "CC"))
((eq? enclosure 'box)
(markup #:box "CC)))
But I'd rather do something like
(markup (assq-ref enclosures enclosure) "CC")
i.e. looking up the appropriate function instead of creating a
conditional chain.
Any ideas?
ThanksUrs
>
> Cheers, RalfD
>
> > BestUrs
> >
> >
>
>
>