Perhaps you are looking for the \verbatim-file markup command.
On 01/08/2025 04:26, Lucas Cavalcanti wrote:
If possible, I'd like to add upon James's question: is it possible to
markup include a text file? Such as to import an file before the
\score environment.
Em sex., 1 de ago. de 2025, 00:21, James Harkins <[email protected]>
escreveu:
I realize this is a stupid question, but I've searched the manual
and I don't see a quick example of how to use variables for
markup. So I'm stabbing in the dark and nothing is working.
text-vars.ily:
\version "2.24.4"
\language "english"
titlepage = {
\markup \fill-line \center-column {
\vspace #10
\abs-fontsize #48 "(Title)"
\vspace #5
\abs-fontsize #24 "for woodwind quintet and fixed media"
\vspace #1
\abs-fontsize #12 "c. 12'"
}
}
front-matter-test.ly <http://front-matter-test.ly>:
\version "2.24.4"
\language "english"
\include "../common/text-vars.ily"
\markup { \titlepage }
And none of the markup commands are recognized as markup commands.
This seems a pretty basic requirement? E.g., to have front matter
that is printed in the score and repeated in parts. Maybe I'm just
dense but it isn't revealing itself in the documentation very easily.
For now I can write the markups directly in the -test file and
copy/paste later, but I'd like to use variables.
Consider this an enhancement request for the documentation to make
this easier to discover.
hjh
--
Timothy Lanfear, Bristol, UK.