From de1a2b30ee60423acde31a9d04a9f0bc5dcba534 Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Mon, 30 Dec 2013 18:50:10 +0100 Subject: [PATCH] doc: skeleton overview document Added build support to a bare overview.tex document and tested dependencies on MetaPost icons. --- nodist/.gitignore | 2 -- nodist/Makefile | 21 +++++++++++++++++++++ nodist/overview.tex | 18 ++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 nodist/Makefile create mode 100644 nodist/overview.tex diff --git a/nodist/.gitignore b/nodist/.gitignore index 409a9192..38314e90 100644 --- a/nodist/.gitignore +++ b/nodist/.gitignore @@ -1,4 +1,2 @@ /adg.0 /adg.log -/*.mps -/symbols.log diff --git a/nodist/Makefile b/nodist/Makefile new file mode 100644 index 00000000..54ed04f4 --- /dev/null +++ b/nodist/Makefile @@ -0,0 +1,21 @@ +TEX2PDF=latexmk -silent -quiet -rules- -pdf > /dev/null +MP2MPS=mpost -interaction=batchmode > /dev/null + +all: overview.pdf + +overview.pdf: overview.tex symbols-0.mps ALWAYS_OUTDATED + @echo " DOC overview" ; \ + $(TEX2PDF) overview.tex + +symbols-0.mps: symbols.mp + @echo " DOC symbols" ; \ + $(MP2MPS) symbols.mp + +clean: + @echo " RM ." ; \ + latexmk -C -silent ; \ + rm -f *.mps symbols.log + +# ALWAYS_OUTDATED is a dummy phony target needed to force the build: +# latexmk is the one that will take care of the dependencies. +.PHONY: all clean ALWAYS_OUTDATED diff --git a/nodist/overview.tex b/nodist/overview.tex new file mode 100644 index 00000000..9a90fc75 --- /dev/null +++ b/nodist/overview.tex @@ -0,0 +1,18 @@ +\documentclass[tikz=true,border=20pt]{standalone} + +\begin{document} +\begin{tikzpicture} + +\node (adg) at (0,10) {\includegraphics[scale=0.2]{symbols-8}}; +\node (gear) at (5,10) {\includegraphics[scale=0.2]{symbols-9}}; +\node (server) at (0,0) {\includegraphics[scale=0.2]{symbols-0}}; +\node (database) at (5,0) {\includegraphics[scale=0.2]{symbols-1}}; +\node (printer) at (10,0) {\includegraphics[scale=0.2]{symbols-2}}; +\node (sheet) at (15,0) {\includegraphics[scale=0.2]{symbols-3}}; +\node (laptop) at (0,5) {\includegraphics[scale=0.2]{symbols-4}}; +\node (cloud) at (5,5) {\includegraphics[scale=0.2]{symbols-5}}; +\node (tablet) at (10,5) {\includegraphics[scale=0.2]{symbols-6}}; +\node (workstation) at (15,5) {\includegraphics[scale=0.2]{symbols-7}}; + +\end{tikzpicture} +\end{document} -- 2.11.4.GIT