doc: Add TeleMetrum and TeleMini drill templates
authorKeith Packard <keithp@keithp.com>
Sat, 9 Feb 2013 07:37:49 +0000 (23:37 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 9 Feb 2013 07:37:49 +0000 (23:37 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
doc/Makefile
doc/altusmetrum.xsl
doc/telemetrum.svg [new file with mode: 0644]
doc/telemini.svg [new file with mode: 0644]

index 53985431faeedbf2c6089084cb37e05916c8b5c6..59fd4ebb1f153eff6abf679b4e4e53feef193684 100644 (file)
@@ -18,6 +18,7 @@ DOC=$(HTML) $(PDF)
 HTMLSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl
 FOSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
 PDFSTYLE=
+IMAGES=telemetrum.svg telemini.svg
 
 .SUFFIXES: .xsl .html .fo .pdf
 
@@ -50,8 +51,8 @@ clean:
 distclean:
        rm -f $(HTML) $(PDF) *.fo
 
-altusmetrum.html: $(RELNOTES_XSL)
-altusmetrum.fo: $(RELNOTES_XSL)
+altusmetrum.html: $(RELNOTES_XSL) $(IMAGES)
+altusmetrum.fo: $(RELNOTES_XSL) $(IMAGES)
 
 indent:                altusmetrum.xsl
        xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new
index 55f02e265729a1d396afacdd082921367ce043c5..065cb71c03af7ddc0b7c288e02f27f6ab5e2de4a 100644 (file)
@@ -2491,6 +2491,29 @@ NAR #88757, TRA #12200
       once you enable the voice output!
     </para>
   </appendix>
+  <appendix>
+    <title>Drill Templates</title>
+    <para>
+      These images, when printed, provide precise templates for the
+      mounting holes in Altus Metrum flight computers
+    </para>
+    <section>
+      <title>TeleMetrum template</title>
+      <mediaobject id="TeleMetrumTemplate">
+       <imageobject>
+         <imagedata format="SVG" fileref="telemetrum.svg"/>
+       </imageobject>
+      </mediaobject>
+    </section>
+    <section>
+      <title>TeleMini template</title>
+      <mediaobject id="TeleMiniTemplate">
+       <imageobject>
+         <imagedata format="SVG" fileref="telemini.svg"/>
+       </imageobject>
+      </mediaobject>
+    </section>
+  </appendix>
   <appendix>
       <title>Calibration</title>
       <para>
diff --git a/doc/telemetrum.svg b/doc/telemetrum.svg
new file mode 100644 (file)
index 0000000..97c4e4a
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<svg
+       xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   width="5in"
+   height="2.5in"
+   viewBox="0 0 500 250"
+   preserveaspectratio="none"
+   id="svg2"
+   version="1.1">
+  <g transform="translate(112.5,75)"
+     style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;font-family:Frutiger LT Std">
+    <!-- outline -->
+    <rect width="275" height="100" x="0" y="0"/>
+    <!-- holes -->
+    <path d="M37.5,12.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+    <path d="M262.5,12.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+    <path d="M37.5,87.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+    <path d="M262.5,87.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+    <!-- arrow -->
+    <path d="M50,50 l165,0"/>
+    <path style="fill:#000000;stroke:none" d="M215,45 l10,5 l-10,5 z"/>
+    <!-- label -->
+    <text x="137.5" y="45" style="fill:#000000;stroke:none" text-anchor="middle">TeleMetrum</text>
+    <g transform="rotate(90)">
+      <text x="50" y="-235" style="fill:#000000;stroke:none" text-anchor="middle">UP</text>
+    </g>
+  </g>
+</svg>
\ No newline at end of file
diff --git a/doc/telemini.svg b/doc/telemini.svg
new file mode 100644 (file)
index 0000000..d07b497
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<svg
+       xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   width="5in"
+   height="2in"
+   viewBox="0 0 500 200"
+   preserveaspectratio="none"
+   id="svg2"
+   version="1.1">
+  <g transform="translate(175,75)"
+     style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;font-family:Frutiger LT Std">
+    <!-- outline -->
+    <rect width="150" height="50" x="0" y="0"/>
+    <!-- holes -->
+    <path d="M135,10 A5,5,0,1,0,145,10 A5,5,0,1,0,135,10 M135,10 l10,0 M140,5 l0,10"/>
+    <path d="M135,40 A5,5,0,1,0,145,40 A5,5,0,1,0,135,40 M135,40 l10,0 M140,35 l0,10"/>
+    <!-- arrow -->
+    <path d="M25,25 l90,0"/>
+    <path style="fill:#000000;stroke:none" d="M115,20 l10,5 l-10,5 z"/>
+    <!-- label -->
+    <text x="75" y="20" style="fill:#000000;stroke:none" text-anchor="middle">TeleMini</text>
+    <g transform="rotate(90)">
+      <text x="25" y="-130" style="fill:#000000;stroke:none" text-anchor="middle">UP</text>
+    </g>
+  </g>
+</svg>
\ No newline at end of file