From 8673b88a80ee80571be5f047120e1d68455e337b Mon Sep 17 00:00:00 2001 From: David Griffith Date: Thu, 14 Apr 2016 01:25:08 -0700 Subject: [PATCH] Added history page for LaTeX-PDF output. --- conf.py | 1 + config/preamble.tex | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/conf.py b/conf.py index 0fce4e8..00111b4 100644 --- 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 0952bc4..b4f8bca 100644 --- 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} -- 2.31.1