3 \usepackage[left=2.5cm,right=2.5cm,top=3cm,bottom=3cm]{geometry}
14 \renewcommand\thepage{\roman{page}}
15 \newcommand\pagefoot{\thepage}
17 %% Set various lengths.
18 \setlength{\parskip}{\medskipamount}
19 \setlength{\parindent}{0pt}
21 %% Set section numbering depth.
22 \setcounter{secnumdepth}{0}
24 %% Set up headers and footers.
28 \renewcommand{\headrulewidth}{0.0pt}
29 \renewcommand{\footrulewidth}{0.0pt}
31 %% Revert to original table of contents.
33 \renewcommand{\tableofcontents}{\py@OldTableofcontents}
40 \textbf{\Huge ${title}}\par
42 \textbf{\LARGE ${author}}\par
44 \includegraphics[width=\textwidth]{${image}}\par
46 \textit{\large ${edition}}\par
48 \textbf{\large ${extra}}\par
56 \fancyfoot[C]{\pagefoot}
59 Authors: ${author}\par
62 Cover: \textit{${imagetitle}} ${imageinfo}
70 \fancyfoot[C]{\pagefoot}
76 \fancyfoot[C]{\pagefoot}
77 \pagenumbering{arabic}
78 \renewcommand\thepage{\arabic{page}}
82 %% Start the main chapter text.
84 \setcounter{secnumdepth}{1}
87 %% Start the appendices
89 \setcounter{secnumdepth}{0}
92 %% Disable standard title (but keep PDF info).
93 \renewcommand{\maketitle}{
96 % These \defs are required to deal with multi-line authors; it
97 % changes \\ to ', ' (comma-space), making it pass muster for
98 % generating document info in the PDF file.
109 %% Fix up index and references.
112 \renewcommand{\theindex}{
116 \addcontentsline{toc}{section}{Index}
119 \renewcommand{\thebibliography}[1]{
122 \py@OldThebibliography{1}
123 \addcontentsline{toc}{section}{References}
128 %% For picture alphabet drop caps
129 \newcommand{\dropcap}[1]{\lettrine[lines=3]{\ECFAPicture{\fontsize{50}{60}\selectfont #1}\normalfont}{}}