[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bracketized key signature: \key c \major causes a core dump
From: |
David Kastrup |
Subject: |
Re: Bracketized key signature: \key c \major causes a core dump |
Date: |
Fri, 02 Sep 2016 13:28:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> Below an in-file fix curing the symptoms.
>
> David, apart from fixing the internals, does it make sense to prepare
> a patch for bracketify-stencil at the lines of:
>
> \version "2.19.47"
>
> %% not public, c/p from lily-library.scm
> #(define (other-axis a)
> (remainder (+ a 1) 2))
>
> %% doesn't makes sense to bracketify an empty stencil, hence we just
> return it
I'm not sure whether this would warrant a more detailed approach. For
one thing, there probably should be a minimum height of the brackets so
that they stay recognizable. For another, I would sort-of expect that
an empty stencil is bracketed similarly to a point-stencil _except_ that
the padding between the brackets is used only once instead of twice.
Similarly for \hspace (use the given space plus _one_ padding).
That's what feels natural and useful to me, but of course, other
behaviors might also have a reasonable rationale.
--
David Kastrup