lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Markup, page-ref: do not backspace; issue 3334 (issue 8639045)


From: dak
Subject: Re: Markup, page-ref: do not backspace; issue 3334 (issue 8639045)
Date: Sat, 27 Apr 2013 05:38:12 +0000

On 2013/04/27 05:29:48, Keith wrote:

https://codereview.appspot.com/8639045/diff/1/scm/define-markup-commands.scm
File scm/define-markup-commands.scm (left):


https://codereview.appspot.com/8639045/diff/1/scm/define-markup-commands.scm#oldcode4083
scm/define-markup-commands.scm:4083: (markup #:concat (#:hspace gap
page-markup)))))))
On 2013/04/26 06:56:34, Keith wrote:
> I have not yet figured out how it worked
> correctly in version 2.14

In version 2.14, \hspace sees the current value of 'word-space'
effective in the
local construction :
   \markup { "Page" \concat {\hspace #0 "3"} "contains"}  %0.0
   \markup { "Page" {\hspace #0 "3"} "contains"}          %0.6

In version 2.14, \hspace cancels the space, either 0 or 0.6, between
itself and
"3" so both lines above have the same end-result.

(In version 2.16, \hspace sees the global 'word-space' and corrects
for it
whether it locally effective or not, closing the gap in the first
line, "Page3
contains".)

Thus the \concat that I am removing has not been needed since version
2.14 or
earlier.

That's not the full story as 2.16 and current 2.17 differ in their
treatment of concat.

Issue 1100 has only been fixed in version 2.17.16.  Maybe it is just
then that the problem surfaced?

https://codereview.appspot.com/8639045/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]