[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: imperfect convert-ly rules
From: |
Keith E OHara |
Subject: |
Re: imperfect convert-ly rules |
Date: |
Thu, 18 Nov 2010 14:15:49 -0800 |
User-agent: |
Opera Mail/10.63 (Win32) |
On Thu, 18 Nov 2010 12:40:08 -0800, Neil Puttock <address@hidden> wrote:
On 18 November 2010 06:21, Keith E OHara <address@hidden> wrote:
The attached text contains replacement rules for that section that
have been working for me.
I'm afraid these changes are too naïve, Keith.
But I *like* being naive, Neil.
The ugly truth is the units for vertical spacing changed from mm to staff
spaces. The current convert-ly rule also fails to convert to the new units, in
cases where units are not specified, which is the subset of cases that it
catches.
My request is that
between-system-padding = 5\mm
be converted to
system-system-spacing #'padding = 5\mm
Having convert-ly preserve my *intentions* about request space, while
converting to the new syntax, is useful, although not perfect.
Now that you have opened my eyes, I want more! Let's also change
paper-defaults-init.ly so that \mm really means millimetres :
mm = #(/ 1.0 staff-space)
in = #(* 25.4 mm)
... or something like that. I remain naive about what staff-space, ly:unit,
and output-scale actually mean.
-Keith