Fix TOC: restore page breaks and remove blank page
- Change \\* back to \\ in songtocrow to allow longtable page breaks - Restore continuation header on subsequent TOC pages - Use \cleardoublepage before TOC to eliminate blank page Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -165,7 +165,7 @@
|
|||||||
% --- Render one TOC row ---
|
% --- Render one TOC row ---
|
||||||
% #1=title #2=BuLiBu #3=CL #4=SwA #5=Barde #6=LiBock #7=page
|
% #1=title #2=BuLiBu #3=CL #4=SwA #5=Barde #6=LiBock #7=page
|
||||||
\newcommand{\songtocrow}[7]{%
|
\newcommand{\songtocrow}[7]{%
|
||||||
#1 & #2 & #3 & #4 & #5 & #6 & \cellcolor{tocheadgray}\textbf{#7} \\*
|
#1 & #2 & #3 & #4 & #5 & #6 & \cellcolor{tocheadgray}\textbf{#7} \\
|
||||||
}
|
}
|
||||||
|
|
||||||
% --- Rotated column header ---
|
% --- Rotated column header ---
|
||||||
@@ -196,6 +196,13 @@
|
|||||||
& \rotheader{Carmina\newline Leonis} \\
|
& \rotheader{Carmina\newline Leonis} \\
|
||||||
\hline
|
\hline
|
||||||
\endfirsthead
|
\endfirsthead
|
||||||
|
& \rotheader{BuLiBu}
|
||||||
|
& \rotheader{CL (gr.)}
|
||||||
|
& \rotheader{SwA}
|
||||||
|
& \rotheader{Barde}
|
||||||
|
& \rotheader{LiBock}
|
||||||
|
& \rotheader{Carmina\newline Leonis} \\
|
||||||
|
\hline
|
||||||
\endhead
|
\endhead
|
||||||
\InputIfFileExists{\jobname.songtoc}{}{}%
|
\InputIfFileExists{\jobname.songtoc}{}{}%
|
||||||
\end{longtable}%
|
\end{longtable}%
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ befreundeten Stämmen, die an der Entstehung dieses Liederbuches
|
|||||||
mitgewirkt haben, ganz besonders an Andi, der auch diese Auflage des
|
mitgewirkt haben, ganz besonders an Andi, der auch diese Auflage des
|
||||||
\textit{CL} wieder maßgeblich vorangetrieben hat.
|
\textit{CL} wieder maßgeblich vorangetrieben hat.
|
||||||
|
|
||||||
\clearpage
|
\cleardoublepage
|
||||||
|
|
||||||
% --- Table of Contents ---
|
% --- Table of Contents ---
|
||||||
\printsongtoc
|
\printsongtoc
|
||||||
\clearpage
|
\newpage
|
||||||
|
|
||||||
% --- Reset page numbering: first song = page 1 ---
|
% --- Reset page numbering: first song = page 1 ---
|
||||||
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
||||||
|
|||||||
Reference in New Issue
Block a user