"Thomas Morley" <[email protected]> writes:
> Likely unrelated to this issue and worth another ticket...
> Below returns unexpected result, at least for me
> ~~~
> {
> \compressFullBarRests
> \set restNumberThreshold = 0
> R1 R1
> \set restNumberThreshold = 1
> R1 R1
> }
> ~~~
Adding another R1 to each group makes clearer what happens:
restNumberThreshold is consulted at the moment the rest ends, not when
it starts. Recording it at the time of the rest start would be
additional work. There is a reason many settings like these are
actually grob properties rather than context properties: that way they
are recorded at grob creation time. For a setting that decides whether
or not to even create a grob, that is a bit tricky but it could be
considered a property of the rest itself rather than of the rest number.
--
David Kastrup
---
** [issues:#5251] document restNumberThreshold**
**Status:** Started
**Created:** Tue Jan 09, 2018 07:58 PM UTC by Malte Meyn
**Last Updated:** Thu Dec 27, 2018 01:08 PM UTC
**Owner:** Malte Meyn
**Attachments:**
-
[restNumberThreshold.png](https://sourceforge.net/p/testlilyissues/issues/5251/attachment/restNumberThreshold.png)
(2.7 kB; image/png)
As it’s fairly common, recommended by Gould, and—depending on house style for
longer measures—sometimes necessary to have single measure MMRs marked with a
“1” in orchestral parts, it should be documented how this can be achieved:
```
\set restNumberThreshold = 0
```
The default seems to be “unset” but in multi-measure-rest-engraver.cc it is
hardcoded to 1; you won’t find this value in engraver-init.ly.
---
Sent from sourceforge.net because [email protected] 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._______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto