From b8938a3e65916ab620cf6a77aad537d5180b9814 Mon Sep 17 00:00:00 2001 From: Gunnar Wolf Date: Thu, 26 Oct 2017 11:16:21 -0500 Subject: [PATCH] Split the titlepage generation as an extra file --- Makefile | 4 ++++ extra/es/cover.tex | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 extra/es/cover.tex diff --git a/Makefile b/Makefile index 85b7c7a..249ddc6 100644 --- a/Makefile +++ b/Makefile @@ -61,9 +61,13 @@ pdf: $(SOURCE).pdf %.tex: %.xml dblatex -t tex -b xetex $^ perl -p -i -e 's/\[latin1\]\{inputenc\}/[utf8]{inputenc}\n\\usepackage[spanish]{babel}/; \ + s/\\setcounter\{tocdepth\}.*/\\setcounter{tocdepth}{1}/; \ + s/\\setcounter\{secnumdepth\}.*/\\setcounter{secnumdepth}{-1}/; \ s/\\caption\\end/\\caption{} \\end/; \ + s!\\maketitle!\\input{extra/es/cover.tex}!; \ s/\\author\{and\}/\\author{Paul Stacey \\and Sarah Hinchliff Pearson}/; \ s/\\DBKinditem\{\\writtenby\}\{and\}/\\DBKinditem{\writtenby}{Paul Stacey and Sarah Hinchliff Pearson}/; \ + s/\\listoffigures//; \ s/\\part\{(Prefacio|Introducción)\}/\\chapter*{$$1} \\addcontentsline{toc}{chapter}{$$1}/; \ s/\\section\{Notas\}/\\section*{Notas}/; \ s/(Vínculos Web)/\\section*{$$1}/; \ diff --git a/extra/es/cover.tex b/extra/es/cover.tex new file mode 100644 index 0000000..060549f --- /dev/null +++ b/extra/es/cover.tex @@ -0,0 +1,18 @@ +\begin{titlepage} + \thispagestyle{empty} + \begin{center} + ~ \vfill + \Huge + \textsc{Hecho con Creative Commons} + \vskip 2cm + \Large + Paul Stacey y Sarah Hinchliff Pearson + \vskip 1cm + \large + Traducción:\\ + Luis Enrique Amaya González, Gunnar Eyal Wolf Iszaevich, \\ + Leonardo Arias Fonseca, Evelin (?), Andrés Delgado + \end{center} + + \vfill \eject +\end{titlepage} -- 2.47.2