aboutsummaryrefslogtreecommitdiffstats
path: root/doc/projectplan
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/projectplan/Makefile23
-rw-r--r--doc/projectplan/ProjectPlan.tex (renamed from doc/projectplan/projectplan.tex)43
2 files changed, 45 insertions, 21 deletions
diff --git a/doc/projectplan/Makefile b/doc/projectplan/Makefile
new file mode 100644
index 0000000..64fadde
--- /dev/null
+++ b/doc/projectplan/Makefile
@@ -0,0 +1,23 @@
+TEX := xelatex
+TEXARGS := -halt-on-error -interaction=nonstopmode
+
+SOURCES := ProjectPlan.tex
+
+# Get the main file from the file
+MAIN := $(shell sed -ne 's/^.*\!TeX root =\(.*\)$$/\1/ p' $(SOURCES))
+PDF := $(patsubst %.tex, %.pdf, $(MAIN))
+
+ifeq ($(strip $(MAIN)),)
+MAIN := $(error Failed to identify TeX root, try adding \
+ `% !TeX root = <filename>` to your main tex file)
+endif
+
+.PHONY: all
+all: $(PDF)
+
+%.pdf: %.tex $(SOURCES)
+ $(TEX) $(TEXARGS) $<
+
+.PHONY: clean
+clean:
+ @rm -vf *.aux *.aue *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 .*.lb *.dvi *.xdv *-converted-to.* *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.fdb_latexmk *.synctex *.synctex\(busy\) *.synctex.gz *.synctex.gz\(busy\) *.pdfsync *.alg *.loa acs-*.bib *.thm *.nav *.pre *.snm *.vrb *.soc *.cut *.cpt *.spl *.ent *.lox *.mf *.acn *.acr *.glg *.glo *.gls *.glsdefs *.lzo *.lzs
diff --git a/doc/projectplan/projectplan.tex b/doc/projectplan/ProjectPlan.tex
index 42ae8f4..4e0a067 100644
--- a/doc/projectplan/projectplan.tex
+++ b/doc/projectplan/ProjectPlan.tex
@@ -1,6 +1,7 @@
% !TeX program = xelatex
% !TeX encoding = utf8
% !TeX root = ProjectPlan.tex
+% vim: set ts=2 sw=2 noet:
\documentclass[a4paper, twosided, 11pt]{scrartcl}
@@ -51,35 +52,35 @@
% Document
\begin{document}
\begin{titlepage}
- \includegraphics[height=3cm]{fig/ost-logo}
- \begin{flushright}
- % TODO: OST logo
- \vspace{5cm}
- {\Huge \bfseries \thetitle} \\
- \vspace{5mm}
- {\LARGE Project: \textit{Fading illustration with SDR}} \\
- \vspace{5mm}
- {\LARGE \bfseries Version 0.1}
- \end{flushright}
+ \includegraphics[height=3cm]{fig/ost-logo}
+ \begin{flushright}
+ % TODO: OST logo
+ \vspace{5cm}
+ {\Huge \bfseries \thetitle} \\
+ \vspace{5mm}
+ {\LARGE Project: \textit{Fading illustration with SDR}} \\
+ \vspace{5mm}
+ {\LARGE \bfseries Version 0.1}
+ \end{flushright}
\end{titlepage}
\section*{Changelog}
\begin{tabularx}{\textwidth}{lrlX}
- \toprule
- \bfseries Date & \bfseries Version & \bfseries Author & \bfseries Description \\
- \midrule
- 2021-09-21 & 0.1 & Pross N. & Crated empty document \\
- \bottomrule
+ \toprule
+ \bfseries Date & \bfseries Version & \bfseries Author & \bfseries Description \\
+ \midrule
+ 2021-09-21 & 0.1 & Pross N. & Created document \\
+ \bottomrule
\end{tabularx}
\vfill
{
- \renewcommand{\arraystretch}{2}
- \begin{tabularx}{\textwidth}{lp{.2\textwidth}X}
- & \bfseries Date & \bfseries Signature\\
- Pross Naoki & \hrulefill & \hrulefill \\
- Halter Cinzia Sara & \hrulefill & \hrulefill \\
- \end{tabularx}
+ \renewcommand{\arraystretch}{2}
+ \begin{tabularx}{\textwidth}{lp{.2\textwidth}X}
+ & \bfseries Date & \bfseries Signature\\
+ Halter Cinzia Sara & \hrulefill & \hrulefill \\
+ Pross Naoki & \hrulefill & \hrulefill \\
+ \end{tabularx}
}
\clearpage