summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/nsvg/dev/tstSVG.htmx
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/nsvg/dev/tstSVG.htmx')
-rw-r--r--graphics/circuit_macros/examples/nsvg/dev/tstSVG.htmx62
1 files changed, 62 insertions, 0 deletions
diff --git a/graphics/circuit_macros/examples/nsvg/dev/tstSVG.htmx b/graphics/circuit_macros/examples/nsvg/dev/tstSVG.htmx
new file mode 100644
index 0000000000..9e1884c146
--- /dev/null
+++ b/graphics/circuit_macros/examples/nsvg/dev/tstSVG.htmx
@@ -0,0 +1,62 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<HTML>
+<HEAD>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<!--meta http-equiv="Content-Script-Type" content="text/javascript"-->
+<TITLE>SVG Examples: Circuit_macros Version XXX</TITLE>
+<style type="text/css">
+.svg{display:none}
+*>.svg{display:inline}
+</style>
+<link rel="shortcut icon" href="../Circuit_macros.ico" type="image/x-icon" />
+</HEAD>
+
+<BODY>
+<H2>SVG Circuit_macros examples, Version XXX</H2>
+<hr>
+
+<p>
+These diagrams are the result of applying pdf2svg to examples.pdf.
+ <p>
+ Click on the link to view the source of each diagram.
+</p>
+<hr>
+
+define(`for_',`ifelse(eval(`$1'!=(`$2'+(`$3'))),1,`pushdef(`m4x',`$1') $4
+ popdef(`m4x')for_(eval(`$1'+(`$3')),`$2',`$3',`$4')')')
+
+define(`cfig',`
+<p>
+
+<!--[if lte IE 8]><embed src="$1.svg" sinclude($1.siz)><![endif]-->
+
+<!--[if gte IE 9]>
+<object dx="4" data="$1.svg" width="612" height="792" type="image/svg+xml" class="img">
+ </object> <![endif]-->
+
+<!--[if !IE]><!-->
+<object data="$1.svg" width="612" height="792" type="image/svg+xml" class="img">
+ </object> <!--<![endif]-->
+
+<br>
+<!--
+<a href="$1.txt" TYPE="text/plain" TARGET="_blank" alt="$1">$1.m4</a>
+--
+</p>
+<hr>')
+
+define(`m4tt',`<g style="font-family:monospace">')
+
+<!--
+<embed pluginspage="http://www.adobe.com/svg/viewer/install/" />
+-->
+
+
+cfig(test)
+#for_(1,46,1,
+#cfig(examples_```'''m4x)
+#)
+
+</BODY>
+</HTML>