Adding a renderer that will produce all the PDFs

This commit is contained in:
David Daily 2020-01-02 08:13:50 -06:00
parent da4c9bea17
commit dd0053cc80
7 changed files with 67 additions and 21 deletions

View File

@ -63,10 +63,13 @@
\begin{quote}
I wish it need not have happened in my time, said Frodo.\newline
So do I, said Gandalf, and so do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given us.’”\\
So do I, said Gandalf, and so do all who live to see such times.
But that is not for them to decide.
All we have to decide is what to do with the time that is given us.’”\\
\end{quote}
\footnotesize{I started this project because I really like the book series and wanted it to exist in English for others to enjoy. I started it in my 2nd year of High School (2013) because I was bored in class, finishing it after I took a break to finish college, get a job, and get married to the love of my life, Alissa.}
\footnotesize{I started this project because I really like the book series and wanted it to exist in English for others to enjoy.
I started it in my 2nd year of High School (2013) because I was bored in class, finishing it after I took a break to finish college, get a job, and get married to the love of my life, Alissa.}
\newpage % Make sure the following content is on a new page
@ -78,13 +81,13 @@
\end{KeepFromToc}
\mainmatter
\input{Book_1/all.tex}
\input{book-1/all.tex}
\input{Book_2/all.tex}
\input{book-2/all.tex}
\input{Book_3/all.tex}
\input{book-3/all.tex}
\input{Book_4/all.tex}
\input{book-4/all.tex}
%===========================================================================================================================================
\end{document}

View File

@ -2,6 +2,13 @@
A book by Wolfgang & Heike Hohlbein, translated by me
## **This is a work in progress.**
Current stage: First draft.
Im just going through and translating it as best I can without
reading over it too much. Ill make sure the sentence makes
some sense, but it isnt gonna be perfect. Ill need to go over it
multiple times later anyway.
## Book 1: The Dead City
When they make an emergency landing in a secluded valley, Andrew and Nick encounter an eerie ruined city with no signs of life. Instead of a rescue party, men clad in black HAZMAT suits show up and without warning they open fire. On the run from them Andrew runs into the mystifying Katt, who brings him to the beast folk on the other end of the city, but they aren't exactly exited to see a human...

View File

@ -1,6 +1,14 @@
\chapter{1}
Andrew was --- other than that he had heard every joke, every wordplay, and each corny joke that you could do with his name\footnote{Anders means different in German. Andrew was the closest sounding, so this intro doesn't work as well. Really need to think of a better intro, but I want to stay true to the source material.}, at least one hundred times and had in the meantime gotten quite used to it and didn't find any of them weird --- actually always a little bit different than most of the others; at least what concerned his peers and all the other human beings he knew outside of the boarding school. It had all started with him going to the school at nine years old (nearly two years earlier than normal), and to bring the school system all the way to its knees, he actually skipped a grade right away. With the help of several private lessons (and a generous donation from his father to the boarding school) he had success. Since he started the school of Drachental hasn't been his second but \textit{only} home.
Andrew was --- other than that he had heard every joke, every wordplay, and each corny joke that you could do with his name\footnote{
Anders means different in German.
Andrew was the closest sounding, so this intro doesn't work as well.
Really need to think of a better intro, but I want to stay true to the source material.
}, at least one hundred times and had in the meantime gotten quite used to it and didn't find any of them weird --- actually always a little bit different than most of the others;
at least what concerned his peers and all the other human beings he knew outside of the boarding school.
It had all started with him going to the school at nine years old (nearly two years earlier than normal), and to bring the school system all the way to its knees, he actually skipped a grade right away.
With the help of several private lessons (and a generous donation from his father to the boarding school) he was sucessful.
Since he started the school of Drachental hasn't been his second, but \textit{only} home.
Andrew pretty much spent most of his time in the time-honored Castle, behind whose simple façade one of the most exclusive and expensive boarding school in the country operated. He spent his school hours --- Andrew was proud of not having ever missed a single school hour in his whole life, which was true, but already made him an outcast among his peers ---, but also the most of his free time, including weekends and the shorter holidays at the castle.
@ -289,4 +297,4 @@ Nick looked at him with an annoyed look. Andrew knew the way just as well as he
``Six.'' Nick corrected himself.
Andrew didn't add any comments to that, but he knew one thing for sure: Nick was not telling him something.
Andrew didn't add any comments to that, but he knew one thing for sure: Nick was not telling him something.

View File

@ -65,7 +65,9 @@
\large Current stage: First draft.
\normalsize I'm just going through and translating it as best I can without reading over it too much. I'll make sure the sentence makes some sense, but it isn't gonna be perfect. I'll need to go over it multiple times later anyway.}
\normalsize I'm just going through and translating it as best I can without reading over it too much.
I'll make sure the sentence makes some sense, but it isn't gonna be perfect.
I'll need to go over it multiple times later anyway.}
\newpage % Make sure the following content is on a new page
@ -79,16 +81,16 @@
\mainmatter
\input{1}
\input{2}
\input{3}
\input{4}
\input{5}
\input{6}
\input{7}
\input{8}
\input{9}
\input{10}
\input{book-1/1}
\input{book-1/2}
\input{book-1/3}
\input{book-1/4}
\input{book-1/5}
\input{book-1/6}
\input{book-1/7}
\input{book-1/8}
\input{book-1/9}
\input{book-1/10}
%===========================================================================================================================================
\end{document}

View File

@ -73,7 +73,7 @@
\mainmatter
\input{1}
\input{book-2/1}
%===========================================================================================================================================
\end{document}

View File

@ -1,3 +1,3 @@
\part{The Dark Land}
\input{Book_2/1}
\input{book-2/1}

26
render.sh Executable file
View File

@ -0,0 +1,26 @@
#!/bin/bash
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=All4 All4.tex
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=All4 All4.tex
rm All4.aux All4.out All4.toc
cp All4.pdf /home/david/fileshare/Anders/
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "book-1/Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "book-1/Main.tex"
rm Book1.aux Book1.out Book1.toc
cp Book1.pdf /home/david/fileshare/Anders/
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "book-2/Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "book-2/Main.tex"
rm Book2.aux Book2.out Book2.toc
cp Book2.pdf /home/david/fileshare/Anders/
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "book-3/Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "book-3/Main.tex"
rm Book3.aux Book3.out Book3.toc
cp Book3.pdf /home/david/fileshare/Anders/
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "book-4/Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "book-4/Main.tex"
rm Book4.aux Book4.out Book4.toc
cp Book4.pdf /home/david/fileshare/Anders/