From 6ec2076c0c3159a8ca138ab0232a09b482a01fd6 Mon Sep 17 00:00:00 2001
From: Reinhold Kainhofer <reinhold@kainhofer.com>
Date: Mon, 4 May 2009 12:40:06 +0200
Subject: [PATCH] TOC: Use section, include the Lily-generated toc file; Create
 sources biblio only when KritBericht is included

---
 TexPages_Settings.tex                         |  1 -
 Tex_Schubert_StabatMater_D383.tex             | 18 ++--------
 Tex_Schubert_StabatMater_D383_Ch.tex          |  2 +-
 Tex_Schubert_StabatMater_D383_Instruments.tex | 34 +++++++++----------
 Tex_Schubert_StabatMater_D383_LongScore.tex   |  3 +-
 5 files changed, 22 insertions(+), 36 deletions(-)

diff --git a/TexPages_Settings.tex b/TexPages_Settings.tex
index 65493af..4d83f81 100644
--- a/TexPages_Settings.tex
+++ b/TexPages_Settings.tex
@@ -19,7 +19,6 @@
 
 \newcommand{\scoreNumber}[1]{EK-014-#1}
 \newcites{bio}{Quellen / Sources:}
-\newcites{sources}{Benutzte Vorlagen}
 
 
 \geometry{left=1.5cm,right=1.5cm,top=1.5cm,bottom=1.5cm}
diff --git a/Tex_Schubert_StabatMater_D383.tex b/Tex_Schubert_StabatMater_D383.tex
index 8d96725..7c053a6 100644
--- a/Tex_Schubert_StabatMater_D383.tex
+++ b/Tex_Schubert_StabatMater_D383.tex
@@ -4,6 +4,7 @@
 \hypersetup{
     pdftitle={Franz Schubert: Stabat Mater, D.383},
 }
+\newcites{sources}{Benutzte Vorlagen}
 
 \include{TexPages_Settings}
 \scoretype{Partitur / Full Score}
@@ -30,22 +31,7 @@
 \mainmatter
 \cleardoublepage
 
-\includepdf[pages=-,
-addtotoc={
-1, section, 1, {Nr. 1 Chor}, toc53,
-6, section, 1, {Nr. 2 Arie}, toc54,
-10, section, 1, {Nr. 3 Chor}, toc55,
-15, section, 1, {Nr. 4 Duett}, toc56,
-21, section, 1, {Nr. 5 Chor}, toc57,
-27, section, 1, {Nr. 6 Arie}, toc58,
-29, section, 1, {Nr. 7 Chor}, toc59,
-48, section, 1, {Nr. 8 Arie}, toc60,
-54, section, 1, {Nr. 9 Chor}, toc61,
-64, section, 1, {Nr. 10 Terzett}, toc62,
-70, section, 1, {Nr. 11 Terzett mit Chor}, toc63,
-79, section, 1, {Nr. 12 Chor}, toc64
-}]{Schubert_StabatMater_D383}
-% \includescore{}
+\includescore{}
 
 \backmatter
 \appendix
diff --git a/Tex_Schubert_StabatMater_D383_Ch.tex b/Tex_Schubert_StabatMater_D383_Ch.tex
index 2c468da..f992100 100644
--- a/Tex_Schubert_StabatMater_D383_Ch.tex
+++ b/Tex_Schubert_StabatMater_D383_Ch.tex
@@ -20,7 +20,7 @@
 \pagebreak
 
 \chapter*{Zum Werk / About}
-\addcontentsline{toc}{chapter}{Zum Werk / About}
+\addcontentsline{toc}{section}{Zum Werk / About}
 \input{TexPages_About}
 \pagebreak
 \input{TexPages_Leben}
diff --git a/Tex_Schubert_StabatMater_D383_Instruments.tex b/Tex_Schubert_StabatMater_D383_Instruments.tex
index de82155..583eff1 100644
--- a/Tex_Schubert_StabatMater_D383_Instruments.tex
+++ b/Tex_Schubert_StabatMater_D383_Instruments.tex
@@ -20,7 +20,7 @@
 \pagebreak
 
 \chapter*{Zum Werk / About}
-\addcontentsline{toc}{chapter}{Zum Werk / About}
+\addcontentsline{toc}{section}{Zum Werk / About}
 \input{TexPages_About}
 \pagebreak
 \input{TexPages_Leben}
@@ -30,52 +30,52 @@
 \mainmatter
 \cleardoublepage
 
-\addcontentsline{toc}{chapter}{Flauto I}
+\addcontentsline{toc}{section}{Flauto I}
 \includescore{FlI}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Flauto II}
+\addcontentsline{toc}{section}{Flauto II}
 \includescore{FlII}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Oboe I}
+\addcontentsline{toc}{section}{Oboe I}
 \includescore{ObI}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Oboe II}
+\addcontentsline{toc}{section}{Oboe II}
 \includescore{ObII}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Fagotto I}
+\addcontentsline{toc}{section}{Fagotto I}
 \includescore{FagI}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Fagotto II}
+\addcontentsline{toc}{section}{Fagotto II}
 \includescore{FagII}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Contrafagotto}
+\addcontentsline{toc}{section}{Contrafagotto}
 \includescore{CFag}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Corno I}
+\addcontentsline{toc}{section}{Corno I}
 \includescore{CorI}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Corno II}
+\addcontentsline{toc}{section}{Corno II}
 \includescore{CorII}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Trombone I}
+\addcontentsline{toc}{section}{Trombone I}
 \includescore{TrI}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Trombone II}
+\addcontentsline{toc}{section}{Trombone II}
 \includescore{TrII}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Trombone III}
+\addcontentsline{toc}{section}{Trombone III}
 \includescore{TrIII}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Violino I}
+\addcontentsline{toc}{section}{Violino I}
 \includescore{VI}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Violino II}
+\addcontentsline{toc}{section}{Violino II}
 \includescore{VII}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Viola}
+\addcontentsline{toc}{section}{Viola}
 \includescore{Va}
 \cleardoublepage
-\addcontentsline{toc}{chapter}{Cello e Contrabbasso}
+\addcontentsline{toc}{section}{Cello e Contrabbasso}
 \includescore{VcB}
 
 \cleardoublepage
diff --git a/Tex_Schubert_StabatMater_D383_LongScore.tex b/Tex_Schubert_StabatMater_D383_LongScore.tex
index 8db2c92..04f8012 100644
--- a/Tex_Schubert_StabatMater_D383_LongScore.tex
+++ b/Tex_Schubert_StabatMater_D383_LongScore.tex
@@ -4,6 +4,7 @@
 \hypersetup{
     pdftitle={Franz Schubert: Stabat Mater, D.383},
 }
+\newcites{sources}{Benutzte Vorlagen}
 
 \include{TexPages_Settings}
 \scoretype{Partitur / Full Score}
@@ -20,7 +21,7 @@
 \pagebreak
 
 \chapter*{Zum Werk / About}
-\addcontentsline{toc}{chapter}{Zum Werk / About}
+\addcontentsline{toc}{section}{Zum Werk / About}
 \input{TexPages_About}
 \pagebreak
 \input{TexPages_Leben}
-- 
GitLab