lilypond-devel
[Top][All Lists]
Advanced

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

Syntax-change and tmp-files


From: Thomas Morley
Subject: Syntax-change and tmp-files
Date: Sat, 3 Oct 2020 15:37:39 +0200

Hi,

the following code works up to 2.21.4:

\version "2.18.2"
pts-list = #'(-0.5 0 0.5 0 0 1)
#(define test-stencil
  (ly:make-stencil
    `(polygon ',pts-list 0.1 #t)
    '(-0.5 . 0.5)
    '(0 . 1)))
\markup \stencil #test-stencil

With recent master (2.21.7) I get:

Unsupported SCM value for format: (-0.5 0 0.5 0 0 1)
Converting to `atest-105.pdf'...
warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH
-dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-287200)'
failed (256)
fatal error: failed files: "atest-105.ly"

And two tmp-files are generated (ps and pdf) and _not_ deleted.

With 2.21.7 the correct syntax would be:
pts-list = #'(-0.5 0 0.5 0 0 1)
#(define test-stencil
  (ly:make-stencil
    `(polygon ,pts-list 0.1 #t)
    '(-0.5 . 0.5)
    '(0 . 1)))
\markup \stencil #test-stencil

Note: ',pts-list vs ,pts-list

Is it possible to write a convert-rule? (I needed two hours to track it down)
Furthermore, those tmp-files are going on my nerves. I collected 20 of
them before I found the above mentioned culprit. Any chance to delete
them, if compilation fails?

Cheers,
  Harm



reply via email to

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