The complete header file raises an error:

%%%%

\version "2.25.7"
\language "deutsch"

\header {
  composer = "Ignaz Reimann 1820-1885"
  title = "Pastoral-Messe in C"
  subsubtitle = "für gemischten Chor und Orgel, Streicher ad lib."
  instrument = ""
  piece = "Kyrie"
  opus = "op. 110"
  copyright = "gemeinfrei"
  tagline = "Bernhard Kleine 2023 für Kirchenchöre St. Nikolaus"
}

\paper {
  #(set-paper-size "a4")

  myStaffSize = #22

  property-defaults.fonts.serif = "Comic Sans MS"
  property-defaults.fonts.sans =  "Gill Sans MT"
  property-defaults.fonts.typewriter = "DejaVu Sans Mono"

  scoreTitleMarkup = \markup { \column {
    \on-the-fly \print-all-headers { \bookTitleMarkup \hspace #1 }
    \fill-line {
      \null
      \larger \fromproperty #'header:piece
      \fromproperty #'header:opus
    }
  }
  }


}

\include "1_Kyrie.ly"
\include "2_Gloria.ly"
\include "3_Credo.ly"
\include "4_Sanctus.ly"
\include "5_Benedictus.ly"
\include "6_AgnusDei.ly"
%%%%

Error:Starte lilypond.exe 2.25.7
[Ignaz-Reimann-1820-1885-Pastoral-Messe-in-C.ly]...

»C:/Users/bk/AppData/Local/Temp/frescobaldi-g2c2_wkj/tmp2ghnhir6/Ignaz-Reimann-1820-1885-Pastoral-Messe-in-C.ly«
wird verarbeitet

Analysieren...

C:/Users/bk/AppData/Local/Temp/frescobaldi-g2c2_wkj/tmp2ghnhir6/Ignaz-Reimann-1820-1885-Pastoral-Messe-in-C.ly:25:18:
Fehler: unknown command: `\print-all-headers'

\on-the-fly

\print-all-headers { \bookTitleMarkup \hspace #1 }


C:/Users/bk/AppData/Local/Temp/frescobaldi-g2c2_wkj/tmp2ghnhir6/Ignaz-Reimann-1820-1885-Pastoral-Messe-in-C.ly:25:18:
Fehler: falscher Typ für Argument 1; procedure erwartet,
"print-all-headers" gefunden

\on-the-fly

\print-all-headers { \bookTitleMarkup \hspace #1 }


ERROR: In procedure ly:parse-file:

In procedure reverse!: Wrong type argument in position 1:
("print-all-headers" . #f)







Am 28.01.2024 um 14:51 schrieb Bernhard Kleine:
Thanks a lot!!

Am 28.01.2024 um 13:01 schrieb Aaron Hill:
On 2024-01-28 3:44 am, Bernhard Kleine wrote:
I am sorry: I can read it having some experience with latex, but I am
unable to twist it to my purpose.

No worries.

One option would be to insert a \null markup so \fill-line has three
things it needs to play with (i.e. something to the left, something
centered, and something to the right).

%%%%
\paper {
  scoreTitleMarkup = \markup { \column {
    \on-the-fly \print-all-headers { \bookTitleMarkup \hspace #1 }
    \fill-line {
      \null
      \fromproperty #'header:piece
      \fromproperty #'header:opus
    }
  }
  }
}
%%%%

Reply via email to