Generación de PDF del ensayo
This commit is contained in:
parent
99a02cdfb6
commit
ec2fdccb14
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,23 @@
|
||||||
|
rm *.pdf
|
||||||
|
cp ../md/ensayo-poster.md .
|
||||||
|
|
||||||
|
sed -i "s|^# .*$||g" ensayo-poster.md
|
||||||
|
sed -i "s|^##|#|g" ensayo-poster.md
|
||||||
|
|
||||||
|
export-pdf --title="Metafísicas y tecnologías de la creación" \
|
||||||
|
--author="Nika Zhenya" \
|
||||||
|
--press="Perro Tuerto" \
|
||||||
|
--template="template.tex" \
|
||||||
|
--ragged-right --leave-h1 --just-tex \
|
||||||
|
ensayo-poster.md
|
||||||
|
|
||||||
|
sed -i "s|\\\\myauthor|Metafísicas y tecnologías de la creación|g" poster.tex
|
||||||
|
|
||||||
|
lualatex -synctex=1 -interaction=batchmode template_export-pdf.tex
|
||||||
|
lualatex -synctex=1 -interaction=batchmode template_export-pdf.tex
|
||||||
|
pdfbook2 -n -p letterpaper template_export-pdf.pdf
|
||||||
|
|
||||||
|
mv template_export-pdf.pdf ensayo.pdf
|
||||||
|
mv template_export-pdf-book.pdf ensayo_imposition.pdf
|
||||||
|
|
||||||
|
rm template_export-pdf.* ensayo-poster.*
|
|
@ -0,0 +1,233 @@
|
||||||
|
% Universal settings
|
||||||
|
\documentclass[11pt,extrafontsizes,openany]{book}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
\usepackage[spanish,es-noindentfirst]{babel}
|
||||||
|
\usepackage[osf]{Alegreya}
|
||||||
|
|
||||||
|
% PACKAGE DEFINITION
|
||||||
|
% Typographical packages
|
||||||
|
\usepackage{microtype} % for micro-typographical adjustments
|
||||||
|
\usepackage{setspace} % for line spacing
|
||||||
|
\usepackage{lettrine} % for drop caps and awesome chapter beginnings
|
||||||
|
\usepackage[md]{titlesec} % for manipulation of chapter titles
|
||||||
|
\usepackage{enumitem} % for lists
|
||||||
|
\usepackage{geometry} % page size
|
||||||
|
\usepackage{fancyhdr} % headers and footers
|
||||||
|
\usepackage{tocloft} % toc
|
||||||
|
\usepackage[font=small,labelformat=empty]{caption} % captions
|
||||||
|
\usepackage{chngcntr} % change numnering behavior
|
||||||
|
\usepackage{csquotes} % change quoting behavior
|
||||||
|
\usepackage{emptypage}
|
||||||
|
\usepackage{calc}
|
||||||
|
\usepackage{hologo}
|
||||||
|
\usepackage[pdfencoding=auto,hidelinks]{hyperref}
|
||||||
|
\usepackage{ragged2e}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
|
||||||
|
% Bibliography
|
||||||
|
\usepackage[style=apa,backend=biber]{biblatex} % for bibliography
|
||||||
|
@bibliography
|
||||||
|
|
||||||
|
% Meta
|
||||||
|
\newcommand{\mytitle}{\emph{@title}}
|
||||||
|
\newcommand{\myauthor}{@author}
|
||||||
|
\newcommand{\press}{@press}
|
||||||
|
\newcommand{\printyear}{@year}
|
||||||
|
\newcommand{\printdate}{@date}
|
||||||
|
|
||||||
|
\if\myauthor\empty
|
||||||
|
\newcommand{\myauthor}{@title}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
% Page size
|
||||||
|
\geometry{
|
||||||
|
paperwidth=4.1in,
|
||||||
|
paperheight=5.8in,
|
||||||
|
inner=.5in,
|
||||||
|
outer=.5in
|
||||||
|
}
|
||||||
|
|
||||||
|
% TOC
|
||||||
|
\addto\captionsspanish{
|
||||||
|
\renewcommand{\contentsname}{\textsc{Índice general}}
|
||||||
|
}
|
||||||
|
\renewcommand{\cfttoctitlefont}{\normalfont\Large}
|
||||||
|
\renewcommand{\cftpartfont}{\normalfont}
|
||||||
|
\renewcommand{\cftpartpagefont}{\normalfont}
|
||||||
|
\renewcommand{\cftchapfont}{\vspace{-1em}\footnotesize\normalfont}
|
||||||
|
\renewcommand{\cftchappagefont}{\normalfont}
|
||||||
|
|
||||||
|
% Defining the title and the author
|
||||||
|
\title{\textit{Metafísicas y tecnologías \\ de la creación}}
|
||||||
|
%\author{\myauthor}
|
||||||
|
\date{@year}
|
||||||
|
|
||||||
|
% Custom second title page
|
||||||
|
\makeatletter
|
||||||
|
\newcommand*\halftitlepage{\begingroup % Misericords, T&H p 153
|
||||||
|
\setlength\drop{0.1\textheight}
|
||||||
|
\begin{center}
|
||||||
|
\vspace*{\drop}
|
||||||
|
\rule{\textwidth}{0in}\par
|
||||||
|
{\large\textsc\thetitle\par}
|
||||||
|
\rule{\textwidth}{0in}\par
|
||||||
|
{\textsc\theauthor\par}
|
||||||
|
\vfill
|
||||||
|
\end{center}
|
||||||
|
\endgroup}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
% Part title display
|
||||||
|
\makeatletter
|
||||||
|
\renewcommand\part{%
|
||||||
|
\if@openright
|
||||||
|
\cleardoublepage
|
||||||
|
\else
|
||||||
|
\clearpage
|
||||||
|
\fi
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\if@twocolumn
|
||||||
|
\onecolumn
|
||||||
|
\@tempswatrue
|
||||||
|
\else
|
||||||
|
\@tempswafalse
|
||||||
|
\fi
|
||||||
|
\null\vfil
|
||||||
|
\secdef\@part\@spart}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
\titleformat
|
||||||
|
{\part}
|
||||||
|
[display]
|
||||||
|
{\normalfont\scshape\Large}
|
||||||
|
{\Huge\thepart\centering}
|
||||||
|
{0pt}
|
||||||
|
{\centering}[]
|
||||||
|
|
||||||
|
% Reset chapter number in each part
|
||||||
|
\counterwithin*{chapter}{part}
|
||||||
|
|
||||||
|
% Chapter title display
|
||||||
|
\titleformat
|
||||||
|
{\chapter}
|
||||||
|
[display]
|
||||||
|
{\normalfont\scshape\Large}
|
||||||
|
{\Huge\thechapter\centering}
|
||||||
|
{0pt}
|
||||||
|
{\centering}[]
|
||||||
|
|
||||||
|
% Quotation
|
||||||
|
\renewenvironment{quote}
|
||||||
|
{\small\list{}{
|
||||||
|
\listparindent=1.5em
|
||||||
|
\leftmargin=.5cm
|
||||||
|
\rightmargin=0cm
|
||||||
|
\parsep=0cm}%
|
||||||
|
\item\relax}
|
||||||
|
{\endlist}
|
||||||
|
|
||||||
|
% Typographical settings for the body text
|
||||||
|
\setlength{\parskip}{0em}
|
||||||
|
\linespread{1.09}
|
||||||
|
|
||||||
|
% Modify spaces between headers
|
||||||
|
\titlespacing*{\chapter}
|
||||||
|
{0pt}{2em}{1em}
|
||||||
|
\titlespacing*{\section}
|
||||||
|
{0pt}{1em}{1em}
|
||||||
|
|
||||||
|
% HEADER AND FOOTER MANIPULATION
|
||||||
|
\renewcommand{\headrulewidth}{0.0pt}
|
||||||
|
\renewcommand{\footrulewidth}{0.0pt}
|
||||||
|
|
||||||
|
\setlength{\RaggedRightParindent}{\parindent}
|
||||||
|
|
||||||
|
% THE DOCUMENT
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
% Preliminares
|
||||||
|
@ragged
|
||||||
|
\frontmatter
|
||||||
|
\pagestyle{empty}
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
% Legal
|
||||||
|
\begin{center}
|
||||||
|
\footnotesize
|
||||||
|
\vspace*{\fill}
|
||||||
|
|
||||||
|
\mytitle \\ \myauthor
|
||||||
|
|
||||||
|
\if\press\empty
|
||||||
|
\else
|
||||||
|
\vskip 1em
|
||||||
|
Edición: \press
|
||||||
|
\fi
|
||||||
|
|
||||||
|
\vskip 1em
|
||||||
|
Última edición: \printdate
|
||||||
|
|
||||||
|
\vskip 1em
|
||||||
|
Permitida su reproducción y difusión por cualquier \\
|
||||||
|
medio mecánico o electrónico sin la autorización \\
|
||||||
|
escrita del titular de los derechos.
|
||||||
|
|
||||||
|
\vskip 1em
|
||||||
|
Texto parte de la tesis de investigación \\
|
||||||
|
\textit{El creador y lo creado} disponible en \\
|
||||||
|
\href{https://maestria.perrotuerto.blog}{maestria.perrotuerto.blog}.
|
||||||
|
|
||||||
|
\vskip 1em
|
||||||
|
Hecho en México / \emph{Made in Mexico}
|
||||||
|
|
||||||
|
\normalsize
|
||||||
|
\end{center}
|
||||||
|
|
||||||
|
% Principal
|
||||||
|
\mainmatter
|
||||||
|
\newgeometry{
|
||||||
|
inner=.5in,
|
||||||
|
outer=.5in
|
||||||
|
}
|
||||||
|
|
||||||
|
\include{@file}
|
||||||
|
|
||||||
|
% Finales
|
||||||
|
\backmatter
|
||||||
|
@printbibliography
|
||||||
|
|
||||||
|
% Índice
|
||||||
|
% Descomentar las siguientes líneas si se quiere índice
|
||||||
|
\cleardoublepage\pagestyle{empty}\mbox{} % +2 páginas blancas
|
||||||
|
\pagestyle{fancy}
|
||||||
|
\fancyhead{}
|
||||||
|
\fancyhead[CO]{\footnotesize\textsc{Índice general}\normalsize}
|
||||||
|
\fancyhead[CE]{\footnotesize\textsc{\myauthor}\normalsize}
|
||||||
|
\begin{center}
|
||||||
|
\tableofcontents
|
||||||
|
\end{center}
|
||||||
|
\tocloftpagestyle{empty}
|
||||||
|
|
||||||
|
% Descomentar para enviar colofón a una página par
|
||||||
|
%\cleardoublepage\pagestyle{empty}\mbox{} % +2 páginas blancas
|
||||||
|
%\clearpage\pagestyle{empty}\mbox{} % +1 página blanca
|
||||||
|
|
||||||
|
% Colofón
|
||||||
|
\newgeometry{
|
||||||
|
inner=.75in,
|
||||||
|
outer=.75in
|
||||||
|
}
|
||||||
|
\pagestyle{empty}
|
||||||
|
\vspace*{\fill}
|
||||||
|
\begin{center}
|
||||||
|
\mytitle \hspace{.1em} se terminó de componer
|
||||||
|
el \printdate. Documento hecho con
|
||||||
|
\fontfamily{cmr}\LaTeX.
|
||||||
|
|
||||||
|
\vskip 1em
|
||||||
|
\href{https://maestria.perrotuerto.blog}{maestria.perrotuerto.blog}
|
||||||
|
\end{center}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
% END THE DOCUMENT
|
|
@ -25,7 +25,7 @@
|
||||||
<p class="frances sin-separacion">Tesis en liberación continua:<br/><a href="tesis/md/tesis_with-bib.md?v=48108c16" target="_blank"><span class="versalita">MD</span></a> / <a href="tesis/html/tesis.html?v=48108c16" target="_blank"><span class="versalita">HTML</span></a> / <a href="tesis/pdf/tesis.pdf?v=48108c16" target="_blank"><span class="versalita">PDF</span></a> / <a href="tesis/ebooks/out/tesis.epub?v=48108c16" target="_blank"><span class="versalita">EPUB</span></a> / <a href="tesis/ebooks/out/tesis.mobi?v=48108c16" target="_blank"><span class="versalita">MOBI</span></a> / <a href="tesis/docx/tesis.docx?v=48108c16" target="_blank"><span class="versalita">DOCX</span></a></p>
|
<p class="frances sin-separacion">Tesis en liberación continua:<br/><a href="tesis/md/tesis_with-bib.md?v=48108c16" target="_blank"><span class="versalita">MD</span></a> / <a href="tesis/html/tesis.html?v=48108c16" target="_blank"><span class="versalita">HTML</span></a> / <a href="tesis/pdf/tesis.pdf?v=48108c16" target="_blank"><span class="versalita">PDF</span></a> / <a href="tesis/ebooks/out/tesis.epub?v=48108c16" target="_blank"><span class="versalita">EPUB</span></a> / <a href="tesis/ebooks/out/tesis.mobi?v=48108c16" target="_blank"><span class="versalita">MOBI</span></a> / <a href="tesis/docx/tesis.docx?v=48108c16" target="_blank"><span class="versalita">DOCX</span></a></p>
|
||||||
<p class="frances sin-separacion">Repositorios:<br/><a href="https://0xacab.org/NikaZhenya/maestria-investigacion" target="_blank">0xacab</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion" target="_blank">GitLab</a></p>
|
<p class="frances sin-separacion">Repositorios:<br/><a href="https://0xacab.org/NikaZhenya/maestria-investigacion" target="_blank">0xacab</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion" target="_blank">GitLab</a></p>
|
||||||
<p class="frances sin-separacion">Bibliografía:<br/><a href="bibliografia/bibliografia.bib?v=48108c16" target="_blank"><span class="versalita">BIB</span></a> / <a href="bibliografia/bibliografia.html?v=48108c16" target="_blank"><span class="versalita">HTML</span></a> / <a href="bibliografia/recursos?v=48108c16" target="_blank">recursos descargables</a></p>
|
<p class="frances sin-separacion">Bibliografía:<br/><a href="bibliografia/bibliografia.bib?v=48108c16" target="_blank"><span class="versalita">BIB</span></a> / <a href="bibliografia/bibliografia.html?v=48108c16" target="_blank"><span class="versalita">HTML</span></a> / <a href="bibliografia/recursos?v=48108c16" target="_blank">recursos descargables</a></p>
|
||||||
<p class="frances sin-separacion">Anexos:<br/><a href="anexos/analitica/analytics.html?v=48108c16" target="_blank">analítica</a> / <a href="https://perrotuerto.blog/content/html/es/005_hiim-master.html?v=48108c16" target="_blank">reporte técnico</a> / póster</p>
|
<p class="frances sin-separacion">Anexos:<br/><a href="anexos/analitica/analytics.html?v=48108c16" target="_blank">analítica</a> / <a href="https://perrotuerto.blog/content/html/es/005_hiim-master.html?v=48108c16" target="_blank">reporte técnico</a> / ensayo con póster</p>
|
||||||
<p class="frances sin-separacion">Descarga todo:</br><a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.zip?v=48108c16" target="_blank"><span class="versalita">ZIP</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.tar.gz?v=48108c16" target="_blank"><span class="versalita">TAR.GZ</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.tar.bz2?v=48108c16" target="_blank"><span class="versalita">TAR.BZ2</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.tar?v=48108c16" target="_blank"><span class="versalita">TAR</a></p>
|
<p class="frances sin-separacion">Descarga todo:</br><a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.zip?v=48108c16" target="_blank"><span class="versalita">ZIP</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.tar.gz?v=48108c16" target="_blank"><span class="versalita">TAR.GZ</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.tar.bz2?v=48108c16" target="_blank"><span class="versalita">TAR.BZ2</a> / <a href="https://gitlab.com/NikaZhenya/maestria-investigacion/-/archive/master/maestria-investigacion-master.tar?v=48108c16" target="_blank"><span class="versalita">TAR</a></p>
|
||||||
</section>
|
</section>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
Loading…
Reference in New Issue