projects
/
ibg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6f14da
)
Added history page for LaTeX-PDF output.
author
David Griffith
<dave@661.org>
Thu, 14 Apr 2016 08:25:08 +0000
(
01:25
-0700)
committer
David Griffith
<dave@661.org>
Thu, 14 Apr 2016 08:25:08 +0000
(
01:25
-0700)
conf.py
patch
|
blob
|
history
config/preamble.tex
patch
|
blob
|
history
diff --git
a/conf.py
b/conf.py
index 0fce4e8dfb0136d357dca634cf343c90d1bc872a..00111b4a55a0d6ebeff1d12d0a22d530bd7a3422 100644
(file)
--- a/
conf.py
+++ b/
conf.py
@@
-237,6
+237,7
@@
template = string.Template(open('config/preamble.tex').read())
latex_contents = r"""
\coverpage
\licensepage
+\historypage
\contentspage
\newpage
\maintext
diff --git
a/config/preamble.tex
b/config/preamble.tex
index 0952bc4b2a6c34aa2d096024096424e658bbb9aa..b4f8bcab981e2e010766b66afe1a71df33e8f736 100644
(file)
--- a/
config/preamble.tex
+++ b/
config/preamble.tex
@@
-69,6
+69,25
@@
\newpage
}
+%% History page.
+\def\historypage{
+ \fancyfoot[C]{\pagefoot}
+ \huge \textbf{Release history} \normalsize
+ \vspace{3em}
+
+ \begin{tabular}{|l|l|l|}
+ \hline
+ First Edition & April 2002 & \\
+ \hline
+ Second Edition & August 2002 & Minor revisions \\
+ \hline
+ Third Edition & August 2004 & Alignment with Inform 6.30 \\
+ & & Further minor revisions \\
+ \hline
+ \end{tabular}
+ \newpage
+}
+
%% Contents page.
\def\contentspage{
\fancyfoot[C]{\pagefoot}