lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: #5097 Fix


From: Auto mailings of changes to Lily Issues
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: #5097 Fix programming errors associated with texted HorizontalBracket grobs
Date: Fri, 17 Mar 2017 16:22:47 +0000

I would think that it would be good to have output in spite of any warnings, or in this case, programming errors.

To even see them in the log you have to run lilypond with a special flag set, so an ordinary user would have no idea why there was no output.

I'm thinking that the best way to go about correcting this issue is just to make all the text tweaks directed tweaks. Unfortunately, it's cumbersome to tweak HorizontalBracketText,text, but concocting some behind-the-scenes magic to get any text-interface or font-interface tweaks to the right grob seems contrived and error-prone.

To make input more natural, I thought about

\startGroup "some text" c'' d'' \stopGroup

But wouldn't the user then have to write

\startGroup \default
?

(I have considered dispensing with a special grob for the text altogether, simply adding a 'text property to HorizontalBracket, along with the necessary interfaces. However, a separate grob allows easy customization, including alignment along the parent bracket through the self-alignment-interface.)


[issues:#5097] Fix programming errors associated with texted HorizontalBracket grobs

Status: New
Created: Wed Mar 15, 2017 12:03 AM UTC by David Nalesnik
Last Updated: Wed Mar 15, 2017 10:42 PM UTC
Owner: nobody

HorizontalBracket and HorizontalBracketText are both created from the same event. Thus, a tweak of a property not possessed by both grobs (such as 'text or 'thickness) will result in a programming error, unless the tweak is directed at the correct grob.

Example:

\layout {
  \context {
    \Voice
    \consists "Horizontal_bracket_engraver"
  }
}

{
  c'' -\tweak text "foo" \startGroup d'' e'' f''\stopGroup
}

Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

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