first title page draft
This commit is contained in:
parent
73e6ecc137
commit
4edc58950b
@ -32,7 +32,9 @@ do
|
||||
then
|
||||
# create parent dir if necassary
|
||||
mkdir -p $(dirname $tex)
|
||||
$CONVERTER $WD/$tex > $( echo $tex | sed "s/.md/.tex/" )
|
||||
md=$( echo $tex | sed "s/.md/.tex/" )
|
||||
$CONVERTER $WD/$tex > $md
|
||||
echo "converted $tex to $md"
|
||||
else
|
||||
if [[ $tex == *.md ]]
|
||||
then
|
||||
@ -72,37 +74,39 @@ WRAPPER="""
|
||||
}
|
||||
\title{$TITLE}
|
||||
\author{$AUTHOR}
|
||||
%\usepackage[showframe]{geometry}
|
||||
\begin{document}
|
||||
"""
|
||||
TITLE_PAGE="""
|
||||
%\date{}
|
||||
%\maketitle
|
||||
%%%
|
||||
\begin{titlingpage} %This starts the title page
|
||||
\begin{center}
|
||||
% ~
|
||||
\vspace{2cm} %put the distance you need.
|
||||
% ~
|
||||
\begin{HUGE}
|
||||
\thetitle \\
|
||||
\end{HUGE}
|
||||
\vspace{3cm} %put the distance you need.
|
||||
\begin{large}
|
||||
\theauthor\\
|
||||
\end{large}
|
||||
%\thedate
|
||||
\begin{figure}[hb]
|
||||
\centering
|
||||
% \includegraphics[width=\adinkrawidth]{img/sankofa.jpeg}
|
||||
\end{figure}
|
||||
% \vspace{3cm} %put the distance you need.
|
||||
% \begin{figure}[hb]
|
||||
% \centering
|
||||
%% \includegraphics[width=.2\textwidth]{img/ghana_flag.jpeg}
|
||||
% \end{figure}
|
||||
\end{center}
|
||||
% center textblock on page % https://tex.stackexchange.com/a/378157/264579
|
||||
\setlrmarginsandblock{2.5cm}{*}{1}
|
||||
\setulmarginsandblock{2.5cm}{*}{1}
|
||||
\checkandfixthelayout
|
||||
\begin{flushright}
|
||||
\hrule width \hsize height 2pt
|
||||
\kern 1mm
|
||||
\hrule width \hsize
|
||||
\vskip 1.5em
|
||||
\Huge
|
||||
$TITLE\par
|
||||
% \vskip 0.5em
|
||||
\huge
|
||||
$SUBTITLE
|
||||
\vskip 2em
|
||||
\Large
|
||||
$AUTHOR
|
||||
\vskip 1.5em
|
||||
\hrule width \hsize
|
||||
\kern 1mm
|
||||
\hrule width \hsize height 2pt
|
||||
%\vskip 8em
|
||||
\vspace*{\fill}
|
||||
\large
|
||||
$PUBLISHER
|
||||
\vskip 2em
|
||||
\end{flushright}
|
||||
\end{titlingpage}
|
||||
%%%
|
||||
"""
|
||||
COLOPHON="""
|
||||
\cleardoublepage
|
||||
@ -169,8 +173,11 @@ echo "$WRAPPER_END" >> $PROJECT.tex
|
||||
|
||||
# CREATE PDF
|
||||
echo $TMPDIR
|
||||
$LATEX_ENGINE $PROJECT.tex # 2&> /dev/null
|
||||
$LATEX_ENGINE $PROJECT.tex # 2&> /dev/null
|
||||
for i in $(seq 1 $COMPILATION_RUNS )
|
||||
do
|
||||
$LATEX_ENGINE $PROJECT.tex # 2&> /dev/null
|
||||
done
|
||||
#$LATEX_ENGINE $PROJECT.tex # 2&> /dev/null
|
||||
# $LATEX_ENGINE $PROJECT.tex
|
||||
popd > /dev/null
|
||||
rm -rf $WD/$PROJECT
|
||||
|
@ -4,8 +4,9 @@ DOCCLASS_EXTRA="twoside"
|
||||
FONTSIZE="10"
|
||||
PAGESIZE="a5"
|
||||
PROJECT="asem"
|
||||
TITLE="Nsɛm wɔ Twi ne Brɔfo\\\\ \\LARGE Texts in Twi and English"
|
||||
AUTHOR=""
|
||||
TITLE="Nsɛm wɔ Twi ne Brɔfo"
|
||||
SUBTITLE="Texts in Twi and English"
|
||||
AUTHOR="Yɛn Ara"
|
||||
INFILES="""
|
||||
Anansesem - Ghanaian Folk Tales
|
||||
testfiles/parallel-ak.md
|
||||
@ -13,3 +14,4 @@ testfiles/parallel-en.md
|
||||
"""
|
||||
PUBLISHER="AQO\\\\ABA"
|
||||
EDITION="First Edition"
|
||||
COMPILATIONS_RUNS="1"
|
||||
|
Loading…
Reference in New Issue
Block a user