make: add Makefiles
This commit is contained in:
parent
7ca4207eca
commit
e0b636664d
4 changed files with 29 additions and 3 deletions
13
tech-doc/Makefile
Normal file
13
tech-doc/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
OUTPUT += tech-spec.pdf
|
||||||
|
|
||||||
|
all: $(OUTPUT)
|
||||||
|
|
||||||
|
%.pdf: %.tex
|
||||||
|
latexmk -pdf -xelatex -cd -latexoption="--shell-escape" -use-make -jobname="$*" $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
for f in $(basename $(OUTPUT)); do \
|
||||||
|
latexmk -CA -xelatex -cd -jobname=$$f; \
|
||||||
|
done
|
13
user-doc/Makefile
Normal file
13
user-doc/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
OUTPUT += user-doc.pdf
|
||||||
|
|
||||||
|
all: $(OUTPUT)
|
||||||
|
|
||||||
|
%.pdf: %.tex
|
||||||
|
latexmk -pdf -xelatex -cd -latexoption="--shell-escape" -use-make -jobname="$*" $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
for f in $(basename $(OUTPUT)); do \
|
||||||
|
latexmk -CA -xelatex -cd -jobname=$$f; \
|
||||||
|
done
|
|
@ -21,9 +21,9 @@
|
||||||
%\setmainfont[BoldFont=OpenSans-Bold, ItalicFont=OpenSans-Italic, Ligatures=TeX]{OpenSans-Regular.ttf}
|
%\setmainfont[BoldFont=OpenSans-Bold, ItalicFont=OpenSans-Italic, Ligatures=TeX]{OpenSans-Regular.ttf}
|
||||||
%\setsansfont[BoldFont=OpenSans-Bold, ItalicFont=OpenSans-Italic, Ligatures=TeX]{OpenSans-Regular.ttf}
|
%\setsansfont[BoldFont=OpenSans-Bold, ItalicFont=OpenSans-Italic, Ligatures=TeX]{OpenSans-Regular.ttf}
|
||||||
|
|
||||||
\newfontfamily\Roboto[BoldFont=Roboto-Bold, Ligatures=TeX]{Roboto-Regular}
|
\newfontfamily\Roboto[BoldFont=Roboto-Bold, Ligatures=TeX]{Roboto-Regular.ttf}
|
||||||
\setmainfont[BoldFont=Roboto-Bold, ItalicFont=Roboto-Italic, Ligatures=TeX]{Roboto-Regular}
|
\setmainfont[BoldFont=Roboto-Bold, ItalicFont=Roboto-Italic, Ligatures=TeX]{Roboto-Regular.ttf}
|
||||||
\setsansfont[BoldFont=Roboto-Bold, ItalicFont=Roboto-Italic, Ligatures=TeX]{Roboto-Regular}
|
\setsansfont[BoldFont=Roboto-Bold, ItalicFont=Roboto-Italic, Ligatures=TeX]{Roboto-Regular.ttf}
|
||||||
|
|
||||||
\definecolor{background}{RGB}{58,46,86}
|
\definecolor{background}{RGB}{58,46,86}
|
||||||
\definecolor{border}{RGB}{234,211,186}
|
\definecolor{border}{RGB}{234,211,186}
|
Loading…
Add table
Add a link
Reference in a new issue