Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigomby committed Jan 7, 2017
2 parents 925741e + d78f666 commit 8c79b8d
Show file tree
Hide file tree
Showing 31 changed files with 8,749 additions and 64 deletions.
40 changes: 20 additions & 20 deletions audiowho-build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash

# Copyright (c) 2015 Audiowho <audiowho@audiowho.com>

Expand All @@ -22,7 +22,7 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

# Script que genera automáticamente las novelas editadas en PDF y/o
# Script que genera automáticamente las novelas editadas en PDF y/o
# en ePub. Las novelas deben estar organizadas correctamente para
# poder ser construídas.
#
Expand Down Expand Up @@ -88,11 +88,11 @@ pdf()
rm *.aux >/dev/null
rm *.out >/dev/null
rm *.log >/dev/null
rm *.toc >/dev/null
rm *.toc >/dev/null
)
}


# Genera la novela en formato ePub

epub()
Expand Down Expand Up @@ -132,8 +132,8 @@ epub()
)
}

# Parsea los metadatos de la novela

# Parsea los metadatos de la novela

parse()
{
Expand Down Expand Up @@ -167,7 +167,7 @@ parse()

check()
{

if [ ! -f $NOVELA/metadata.json ]
then
echo -e "\e[91mNo existe el fichero \"metadata.json\" para la novela o no existe la novela.\e[0m"
Expand Down Expand Up @@ -207,9 +207,9 @@ clean()

list()
{
echo
echo
echo -e "\e[32m\e[1mNovelas disponibles:\e[0m"
echo
echo
for file in $(cd $DIR ; ls -d */)
do
if [ -f $DIR/$file/metadata.json ]
Expand All @@ -220,7 +220,7 @@ list()
echo
}

# Genera la novela
# Genera la novela

generate()
{
Expand All @@ -229,14 +229,14 @@ generate()
check $NOVELA
parse

echo
echo
echo -e "Construyendo: \e[32m\e[1m$NOVELABASENAME\e[0m"
echo
echo
echo -e "\e[1mTÍTULO:\e[0m \e[94m$title\e[0m"
echo -e "\e[1mAUTOR:\e[0m \e[94m$author\e[0m"
echo -e "\e[1mISBN:\e[0m \e[94m$isbn\e[0m"
echo -e "\e[1mFECHA:\e[0m \e[94m$date\e[0m"
echo
echo

if [ $PDF -eq 0 ] && [ $EPUB -eq 0 ]
then
Expand All @@ -245,10 +245,10 @@ generate()
fi

# Se sustituyen los valores obtenidos en el fichero para la construcción
sed -i "s/%%TITLE%%/$title/g" $BUILD/base.tex 2>/dev/null
sed -i "s/%%AUTHOR%%/$author/g" $BUILD/base.tex 2>/dev/null
sed -i "s/%%PUBLISHER%%/$publisher/g" $BUILD/base.tex 2>/dev/null
sed -i "s:%%DATE%%:$date:g" $BUILD/base.tex 2>/dev/null
sed -i "s/||TITLE||/$title/g" $BUILD/base.tex 2>/dev/null
sed -i "s/||AUTHOR||/$author/g" $BUILD/base.tex 2>/dev/null
sed -i "s/||PUBLISHER||/$publisher/g" $BUILD/base.tex 2>/dev/null
sed -i "s:||DATE||:$date:g" $BUILD/base.tex 2>/dev/null

if [ $? -eq 1 ]
then
Expand Down Expand Up @@ -298,7 +298,7 @@ generate()

clean

echo
echo
}

while getopts “hped:vl:a:” OPTION
Expand All @@ -318,7 +318,7 @@ do
VERBOSE=1
;;
d)
NOVELAFLAG=true
NOVELAFLAG=true
NOVELA=$OPTARG
;;
l)
Expand Down Expand Up @@ -354,4 +354,4 @@ if [ "$ALL" = false ]
generate
fi
done
fi
fi
35 changes: 15 additions & 20 deletions include/base.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,34 @@
% TITLE PAGE
%----------------------------------------------------------------------------------------

\newcommand*{\rotrt}[1]{\rotatebox{90}{#1}} % Command to rotate right 90 degrees
\newcommand*{\rotlft}[1]{\rotatebox{-90}{#1}} % Command to rotate left 90 degrees
\newcommand*{\rotrt}[1]{\rotatebox{90}{#1}}
\newcommand*{\rotlft}[1]{\rotatebox{-90}{#1}}

\newcommand*{\titleBC}{\cleardoublepage\begingroup % Create the command for including the title page in the document
\newcommand*{\titleBC}{\cleardoublepage\begingroup

\centering % Center all text
\centering

\def\CP{\textit{\Huge %%TITLE%%}} % Title
\def\CP{\textit{\Huge ||TITLE||}} % Title

\setlength{\unitlength}{300pt} % Set the width of the curly brackets to the width of the title
%\addtolength{\unitlength}{-10pt}
{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotrt{$\}$}}} \\[\baselineskip] % Print top curly bracket
\textcolor{Sienna}{\CP} \\[\baselineskip] % Print title
{\color{RosyBrown}\Large %%AUTHOR%%} \\ % Print Author
{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotlft{$\}$}}} % Print bottom curly bracket
\setlength{\unitlength}{300pt}
\textcolor{Sienna}{\CP} \\[\baselineskip]
{\color{RosyBrown}\Large ||AUTHOR||} \\

\vfill

\includegraphics[width=0.35\textwidth]{images/sello}

\textit{Audiowho Novelas}

\vfill % Whitespace between the title and the author name
\vfill

{\Large\textbf{%%PUBLISHER%%}}\\ % Publisher
{\Large\textbf{||PUBLISHER||}}\\

\mbox{}

%%DATE%%
||DATE||

\emph{r5}
\emph{r6}

\endgroup}

Expand All @@ -62,14 +59,12 @@
\begin{titlepage}
\pagestyle{empty}
\includepdf{images/cover.pdf}
\titleBC % This command includes the title page
\titleBC{}
\end{titlepage}

\restoregeometry
\restoregeometry{}
\pagestyle{plain}

% Notas de traducción
\input{pre.tex}

Expand All @@ -81,4 +76,4 @@
% Notas de traducción
\input{post.tex}

\end{document}
\end{document}
11 changes: 8 additions & 3 deletions include/docs/post/00-erores.tex
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
\chapter*{Reporte de errores}

No somos perfectos, todos nos equivocamos, en Audiowho también. Si has detectado un error o algo que no cuadra en la traducción de esta novela puedes hacérnoslo saber en:
No somos perfectos, todos nos equivocamos, en Audiowho también. Si has detectado
un error o algo que no cuadra en la traducción de esta novela puedes hacérnoslo
saber en:

\mbox{}

\begin{center}
\href{https://github.com/Bigomby/audiowho-novelas/issues}{\textit{https://github.com/Bigomby/audiowho-novelas/issues}}
\href{https://github.com/Audiowho/audiowho-novelas/issues}
{\textit{https://github.com/Audiowho/audiowho-novelas/issues}}
\end{center}

\mbox{}

Para ello puedes hacer click en el botón “New issue” y describirnos el error indicando, por ejemplo, la página donde se encuentra. Te agradeceremos que nos lo hagas saber para corregirlo lo antes posible.
Para ello puedes hacer click en el botón “New issue” y describirnos el error
indicando, por ejemplo, la página donde se encuentra. Te agradeceremos que nos
lo hagas saber para corregirlo lo antes posible.

\mbox{}

Expand Down
17 changes: 11 additions & 6 deletions include/docs/post/02-disclaimer.tex
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
\chapter*{}
~
\vfill
\begin{center}

\textbf{TODOS LOS DERECHOS LOS TIENE LA EDITORIAL ORIGINAL.}
\textbf{DOCTOR WHO ES UNA MARCA REGISTRADA PERTENECIENTE A LA BBC.}

\vspace{2mm}

AUDIOWHO Y NINGUNO DE SUS COLABORADORES BUSCA INFRINGIR COPYRIGHTS SINO HACER LLEGAR A FANS HISPANOHABLANTES EL UNIVERSO EXPANDIDO DE DOCTOR WHO.
AUDIOWHO ES UNA INICIATIVA SIN ÁNIMO DE LUCRO DEDICADA A TRADUCIR AUDIOS, LIBROS
Y CÓMICS CUYOS MIEMBROS SACRIFICAN SU TIEMPO PARA QUE TODOS LOS
HISPANO-PARLANTES PUEDAN DISFRUTAR DEL UNIVERSO EXTENDIDO DE DOCTOR
WHO SIN BARRERAS LINGÜÍSTICAS.

\vspace{2mm}

ESPERAMOS CON ILUSIÓN QUE ALGÚN DÍA SE EDITEN ESTAS OBRAS EN ESPAÑOL. DESDE AQUÍ ANIMAMOS A COMPRAR NOVELAS, CÓMICS Y DEMÁS DEL GRAN UNIVERSO EXPANDIDO DE DOCTOR WHO.
ESPERAMOS CON ILUSIÓN QUE ALGÚN DÍA SE EDITEN ESTAS OBRAS EN ESPAÑOL. DESDE AQUÍ
ANIMAMOS A COMPRAR NOVELAS, CÓMICS Y DEMÁS DEL GRAN UNIVERSO EXPANDIDO DE DOCTOR
WHO.

\vspace{2mm}

Expand All @@ -23,5 +27,6 @@ \chapter*{}

\vspace{2mm}

ESTAS Y OTRAS NOVELAS Y COMICS LAS PODRÁS ENCONTRAR EN \href{http://www.audiowho.com}{\textit{HTTP://WWW.AUDIOWHO.COM}}
\end{center}
ESTAS Y OTRAS NOVELAS Y COMICS LAS PODRÁS ENCONTRAR EN
\href{http://www.audiowho.com}{\textit{HTTP://WWW.AUDIOWHO.COM}}
\end{center}
97 changes: 82 additions & 15 deletions include/style.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,90 @@
/* ePub base r1.0 AudioWho */

body { margin:1em; }
p { margin:0; text-align:justify; text-indent:1.5em; line-height:1.3em; }
a { font-style:normal; font-weight:normal; text-decoration:none; }
sup, sub { font-size:0.75em; line-height:normal; }
body {
margin: 1em;
}

p {
margin: 0;
text-align: justify;
text-indent: 1.5em;
line-height: 1.3em;
}

a {
font-style: normal;
font-weight: normal;
text-decoration: none;
}

sup, sub {
font-size: 0.75em;
line-height: normal;
}


/* Headers */
h1, h2, h3, h4, h5, h6 { margin-top:25%; text-align:center; text-indent:0; page-break-after:avoid; page-break-inside:avoid; adobe-hyphenate:none; hyphenate:none; hyphens:none; -moz-hyphens:none; -webkit-hyphens:none; }
h1 { font-size:1.5em; } /* sólo cambios aprobados, puede afectar páginas globales */
h2 { font-size:1.5em; }
h3 { font-size:1.4em; }
h4 { font-size:1.3em; }
h5 { font-size:1.2em; }
h6 { font-size:1.1em; }

h1, h2, h3, h4, h5, h6 {
margin-top: 25%;
text-align: center;
text-indent: 0;
page-break-after: avoid;
page-break-inside: avoid;
adobe-hyphenate: none;
hyphenate: none;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
}

h1 {
font-size: 1.5em;
}


/* sólo cambios aprobados, puede afectar páginas globales */

h2 {
font-size: 1.5em;
}

h3 {
font-size: 1.4em;
}

h4 {
font-size: 1.3em;
}

h5 {
font-size: 1.2em;
}

h6 {
font-size: 1.1em;
}


/* Fuentes */
.sans, .sans p, .sans em, .sans strong, .sans span { font-family:sans-serif; }
.serif, .serif p, .serif em, .serif strong, .serif span { font-family:serif; }
.mono, .mono p, .mono em, .mono strong, .mono span { font-family:monospace; }

.sans, .sans p, .sans em, .sans strong, .sans span {
font-family: sans-serif;
}

.serif, .serif p, .serif em, .serif strong, .serif span {
font-family: serif;
}

.mono, .mono p, .mono em, .mono strong, .mono span {
font-family: monospace;
}


/* Listas */
li { margin:0; text-align:justify; line-height:1.3em; }

li {
margin: 0;
text-align: justify;
line-height: 1.3em;
}
16 changes: 16 additions & 0 deletions novelas/the-clockwise-man/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
HTML = $(wildcard docs/caps/*.html)
TEX = $(HTML:.html=.tex)

all: tex

tex: $(TEX)

docs/caps/%.tex: docs/caps/%.html
@echo -e 'Building $@'
pandoc $< -o $@

clean-html:
rm -f docs/caps/*.html

clean-tex:
rm -f docs/caps/*.tex
Loading

0 comments on commit 8c79b8d

Please sign in to comment.