From: Gunnar Wolf Date: Thu, 26 Oct 2017 16:16:21 +0000 (-0500) Subject: Split the titlepage generation as an extra file X-Git-Tag: es-printed~698 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/b8938a3e65916ab620cf6a77aad537d5180b9814?hp=412df3d31f5fff0975f493bbe563412a697f04ea Split the titlepage generation as an extra file --- 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}