Re: Header as argument in score generating function

2018-01-13 Thread David Kastrup
Simon Albrecht writes: > On 13.01.2018 19:28, Thomas Morley wrote: >> Btw, if I'm not mistaken, "module?" is not even listed in the >> guile-manual, neither guile-1.8 nor guile-2.2.3 > > Astounding. > > ~/lilypond-git$ git grep 'module?' > ly/context-mods-init.ly: (if (output-module? module)

Re: Header as argument in score generating function

2018-01-13 Thread Pierre-Luc Gauthier
Might this be related or even interesting : http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00454.html 2018-01-13 15:46 GMT-05:00 Simon Albrecht : > On 13.01.2018 19:28, Thomas Morley wrote: >> >> Btw, if I'm not mistaken, "module?" is not even listed in the >> guile-manual, neither gui

Re: Header as argument in score generating function

2018-01-13 Thread Simon Albrecht
On 13.01.2018 19:28, Thomas Morley wrote: Btw, if I'm not mistaken, "module?" is not even listed in the guile-manual, neither guile-1.8 nor guile-2.2.3 Astounding. ~/lilypond-git$ git grep 'module?' ly/context-mods-init.ly: (if (output-module? module) scm/framework-ps.scm:  (if (module? he

Re: Header as argument in score generating function

2018-01-13 Thread Thomas Morley
2018-01-13 17:05 GMT+01:00 Pierre-Luc Gauthier : > > FTR, At first I tried "ly:module?" as a predicate. > Also, I did look for any "module" predicate in the predefined type > predicates documentation page. > The "module?" is not listed in this page. > ^ Should I notify the bug list? Well, we do

Re: Header as argument in score generating function

2018-01-13 Thread Pierre-Luc Gauthier
Hi Thomas, > 2018-01-13 3:30 GMT+01:00 Pierre-Luc Gauthier : >> Expecting music, found # >> I did read and tried stuff based on : >> http://lilypond.org/doc/v2.19/Documentation/notation/predefined-type-predicates.en.html 2018-01-13 1:16 GMT-05:00 Thomas Morley : > As the error-message states, d

Re: Header as argument in score generating function

2018-01-12 Thread Thomas Morley
2018-01-13 3:30 GMT+01:00 Pierre-Luc Gauthier : > Hi there, > > Is there a way to pass a \header block as an argument to a scheme function? > > I have not found the correct predicate for it and get the following error : > Expecting music, found # > > I did read and tried stuff based on : > http://l

Header as argument in score generating function

2018-01-12 Thread Pierre-Luc Gauthier
Hi there, Is there a way to pass a \header block as an argument to a scheme function? I have not found the correct predicate for it and get the following error : Expecting music, found # I did read and tried stuff based on : http://lilypond.org/doc/v2.19/Documentation/notation/predefined-type-pr