Skip to content

Commit 8c79b8d

Browse files
committed
Merge branch 'develop'
2 parents 925741e + d78f666 commit 8c79b8d

31 files changed

+8749
-64
lines changed

audiowho-build.sh

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash
22

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

@@ -22,7 +22,7 @@
2222
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
# SOFTWARE.
2424

25-
# Script que genera automáticamente las novelas editadas en PDF y/o
25+
# Script que genera automáticamente las novelas editadas en PDF y/o
2626
# en ePub. Las novelas deben estar organizadas correctamente para
2727
# poder ser construídas.
2828
#
@@ -88,11 +88,11 @@ pdf()
8888
rm *.aux >/dev/null
8989
rm *.out >/dev/null
9090
rm *.log >/dev/null
91-
rm *.toc >/dev/null
91+
rm *.toc >/dev/null
9292
)
9393
}
9494

95-
95+
9696
# Genera la novela en formato ePub
9797

9898
epub()
@@ -132,8 +132,8 @@ epub()
132132
)
133133
}
134134

135-
136-
# Parsea los metadatos de la novela
135+
136+
# Parsea los metadatos de la novela
137137

138138
parse()
139139
{
@@ -167,7 +167,7 @@ parse()
167167

168168
check()
169169
{
170-
170+
171171
if [ ! -f $NOVELA/metadata.json ]
172172
then
173173
echo -e "\e[91mNo existe el fichero \"metadata.json\" para la novela o no existe la novela.\e[0m"
@@ -207,9 +207,9 @@ clean()
207207

208208
list()
209209
{
210-
echo
210+
echo
211211
echo -e "\e[32m\e[1mNovelas disponibles:\e[0m"
212-
echo
212+
echo
213213
for file in $(cd $DIR ; ls -d */)
214214
do
215215
if [ -f $DIR/$file/metadata.json ]
@@ -220,7 +220,7 @@ list()
220220
echo
221221
}
222222

223-
# Genera la novela
223+
# Genera la novela
224224

225225
generate()
226226
{
@@ -229,14 +229,14 @@ generate()
229229
check $NOVELA
230230
parse
231231

232-
echo
232+
echo
233233
echo -e "Construyendo: \e[32m\e[1m$NOVELABASENAME\e[0m"
234-
echo
234+
echo
235235
echo -e "\e[1mTÍTULO:\e[0m \e[94m$title\e[0m"
236236
echo -e "\e[1mAUTOR:\e[0m \e[94m$author\e[0m"
237237
echo -e "\e[1mISBN:\e[0m \e[94m$isbn\e[0m"
238238
echo -e "\e[1mFECHA:\e[0m \e[94m$date\e[0m"
239-
echo
239+
echo
240240

241241
if [ $PDF -eq 0 ] && [ $EPUB -eq 0 ]
242242
then
@@ -245,10 +245,10 @@ generate()
245245
fi
246246

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

253253
if [ $? -eq 1 ]
254254
then
@@ -298,7 +298,7 @@ generate()
298298

299299
clean
300300

301-
echo
301+
echo
302302
}
303303

304304
while getopts “hped:vl:a:” OPTION
@@ -318,7 +318,7 @@ do
318318
VERBOSE=1
319319
;;
320320
d)
321-
NOVELAFLAG=true
321+
NOVELAFLAG=true
322322
NOVELA=$OPTARG
323323
;;
324324
l)
@@ -354,4 +354,4 @@ if [ "$ALL" = false ]
354354
generate
355355
fi
356356
done
357-
fi
357+
fi

include/base.tex

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,37 +22,34 @@
2222
% TITLE PAGE
2323
%----------------------------------------------------------------------------------------
2424

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

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

30-
\centering % Center all text
30+
\centering
3131

32-
\def\CP{\textit{\Huge %%TITLE%%}} % Title
32+
\def\CP{\textit{\Huge ||TITLE||}} % Title
3333

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

4138
\vfill
4239

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

4542
\textit{Audiowho Novelas}
4643

47-
\vfill % Whitespace between the title and the author name
44+
\vfill
4845

49-
{\Large\textbf{%%PUBLISHER%%}}\\ % Publisher
46+
{\Large\textbf{||PUBLISHER||}}\\
5047

5148
\mbox{}
5249

53-
%%DATE%%
50+
||DATE||
5451

55-
\emph{r5}
52+
\emph{r6}
5653

5754
\endgroup}
5855

@@ -62,14 +59,12 @@
6259
\begin{titlepage}
6360
\pagestyle{empty}
6461
\includepdf{images/cover.pdf}
65-
\titleBC % This command includes the title page
62+
\titleBC{}
6663
\end{titlepage}
6764

68-
\restoregeometry
69-
65+
\restoregeometry{}
7066
\pagestyle{plain}
7167

72-
7368
% Notas de traducción
7469
\input{pre.tex}
7570

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

84-
\end{document}
79+
\end{document}

include/docs/post/00-erores.tex

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
\chapter*{Reporte de errores}
22

3-
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:
3+
No somos perfectos, todos nos equivocamos, en Audiowho también. Si has detectado
4+
un error o algo que no cuadra en la traducción de esta novela puedes hacérnoslo
5+
saber en:
46

57
\mbox{}
68

79
\begin{center}
8-
\href{https://github.com/Bigomby/audiowho-novelas/issues}{\textit{https://github.com/Bigomby/audiowho-novelas/issues}}
10+
\href{https://github.com/Audiowho/audiowho-novelas/issues}
11+
{\textit{https://github.com/Audiowho/audiowho-novelas/issues}}
912
\end{center}
1013

1114
\mbox{}
1215

13-
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.
16+
Para ello puedes hacer click en el botón “New issue” y describirnos el error
17+
indicando, por ejemplo, la página donde se encuentra. Te agradeceremos que nos
18+
lo hagas saber para corregirlo lo antes posible.
1419

1520
\mbox{}
1621

include/docs/post/02-disclaimer.tex

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
\chapter*{}
2-
~
32
\vfill
43
\begin{center}
54

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

87
\vspace{2mm}
98

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

1214
\vspace{2mm}
1315

14-
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.
16+
ESPERAMOS CON ILUSIÓN QUE ALGÚN DÍA SE EDITEN ESTAS OBRAS EN ESPAÑOL. DESDE AQUÍ
17+
ANIMAMOS A COMPRAR NOVELAS, CÓMICS Y DEMÁS DEL GRAN UNIVERSO EXPANDIDO DE DOCTOR
18+
WHO.
1519

1620
\vspace{2mm}
1721

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

2428
\vspace{2mm}
2529

26-
ESTAS Y OTRAS NOVELAS Y COMICS LAS PODRÁS ENCONTRAR EN \href{http://www.audiowho.com}{\textit{HTTP://WWW.AUDIOWHO.COM}}
27-
\end{center}
30+
ESTAS Y OTRAS NOVELAS Y COMICS LAS PODRÁS ENCONTRAR EN
31+
\href{http://www.audiowho.com}{\textit{HTTP://WWW.AUDIOWHO.COM}}
32+
\end{center}

include/style.css

Lines changed: 82 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,90 @@
11
/* ePub base r1.0 AudioWho */
22

3-
body { margin:1em; }
4-
p { margin:0; text-align:justify; text-indent:1.5em; line-height:1.3em; }
5-
a { font-style:normal; font-weight:normal; text-decoration:none; }
6-
sup, sub { font-size:0.75em; line-height:normal; }
3+
body {
4+
margin: 1em;
5+
}
6+
7+
p {
8+
margin: 0;
9+
text-align: justify;
10+
text-indent: 1.5em;
11+
line-height: 1.3em;
12+
}
13+
14+
a {
15+
font-style: normal;
16+
font-weight: normal;
17+
text-decoration: none;
18+
}
19+
20+
sup, sub {
21+
font-size: 0.75em;
22+
line-height: normal;
23+
}
24+
725

826
/* Headers */
9-
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; }
10-
h1 { font-size:1.5em; } /* sólo cambios aprobados, puede afectar páginas globales */
11-
h2 { font-size:1.5em; }
12-
h3 { font-size:1.4em; }
13-
h4 { font-size:1.3em; }
14-
h5 { font-size:1.2em; }
15-
h6 { font-size:1.1em; }
27+
28+
h1, h2, h3, h4, h5, h6 {
29+
margin-top: 25%;
30+
text-align: center;
31+
text-indent: 0;
32+
page-break-after: avoid;
33+
page-break-inside: avoid;
34+
adobe-hyphenate: none;
35+
hyphenate: none;
36+
hyphens: none;
37+
-moz-hyphens: none;
38+
-webkit-hyphens: none;
39+
}
40+
41+
h1 {
42+
font-size: 1.5em;
43+
}
44+
45+
46+
/* sólo cambios aprobados, puede afectar páginas globales */
47+
48+
h2 {
49+
font-size: 1.5em;
50+
}
51+
52+
h3 {
53+
font-size: 1.4em;
54+
}
55+
56+
h4 {
57+
font-size: 1.3em;
58+
}
59+
60+
h5 {
61+
font-size: 1.2em;
62+
}
63+
64+
h6 {
65+
font-size: 1.1em;
66+
}
67+
1668

1769
/* Fuentes */
18-
.sans, .sans p, .sans em, .sans strong, .sans span { font-family:sans-serif; }
19-
.serif, .serif p, .serif em, .serif strong, .serif span { font-family:serif; }
20-
.mono, .mono p, .mono em, .mono strong, .mono span { font-family:monospace; }
70+
71+
.sans, .sans p, .sans em, .sans strong, .sans span {
72+
font-family: sans-serif;
73+
}
74+
75+
.serif, .serif p, .serif em, .serif strong, .serif span {
76+
font-family: serif;
77+
}
78+
79+
.mono, .mono p, .mono em, .mono strong, .mono span {
80+
font-family: monospace;
81+
}
82+
2183

2284
/* Listas */
23-
li { margin:0; text-align:justify; line-height:1.3em; }
85+
86+
li {
87+
margin: 0;
88+
text-align: justify;
89+
line-height: 1.3em;
90+
}

novelas/the-clockwise-man/Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
HTML = $(wildcard docs/caps/*.html)
2+
TEX = $(HTML:.html=.tex)
3+
4+
all: tex
5+
6+
tex: $(TEX)
7+
8+
docs/caps/%.tex: docs/caps/%.html
9+
@echo -e 'Building $@'
10+
pandoc $< -o $@
11+
12+
clean-html:
13+
rm -f docs/caps/*.html
14+
15+
clean-tex:
16+
rm -f docs/caps/*.tex

0 commit comments

Comments
 (0)