|
From: | Robin Bannister |
Subject: | Issue 2026 (markup utility) should keep empty-markup positionless |
Date: | Wed, 1 Feb 2012 21:44:34 +0100 |
This is fixed if we move the definition of the \null markup to the before the empty-markup declaration and change empty-markup to(define-public (empty-markup) make-null-markup)) ...It's built the docs successfully and run reg-tests OK.
OK, the docs say \null markup is an "empty markup", merely a single point, but it has _position_, which empty-markup does not. The following snippet demonstrates this difference: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
offset = \markup \translate #'(9 . 9) "offset"\markup \line { "concat with empty-markup:" \box \concat { \empty-markup \offset } " concat with null markup: "\box \concat { \null \offset }
} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Cheers, Robin
[Prev in Thread] | Current Thread | [Next in Thread] |