summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-09-12 11:28:20 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-09-12 11:28:20 +0200
commitc75fbe854de2a0a881045fbd19a79eb8dcc898e2 (patch)
treeb145a1cdac89417de688a756a9cd83ffd57f1392 /manual
parent99f195105adf709799074b727cb06cc8b0558f9f (diff)
Update manual
Diffstat (limited to 'manual')
-rw-r--r--manual/.gitignore3
-rw-r--r--manual/Makefile6
-rw-r--r--manual/manual.pdfbin93512 -> 116782 bytes
-rw-r--r--manual/manual.tex14
4 files changed, 16 insertions, 7 deletions
diff --git a/manual/.gitignore b/manual/.gitignore
index 14f1d99..e07bc0d 100644
--- a/manual/.gitignore
+++ b/manual/.gitignore
@@ -4,4 +4,5 @@ _minted-manual
*.log
*.out
*.pre
-svg-inkscape \ No newline at end of file
+svg-inkscape
+version \ No newline at end of file
diff --git a/manual/Makefile b/manual/Makefile
index f07674c..6d10795 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -2,4 +2,10 @@
manual.pdf: manual.tex
+ @grep "__version__.*=" ../esds/__init__.py|grep -o "\".*\""|tr -d "\"" > version
pdflatex -shell-escape manual
+
+clean:
+ - rm manual.pdf
+
+.PHONY: clean
diff --git a/manual/manual.pdf b/manual/manual.pdf
index 31d5574..0fe5cd8 100644
--- a/manual/manual.pdf
+++ b/manual/manual.pdf
Binary files differ
diff --git a/manual/manual.tex b/manual/manual.tex
index a7a3d21..0de486b 100644
--- a/manual/manual.tex
+++ b/manual/manual.tex
@@ -14,6 +14,7 @@
% Commands
\newcommand{\stateoff}{"\textit{off}"\xspace}
\newcommand{\stateon}{"\textit{on}"\xspace}
+\newcommand{\version}{\InputIfFileExists{version}{}{version}}
% Document
\begin{document}
@@ -23,18 +24,19 @@
\begin{titlepage}
\begin{center}
\Huge
- \textbf{\fontsize{90}{60}\selectfont ESDS User Manual\\}
- \vspace{0.5cm}
- {\Large \textbf{\today}}
- \vspace{3cm}
+ \textbf{\fontsize{90}{60}\selectfont User Manual\\}
+ \vspace{0.6cm}
+ \textbf{\LARGE - ESDS v\version - \\}
+ {\Large \today}
+ \vspace{2cm}
{\includesvg[scale=0.8]{../icon.svg}}
- \vspace{3cm}
+ \vspace{2cm}
\LARGE
\textbf{ESDS an Extensible Simulator for Distributed Systems\\}
\vspace{0.5cm}
- \textbf{Written by Loic Guegan and Issam Raïs}
+ \textit{Written by Loic Guegan and Issam Raïs}
\end{center}
\end{titlepage}
\pagebreak