[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Overriding stencil of StringNumber leads to "programming error" messages
From: |
David Kastrup |
Subject: |
Overriding stencil of StringNumber leads to "programming error" messages |
Date: |
Wed, 07 Dec 2011 11:58:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Hi,
the awful spacing of input/regression/tablature-harmonic-functions.ly
let me to investigate, and it is apparently due to StringNumber being
set to transparent, meaning that it still occupies space. I tried now
to do
\new Voice \with { \override StringNumber #'stencil = ##f }
{ \clef "treble_8"
e,1 | % check whether tab note head is restored
\harmonicByFret #12 e'4\1 ~
\harmonicByFret #12 e'4\1 (
\ottava #1
\harmonicByFret #7 e'4\1)
\harmonicByFret #5 e'8\1
\ottava #2
\harmonicByFret #4 < b\2 e'\1 >8 |
\harmonicByFret #3 < g\3 b\2 e'\1 >4
\harmonicByFret #2.7 < g\3 b\2 e'\1 >4
\harmonicByFret #2.3 < g\3 b\2 e'\1 >4
\harmonicByFret #2 < g\3 b\2 e'\1 >4 |
\ottava #0
}
instead (removing the New_fingering_engraver is not an option since it
is responsible for more than just string numbers), but I get programming
errors in return:
Interpreting music...
Preprocessing graphical objects...
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
programming error: cannot align on self: empty element
continuing, cross fingers
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps'...
Converting to `./test.pdf'...
Success: compilation successfully completed
Compilation finished at Wed Dec 7 11:57:07
I think this should be made to work.
--
David Kastrup
- Overriding stencil of StringNumber leads to "programming error" messages,
David Kastrup <=