[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system-count bugfix
From: |
Joe Neeman |
Subject: |
Re: system-count bugfix |
Date: |
Sun, 14 May 2006 10:11:04 +1000 |
User-agent: |
KMail/1.8.3 |
On Sun, 14 May 2006 02:07, Han-Wen Nienhuys wrote:
> Joe Neeman schreef:
> > {
> > Output_def *l = pscore_->layout ();
> > - Real extent = scm_to_double (l->c_variable ("system-height"));
> > + Real extent = robust_scm2double (l->c_variable ("system-height"),
> > 12.0); Real padding = scm_to_double (l->c_variable
> > ("between-system-padding")); Real space = scm_to_double (l->c_variable
> > ("between-system-space")); bool ragged_right = to_boolean
> > (pscore_->layout ()->c_variable ("ragged-right"));
>
> Is ok, but wouldn't it be fitting to print a warning somewher about the
> need to define system-height if using constrained page breaking?
I thought it would be better just to provide a sane default and only involve
the user when it needs to be changed. But maybe ly/paper-defaults.ly would be
a better place for this?
In any case, system-height is only there until I can figure out a way to get
the actual height of a system... which is next on my TODO list, so hopefully
that won't be long now.