On 2023-05-19 11:03, Jean Abou Samra wrote:
\version "2.25.5"
#(define-markup-command (db layout props arg) (markup?)
(let ((stil (interpret-markup layout props arg)))
(pretty-print (ly:stencil-expr stil))
stil))
\markup \db abc
Terminal output:
###########
colin@Calvin:/Work$ lilypond BugTest.ly
GNU LilyPond 2.25.5 (running Guile 2.2)
Processing `BugTest.ly'
Parsing...(utf-8-string
"LilyPond Serif 3.8662109375"
"abc"
(translate-stencil
(0.0 . 0.0)
(glyph-string
#<Pango_font (#f . 1.0)>
"C059-Roman"
3.865234375
#f
((1.2291590551181102
(-0.03300964259350393 . 1.0582424612450787)
0.0
0.0
66
"a")
(1.2291590551181102
(-0.03300964259350393 . 1.6214403128075787)
0.0
0.0
67
"b")
(0.990155905511811
(-0.03300964259350393 . 1.0582424612450787)
0.0
0.0
68
"c"))
"/usr/share/fonts/opentype/urw-base35/C059-Roman.otf"
0
"abc"
((1 . 1) (1 . 1) (1 . 1)))))
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `BugTest.pdf'...
warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH
-dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-9236892)'
failed (256)
/usr/local/share/lilypond/2.25.5/ly/init.ly:66:2: error: Guile signaled
an error for the expression beginning here
#
(let ((book-handler (if (defined? 'default-toplevel-book-handler)
Throw to key `ly-file-failed' with args `()'.
#########
No PDF produced.
Cheers,
Colin