|
From: | Johannes Roeßler |
Subject: | Re: Footer text from header |
Date: | Tue, 19 Mar 2024 19:15:12 +0100 |
User-agent: | Mozilla Thunderbird |
Hi Aaron,
thx for your input - I'm aware of
separating those information in include files, just tried to make
a minimal example :)
And I aim to separate content from
style - but in order to have the right (and changing) footer text
for each piece in a book environment, I need to get this
information from the header and can't define it in the common
\paper env - or do I miss something?
And defining and adding your idea with
the \as-string command seems not to work:
-----8<------------------
\version "2.24.0"
#(define-markup-command (as-string layout props arg) (markup?) (interpret-markup layout props (markup->string arg))) {a4} \header { title = \markup \fill-line { \override #'(font-name . "Calluna") \abs-fontsize #22 "Title" \null } composer = "Composer" } \paper { oddFooterMarkup = \markup \as-string { \fill-line { \tiny { {"Edited by Joei"} \line {\fromproperty #'header:composer " - " \fromproperty #'header:title } "Copyright 2024" } } } } -----8<------------------
Best regards
Joei On 2024-03-19 9:35 am, Johannes Roeßler wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |