lilypond-user
[Top][All Lists]
Advanced

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

Re: \path in markup dashed line


From: Dimitris Marinakis
Subject: Re: \path in markup dashed line
Date: Thu, 28 Jan 2021 16:39:31 +0200

Both systems report this error

warning: unknown line-cap-style: (quote round)

/Applications/LilyPond23.app/Contents/Resources/share/lilypond/current/scm/output-ps.scm:275:49: In procedure symbol->string in _expression_ (symbol->string join):

/Applications/LilyPond23.app/Contents/Resources/share/lilypond/current/scm/output-ps.scm:275:49: Wrong type argument in position 1 (expecting symbol): (quote round)



On Thu, Jan 28, 2021 at 5:12 AM Aaron Hill <lilypond@hillvisions.com> wrote:
Sending to mailing list for visibility...

On 2021-01-27 5:37 pm, Dimitris Marinakis wrote:
> For some reason in both of my systems (Mac & PC), tested with all
> recent
> versions, this code only works correctly in 2.19.xx . With the other
> versions only the default path gets displayed. All the dashed ones
> disappear.
> What would cause such behaviour?

Changes to how outputters work it would seem.  Adding a custom stencil
command requires different work:

%%%%
% #(module-define! (resolve-module '(scm output-ps))
%   'dashed-path dashed-path-ps)

#(let* ((module (resolve-module '(scm output-ps)))
         (alist (module-ref module 'stencil-dispatch-alist '())))
   (module-define! module 'stencil-dispatch-alist
    (acons 'dashed-path dashed-path-ps alist)))
%%%%

As shown above, replace the logic that defines dashed-path as a
procedure within the output-ps module instead with logic that appends a
new dispatch entry.

With that, I was able to use 2.22.0 and compile my original code
otherwise unchanged.


-- Aaron Hill

reply via email to

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