Re: Markup command trouble
Hi David, On 25/07/2022 16:35, David Kastrup wrote: You probably meant \markup spanish = \markup \italic \etc which defines a markup command. The way you wrote it, \spanish is just a scheme function that happens to return the internals of a markup command definition. I did mean that. Strange that I didn’t remember that from when you introduced the \etc syntax—it is properly documented. Thanks for helping out and all the best! Simon
Re: Markup command trouble
Simon Albrecht writes: > Dear list, > > I wanted to define a markup command for easy switchable styling of > text and ran into an issue which seems hard to understand: > > > \version "2.23.9" > > spanish = \markup\italic \etc > > \markup \column { > \spanish \justify { test } > } > > > => “error: not a markup” > > My understanding would have been that \justify returns a list of > markups and the \spanish command, as if I had just used \italic > directly, should act on all elements of that list. What did I get > wrong? Is it just me or should that be made more predictable, if > possible? You probably meant \markup spanish = \markup \italic \etc which defines a markup command. The way you wrote it, \spanish is just a scheme function that happens to return the internals of a markup command definition. -- David Kastrup
Markup command trouble
Dear list, I wanted to define a markup command for easy switchable styling of text and ran into an issue which seems hard to understand: \version "2.23.9" spanish = \markup\italic \etc \markup \column { \spanish \justify { test } } => “error: not a markup” My understanding would have been that \justify returns a list of markups and the \spanish command, as if I had just used \italic directly, should act on all elements of that list. What did I get wrong? Is it just me or should that be made more predictable, if possible? Best, Simon