From f73a2e51f8dbfb6876afefbc0ef28cbcce6ffa4c Mon Sep 17 00:00:00 2001
From: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
Date: Thu, 21 Apr 2011 18:47:31 +0200
Subject: template per file LaTeX per generare booklet A6

---
 tools/booklet-A6.template.tex | 37 ++++++++++++++++++++++++++++++++++---
 1 file changed, 34 insertions(+), 3 deletions(-)

(limited to 'tools/booklet-A6.template.tex')

diff --git a/tools/booklet-A6.template.tex b/tools/booklet-A6.template.tex
index 8fea814..03a565d 100644
--- a/tools/booklet-A6.template.tex
+++ b/tools/booklet-A6.template.tex
@@ -3,13 +3,44 @@ $head_prefix\usepackage[inner=14mm,outer=14mm,top=14mm,bottom=14mm]{geometry}
 \usepackage{fixltx2e} % LaTeX patches, \textsubscript
 \usepackage{cmap} % fix search and cut-and-paste in PDF
 $requirements
-%%% Custom LaTeX preamble
-$latex_preamble
 %%% User specified packages and stylesheets
 $stylesheet
 %%% Fallback definitions for Docutils-specific commands
 $fallbacks$pdfsetup
+
+%%% A bit of customization:
+%%% No page numbers on a 16 page booklet
+\pagestyle{empty}
+%%% No standard docutils + LaTeX title page
+\renewcommand{\maketitle}{}
+%%% Urls should have their target in a footnote
+\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
+
 %%% Body
 \begin{document}
-$body_pre_docinfo$docinfo$dedication$abstract$body
+
+%%% Title page
+\begin{titlepage}
+
+$title
+
+\end{titlepage}
+
+%%% Second page
+Note di copyright
+\newpage
+
+%%% Article text
+$body
+
+%%% Backcover
+\begin{titlepage}
+Le miniguide FOSS sono una raccolta di libretti che introducono
+alcuni aspetti peculiari del mondo Free ed Open Source
+
+\texttt{\tiny \url{http://it.trueelena.org/computers/progetti/miniguide_foss/index.html}}
+
+\vfill
+
+\end{titlepage}
 \end{document}
-- 
cgit v1.2.3

