annotate dottes.tex.section-tunes @ 846:6bd946700312

Only the first title should be converted to from sort to display order. Subtitles don't influence display order, so don't need to be touched. OK, I now have a subtitle with a comma ('Ring the Bell, Watchman'). If it was the main title I'd have to do something else, but it isn't, so for now...
author Jim Hague <jim.hague@acm.org>
date Sat, 23 Mar 2019 06:59:37 +0000
parents f5f6517a8bdf
children a284fc64cb75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
601
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
1 % ----- Tunes and intro page for a section.
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
2
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
3 \newpage
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
4
677
b45a87f4ccdb Make sure section names strip any '-<instrument>' filename decoration.
Jim Hague <jim.hague@acm.org>
parents: 602
diff changeset
5 \addcontentsline{toc}{chapter}{@SECTIONNAME@ tunes}
601
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
6
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
7 \vspace*{\fill}
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
8
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
9 \begin{center}
602
c95364aa550c Put the title and subtitle on the section intro page.
Jim Hague <jim.hague@acm.org>
parents: 601
diff changeset
10 {\Huge \input{@SECTION@-title.txt}}\\[\baselineskip]
c95364aa550c Put the title and subtitle on the section intro page.
Jim Hague <jim.hague@acm.org>
parents: 601
diff changeset
11 {\Large \input{@SECTION@-subtitle.txt}}
601
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
12 \end{center}
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
13
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
14 \vspace*{\fill}
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
15
814
f5f6517a8bdf Add section picture to the section title page on printed Bookes only.
Jim Hague <jim.hague@acm.org>
parents: 677
diff changeset
16 \showsectiongraphic{@SECTION@-image.jpg}
601
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
17 \input{@SECTION@-intro.tex}
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
18
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
19 \newpage
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
20
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
21 {
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
22 \newcolumntype{L}{p{0.25\textwidth}}%
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
23 \newcolumntype{R}{>{\raggedleft\arraybackslash}p{0.25\textwidth}}%
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
24 \newcolumntype{C}{>{\centering\arraybackslash}X}%
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
25 \renewcommand{\tabularxcolumn}[1]{m{#1}}%
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
26 \renewcommand{\tabcolsep}{0pt}
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
27
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
28 \input{@SECTION@-tunes.tex}
507d853433ef Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
29 }