doc: skeleton overview document
authorNicola Fontana <ntd@entidi.it>
Mon, 30 Dec 2013 17:50:10 +0000 (30 18:50 +0100)
committerNicola Fontana <ntd@entidi.it>
Mon, 30 Dec 2013 17:50:10 +0000 (30 18:50 +0100)
Added build support to a bare overview.tex document and tested
dependencies on MetaPost icons.

nodist/.gitignore
nodist/Makefile [new file with mode: 0644]
nodist/overview.tex [new file with mode: 0644]

index 409a919..38314e9 100644 (file)
@@ -1,4 +1,2 @@
 /adg.0
 /adg.log
-/*.mps
-/symbols.log
diff --git a/nodist/Makefile b/nodist/Makefile
new file mode 100644 (file)
index 0000000..54ed04f
--- /dev/null
@@ -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 (file)
index 0000000..9a90fc7
--- /dev/null
@@ -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}