]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Formatting-related details in the Spanish PDF generation
authorGunnar Wolf <gwolf@gwolf.org>
Mon, 12 Aug 2019 15:20:25 +0000 (10:20 -0500)
committerGunnar Wolf <gwolf@gwolf.org>
Mon, 12 Aug 2019 15:20:25 +0000 (10:20 -0500)
Makefile
Pictures/es/firma_unam.png [new file with mode: 0644]
Pictures/es/logo_iiec.png [new file with mode: 0644]
Pictures/es/logo_unam.png [new file with mode: 0644]
myclass.cls
pending.es.org
po/es/mwcc.po

index 7e35c55795e92f15daa7e66cb78ef483392a81d7..ce2d91520d618cc85fb846de514ec74071a54de0 100644 (file)
--- 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 (file)
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 (file)
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 (file)
index 0000000..0c36858
Binary files /dev/null and b/Pictures/es/logo_unam.png differ
index ec23feedfe574837f8f648f16910c5a32c467b27..78b1420f8c36a946823ba3410f9ad1a01dd2f527 100644 (file)
@@ -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}}%
index 75d9ced03d893e8bf193e5844428cd574050b930..b24b81e584146f431610f16064c67ab4909ecaff 100644 (file)
@@ -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
index ca7942818b02af229b84275816d5936d8b54153f..7bb65a725173fa31d534b887c800b0ed502238d5 100644 (file)
@@ -94,7 +94,8 @@ msgstr "por Paul Stacey y Sarah Hinchliff Pearson"
 #. type: Content of: <book><colophon><para>
 #: 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. "
+"<?latex \\thispagestyle{empty} ?>"
 
 #. type: Content of: <book><colophon><para>
 #: 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. "
+"<?latex \\thispagestyle{empty} ?>"
 
 #. type: Content of: <book><dedication><blockquote><attribution>
 #: MadewithCreativeCommonsmostup-to-dateversion.xml:99