Re: revising documentation for proportional spacing

2024-03-21 Thread Werner LEMBERG


> While revising the documentation for proportional spacing [...]

This is now available as

  https://gitlab.com/lilypond/lilypond/-/merge_requests/2279


Werner



Re: revising documentation for proportional spacing

2024-03-21 Thread Werner LEMBERG


>> ```
>> \override PaperColumn.used = ##t
>> ```
>
> I see in Spacing_engraver::stop_translation_timestep():
>
>   SCM proportional = get_property (this, "proportionalNotationDuration");
>   if (unsmob (proportional))
> {
>   set_property (musical_column, "shortest-playing-duration", 
> proportional);
>   set_property (musical_column, "shortest-starter-duration", 
> proportional);
>   set_property (musical_column, "used", SCM_BOOL_T);
>   return;
> }
>
> so it looks like you can remove it.

Thanks for confirmation.


Werner



Re: revising documentation for proportional spacing

2024-03-21 Thread Jean Abou Samra
> While revising the documentation for proportional spacing in the NR I
> stumbled upon
> 
> ```
> \override PaperColumn.used = ##t
> ```
> 
> that gets mentioned without any explanation.  Looking up some
> discussion in `lilypond-user` from 2006
> 
>   https://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00107.html
> 
> it seems that it was necessary then.  However, the examples given in
> these e-mails seem to work just fine with 2.25.13 if I omit setting
> the `used` property.
> 
> Does anybody know more?  Can someone confirm this observation?



I see in Spacing_engraver::stop_translation_timestep():


  SCM proportional = get_property (this, "proportionalNotationDuration");
  if (unsmob (proportional))
{
  set_property (musical_column, "shortest-playing-duration", proportional);
  set_property (musical_column, "shortest-starter-duration", proportional);
  set_property (musical_column, "used", SCM_BOOL_T);
  return;
}


so it looks like you can remove it.



signature.asc
Description: This is a digitally signed message part


revising documentation for proportional spacing

2024-03-21 Thread Werner LEMBERG


While revising the documentation for proportional spacing in the NR I
stumbled upon

```
\override PaperColumn.used = ##t
```

that gets mentioned without any explanation.  Looking up some
discussion in `lilypond-user` from 2006

  https://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00107.html

it seems that it was necessary then.  However, the examples given in
these e-mails seem to work just fine with 2.25.13 if I omit setting
the `used` property.

Does anybody know more?  Can someone confirm this observation?


Werner