Am 11.11.2016 um 19:58 schrieb Simon Albrecht:
> On 11.11.2016 19:41, Bernhard Kleine wrote:
>> I added this to testmain.ly before the \book
>>  parserDefine =
>> #(define-void-function (name val)(symbol? not-null?)
>>     (ly:parser-define! name val))
>> and got this error:
>>
>> F:/Meine Noten/EigeneNoten/WeihnachtsLieder/testmain.ly:17:2 <0>:
>> error: GUILE signaled an error for the expression beginning here
>>
>> #
>>
>> (define-void-function (name val)(symbol? not-null?)
>>
>>
>> Maybe some other requirement is missing.
>
> Likely that requirement is a (more) recent version of LilyPond. One of
> your earlier attachments said \version "2.19.5", and that version
> required the function definition to begin with
> #(define-void-function (parser location name val)(…)…)
> The parser and location arguments can be omitted since somewhere in
> the 2.19 series.
>
> Best, Simon
>
>>
Starte lilypond.exe 2.19.49 [testmain.ly]...

Processing `F:/Meine Noten/EigeneNoten/WeihnachtsLieder/testmain.ly'

Parsing...

F:/Meine Noten/EigeneNoten/WeihnachtsLieder/testmain.ly:17:2 <0>: error:
GUILE signaled an error for the expression beginning here

#

(define-void-function (name val)(symbol? not-null?)


Obviously the actual version!
the file:
\version "2.19.49"
\language "deutsch"
#(set-global-staff-size 17)
\paper {
  #(set-paper-size "a4")
}
\header {
  title = "main"
  tagline = \markup {
    Gesetzt durch Bernhard Kleine mit
    \line { LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
  }
}

parserDefine =
#(define-void-function (name val)(symbol? not-null?)
  (ly:parser-define! name val))


\book {

  \bookpart {
  \include "2test.ly"
  }
}

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to