From: Gunnar Wolf Date: Mon, 12 Aug 2019 15:20:25 +0000 (-0500) Subject: Formatting-related details in the Spanish PDF generation X-Git-Tag: es-printed~41 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/be9c03702b14021350be7bd09262c83b098be8e4 Formatting-related details in the Spanish PDF generation --- diff --git a/Makefile b/Makefile index 7e35c55..ce2d915 100644 --- a/Makefile +++ b/Makefile @@ -110,9 +110,17 @@ pdf: $(SOURCE).pdf for LANG in $(LANGS); do \ $(MAKE) $(SOURCE).$$LANG.pdf ; \ done -DBLATEX_OPTS = -T simple -t pdf -b xetex -p extra/pdf.xsl + +DBLATEX_OPTS = -T simple -t pdf -b xetex +%.es.pdf: %.es.xml extra/pdf.xsl myclass.cls + rm -f extra/pdf_es.xsl myclass_es.cls + sed s/myclass/myclass_es/ extra/pdf.xsl > extra/pdf_es.xsl + ruby -e 'begin; while (data = readline) ; puts data;if (data == "\\makeatletter\n") ;puts "\\input{extra/es/unam_definitions}\n"; end;end; rescue EOFError;true;end' < myclass.cls > myclass_es.cls + dblatex $(DBLATEX_OPTS) -p extra/pdf_es.xsl $^ + rm -f extra/pdf_es.xsl myclass_es.cls + %.pdf: %.xml extra/pdf.xsl myclass.cls - dblatex $(DBLATEX_OPTS) $^ + dblatex $(DBLATEX_OPTS) -p extra/pdf.xsl $^ epub: $(SOURCE).epub for LANG in $(LANGS); do \ diff --git a/Pictures/es/firma_unam.png b/Pictures/es/firma_unam.png new file mode 100644 index 0000000..ae96ca6 Binary files /dev/null and b/Pictures/es/firma_unam.png differ diff --git a/Pictures/es/logo_iiec.png b/Pictures/es/logo_iiec.png new file mode 100644 index 0000000..bfab03d Binary files /dev/null and b/Pictures/es/logo_iiec.png differ diff --git a/Pictures/es/logo_unam.png b/Pictures/es/logo_unam.png new file mode 100644 index 0000000..0c36858 Binary files /dev/null and b/Pictures/es/logo_unam.png differ diff --git a/myclass.cls b/myclass.cls index ec23fee..78b1420 100644 --- a/myclass.cls +++ b/myclass.cls @@ -10,6 +10,8 @@ \pagestyle{mystyle} \renewcommand{\baselinestretch}{1.2} +\newcommand{\beforetitle}{} +\newcommand{\publisherlogos}{} \makeatletter @@ -23,7 +25,9 @@ \titleverso} \def\titlerecto{\begin{titlepage}% + \beforetitle \null\vfil + \thispagestyle{empty} \vskip 160\p@ \begin{center}% {\LARGE \@title \par}% @@ -37,6 +41,7 @@ {\large \DBKpublishername \par} \vskip .75em% {\large \DBKpublisheraddress \par}% + \publisherlogos \end{center}\par \vfil\null \end{titlepage}}% diff --git a/pending.es.org b/pending.es.org index 75d9ced..b24b81e 100644 --- a/pending.es.org +++ b/pending.es.org @@ -31,11 +31,7 @@ Requieren incorporarse al proceso en la etapa de Pandoc, no de la traducción. - Páginas 1–7 - - Agregar portadilla (pág. 1), directorio (pág. 2) - - Logos en pág. 3 - - Pág. 4, 5, 6, 7 numeración en blanco - - Pág. 4, cortar párrafos dodne marca - - Pág. 6, Índice +general+ + - Pág. 4, cortar párrafos donde marca ** Contenido - Notas del traductor diff --git a/po/es/mwcc.po b/po/es/mwcc.po index ca79428..7bb65a7 100644 --- a/po/es/mwcc.po +++ b/po/es/mwcc.po @@ -94,7 +94,8 @@ msgstr "por Paul Stacey y Sarah Hinchliff Pearson" #. type: Content of: #: MadewithCreativeCommonsmostup-to-dateversion.xml:43 msgid "© 2017 by the Creative Commons Foundation." -msgstr "© 2017, por la Creative Commons Foundation." +msgstr "© 2017, por la Creative Commons Foundation. " +"" #. type: Content of: #: MadewithCreativeCommonsmostup-to-dateversion.xml:44 @@ -205,7 +206,8 @@ msgstr "" "son oportunidades para ver a alguien razonablemente brillante, pero que " "también recibe una paga promedio, poner mucha más atención y " "pensar con mayor profundidad acerca de todo tipo de cosas diferentes de " -"lo que tenemos la oportunidad de hacer en nuestra vida diaria." +"lo que tenemos la oportunidad de hacer en nuestra vida diaria. " +"" #. type: Content of:
#: MadewithCreativeCommonsmostup-to-dateversion.xml:99