%.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}/; \
--- /dev/null
+\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}