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