I would like to create a table of contents from the (simple) titles of
all movements in a score. That is, I would like Denemo to generate
Lilypond output similar to the one in attached file. How can I
accomplish that?
Andreas
%% LilyPond-Datei erzeugt durch Denemo Version 2.6.45
%%http://www.gnu.org/software/denemo/
\version "2.24"
CompactChordSymbols = {}
#(define DenemoTransposeStep 0)
#(define DenemoTransposeAccidental 0)
DenemoGlobalTranspose = \void {}
titledPiece = {}
AutoBarline = {}
AutoEndMovementBarline = \bar "|."
\paper {
print-all-headers = ##t
tocItemMarkup = \tocItemWithDotsMarkup
}
% The music follows
MvmntIVoiceI = {
c'4 d' e' f'\AutoBarline
g' a' b' c'' \AutoEndMovementBarline
}
MvmntIIVoiceI = {
c''4 b' a' g'\AutoBarline
f' e' d' c' \AutoEndMovementBarline
}
%Default Score Layout
#(set-default-paper-size "a4")
#(set-global-staff-size 18)
% Table of Contents
\markuplist \table-of-contents
%\pageBreak
\tocItem \markup "First piece"
\score { %Start of Movement
<<
%Start of Staff
\new Staff = "Part 1" <<
\new Voice = "MvmntIVoiceI" {
\clef treble \key c \major \time 4/4 \MvmntIVoiceI
} %End of voice
>> %End of Staff
>>
\header {
title = "First piece"
composer = "Person A"
arranger = "Person B"
}
} %End of Movement
\tocItem \markup "Second piece"
\score { %Start of Movement
<<
%Start of Staff
\new Staff = "Part 1" <<
\new Voice = "MvmntIIVoiceI" {
\clef treble \key c \major \time 4/4 \MvmntIIVoiceI
} %End of voice
>> %End of Staff
>>
\header {
title = "Second piece"
composer = "Person C"
arranger = "Person D"
}
} %End of Movement