Movimiento de assets
This commit is contained in:
parent
b3c449c407
commit
7d5c078bd5
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="es" lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Portada</title>
|
||||
<style>.sin-margen{margin:0;padding:0;}.forro{display:block;margin:auto;padding:0;height:100vh;width:auto;}</style>
|
||||
</head>
|
||||
<body class="sin-margen">
|
||||
<section epub:type="cover" role="doc-cover">
|
||||
<img id="cover-image" class="forro" alt="Imagen de portada" src="../img/portada.png" />
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="es" lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Portadilla</title>
|
||||
<link href="../css/styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<section id="portadilla" epub:type="titlepage">
|
||||
<h1 class="centrado titulo"><i>@title</i></h1>
|
||||
<p class="centrado">@year</p>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="es" lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Legal</title>
|
||||
<link href="../css/styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<section class="legal" epub:type="copyright-page">
|
||||
<p class="centrado"><i>@title</i></p>
|
||||
<p class="centrado">@author</p>
|
||||
<p class="centrado">@press</p>
|
||||
<p class="centrado espacio-arriba1">Última edición: @date.</p>
|
||||
<p class="centrado espacio-arriba1">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.</p>
|
||||
<p class="centrado espacio-arriba1"><a href="mailto:hi@perrotuerto.blog">hi@perrotuerto.blog</a> / <a href="https://maestria.perrotuerto.blog">maestria.perrotuerto.blog</a></p>
|
||||
<p class="centrado espacio-arriba1">Hecho en México / <i>Made in Mexico</i></p>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="es" lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Colofón</title>
|
||||
<link href="../css/styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<section class="legal">
|
||||
<p class="centrado espacio-arriba1"><i id="pc-title">@title</i> fue escrita y compuesta con <i>software</i> libre o de código abierto: Arch <span class="versalita">GNU</span>/Linux, Vim, Gedit, JabRef, Zotero, Biber, luaLaTeX, Pandoc y Pecas. Para su composición se usó la familia tipográfica Alegreya.</p>
|
||||
<p class="centrado espacio-arriba1">La producción de este documento implicó el desarrollo de distintos programas para su automatización y cuidado editorial: <a href="https://gitlab.com/snippets/1917485"><code>texte</code></a>, <a href="https://gitlab.com/snippets/1917487"><code>texti</code></a>, <a href="https://gitlab.com/snippets/1917488"><code>textu</code></a>, <a href="https://gitlab.com/snippets/1917490"><code>export-pdf</code></a> y <a href="https://gitlab.com/snippets/1917492"><code>baby-biber</code></a>.</p>
|
||||
<p class="centrado espacio-arriba1">Documento compuesto el @date.</p>
|
||||
<p class="centrado espacio-arriba1"><a href="mailto:hi@perrotuerto.blog">hi@perrotuerto.blog</a> / <a href="https://maestria.perrotuerto.blog">maestria.perrotuerto.blog</a></p>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
After Width: | Height: | Size: 68 KiB |
|
@ -0,0 +1,242 @@
|
|||
% Universal settings
|
||||
\documentclass[11pt,extrafontsizes]{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}{@title}
|
||||
\newcommand{\press}{@press}
|
||||
\newcommand{\printyear}{@year}
|
||||
\newcommand{\printdate}{@date}
|
||||
|
||||
\if\myauthor\empty
|
||||
\newcommand{\myauthor}{@title}
|
||||
\fi
|
||||
|
||||
% Page size
|
||||
\geometry{
|
||||
paperwidth=8.5in,
|
||||
paperheight=11in,
|
||||
inner=2in,
|
||||
outer=2in
|
||||
}
|
||||
|
||||
% 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{\mytitle}
|
||||
\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 \\ @author \\ \press
|
||||
|
||||
\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
|
||||
\href{mailto:hi@perrotuerto.blog}{hi@perrotuerto.blog} /
|
||||
\href{https://maestria.perrotuerto.blog}{maestria.perrotuerto.blog}
|
||||
|
||||
\vskip 1em
|
||||
Hecho en México / \emph{Made in Mexico}
|
||||
|
||||
\normalsize
|
||||
\end{center}
|
||||
|
||||
% Principal
|
||||
\mainmatter
|
||||
\newgeometry{
|
||||
top=1.5in,
|
||||
bottom=2.5in,
|
||||
inner=1.5in,
|
||||
outer=3in
|
||||
}
|
||||
|
||||
\include{@file}
|
||||
|
||||
% Finales
|
||||
\backmatter
|
||||
@printbibliography
|
||||
|
||||
% Índice
|
||||
% Descomentar las siguientes líneas si se quiere índice
|
||||
\cleardoublepage
|
||||
\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=2.5in,
|
||||
outer=2.5in
|
||||
}
|
||||
\pagestyle{empty}
|
||||
\vspace*{\fill}
|
||||
\begin{center}
|
||||
\mytitle \hspace{.1em} fue escrita y compuesta
|
||||
con \textit{software} libre o de código abierto: Arch \textsc{gnu}/Linux,
|
||||
Vim, Gedit, JabRef, Zotero, Biber, {\fontfamily{lmr}\selectfont lua\LaTeX}, Pandoc y Pecas.
|
||||
Para su composición principalmente se usó la familia tipográfica Alegreya.
|
||||
|
||||
\vskip 1em
|
||||
La producción de este documento implicó el desarrollo
|
||||
de distintos programas para su automatización y
|
||||
cuidado editorial:
|
||||
\href{https://gitlab.com/snippets/1917485}{\texttt{texte}},
|
||||
\href{https://gitlab.com/snippets/1917487}{\texttt{texti}},
|
||||
\href{https://gitlab.com/snippets/1917488}{\texttt{textu}},
|
||||
\href{https://gitlab.com/snippets/1917490}{\texttt{export-pdf}} y
|
||||
\href{https://gitlab.com/snippets/1917492}{\texttt{baby-biber}}.
|
||||
|
||||
\vskip 1em
|
||||
Documento compuesto el \printdate.
|
||||
|
||||
\vskip 1em
|
||||
\href{mailto:hi@perrotuerto.blog}{hi@perrotuerto.blog} /
|
||||
\href{https://maestria.perrotuerto.blog}{maestria.perrotuerto.blog}
|
||||
\end{center}
|
||||
|
||||
\end{document}
|
||||
% END THE DOCUMENT
|
|
@ -0,0 +1,10 @@
|
|||
window.onload = function () {
|
||||
tocbot.init({
|
||||
tocSelector: '.js-toc',
|
||||
contentSelector: '.content',
|
||||
headingSelector: 'h1, h2, h3',
|
||||
hasInnerContainers: true,
|
||||
collapseDepth: 0,
|
||||
scrollSmooth: true,
|
||||
});
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
.toc{overflow-y:auto}.toc>.toc-list{overflow:hidden;position:relative}.toc>.toc-list li{list-style:none}.toc-list{margin:0;padding-left:10px}a.toc-link{color:currentColor;height:100%}.is-collapsible{max-height:1000px;overflow:hidden;transition:all 300ms ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed !important;top:0}.is-active-link{font-weight:700}.toc-link::before{background-color:#EEE;content:' ';display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}.is-active-link::before{background-color:#54BC4B}
|
||||
*{text-align:left !important;hyphens:none !important;}
|
||||
body{background-color:#FFF}.transition--300{transition:all 300ms ease-in-out}.toc{height:100%;width:280px;transform:translateX(0)}.content{position:relative}.content h1:first-child,.content h2:first-child{padding-top:0;margin-top:0}.title{font-size:3em}.content{margin-bottom:95vh}.content ul,.content ol{list-style:inherit}.content a{color:#0977c3;text-decoration:none;border-bottom:1px solid #EEE;transition:all 300ms ease}.content a.no-decoration{border-bottom:0}.content a:hover{border-bottom:1px solid #0977c3}.content a:hover.no-decoration{border-bottom:0}a.toc-link{text-decoration:none}.try-it-container{transform:translateY(84%)}.try-it-container.is-open{transform:translateY(0%)}.page-content{display:block !important}.hljs{display:block;background:white;padding:0.5em;color:#333333;overflow-x:auto}.hljs-comment,.hljs-meta{color:#969896}.hljs-string,.hljs-variable,.hljs-template-variable,.hljs-strong,.hljs-emphasis,.hljs-quote{color:#df5000}.hljs-keyword,.hljs-selector-tag,.hljs-type{color:#a71d5d}.hljs-literal,.hljs-symbol,.hljs-bullet,.hljs-attribute{color:#0086b3}.hljs-section,.hljs-name{color:#63a35c}.hljs-tag{color:#333333}.hljs-title,.hljs-attr,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo{color:#795da3}.hljs-addition{color:#55a532;background-color:#eaffea}.hljs-deletion{color:#bd2c00;background-color:#ffecec}.hljs-link{text-decoration:underline}.toc-icon{position:fixed;top:0;right:0}#toc:checked ~ .toc{box-shadow:0 0 5px #c8c8c8;transform:translateX(0)}.toc{background-color:rgba(255,255,255,0.9);transform:translateX(-100%)}.toc.toc-right{transform:translateX(100%);right:0}@media (min-width: 52em){.toc{transform:translateX(0)}.toc.toc-right{transform:translateX(0);right:calc((100% - 48rem - 4rem) / 2)}.toc-icon{display:none}.try-it-container{display:block}.content{margin-left:280px}.toc-right ~ .content{margin-left:0;margin-right:280px}}*{box-sizing:border-box}body{font-size:1.2rem;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif}h1,h2,h3,h4,h5,h6{padding-top:0.5em}h1:focus,h2:focus,h3:focus,h4:focus,h5:focus,h6:focus{outline:0}p{margin-top:0.25rem}pre{display:block;background:#f7f7f7;border-radius:2px;border:1px solid #e0e0e0;padding:2px;line-height:1.2;margin-bottom:10px;overflow:auto;white-space:pre-wrap}code{display:inline;font-size:.8em;max-width:100%}
|
||||
body{margin:1em;}
|
||||
nav{margin-top:5em;padding-right:1em;font-size:.75em;}
|
||||
h1{margin-top:5em;margin-bottom:3em;}
|
||||
.is-active-link::before{background-color:blue;}
|
||||
.is-active-link{font-weight:inherit;color:blue!important;}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue