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
<0>: In procedure symbol->string in expression (symbol->string join):

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



On Thu, Jan 28, 2021 at 5:12 AM Aaron Hill <lilyp...@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