summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/doc/ConfigC.m4
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/circuit_macros/doc/ConfigC.m4
Initial commit
Diffstat (limited to 'graphics/circuit_macros/doc/ConfigC.m4')
-rw-r--r--graphics/circuit_macros/doc/ConfigC.m443
1 files changed, 43 insertions, 0 deletions
diff --git a/graphics/circuit_macros/doc/ConfigC.m4 b/graphics/circuit_macros/doc/ConfigC.m4
new file mode 100644
index 0000000000..ccf8bae2d7
--- /dev/null
+++ b/graphics/circuit_macros/doc/ConfigC.m4
@@ -0,0 +1,43 @@
+.PS
+# ConfigC.m4
+sinclude(Circuit_macros.dim)
+s_init(ConfigC)
+gen_init
+ aw = linewid/2
+ linewid = linewid*2/3
+ "{\tt .pic}" above
+ arrow <- right aw
+ M4: shadebox(box wid boxht "{\tt m4}")
+
+ arrow <- right aw
+ Src: shadebox(box wid boxwid*1.85)
+ s_box(Diagram source) at Src.nw above ljust
+ s_box(\tt\small\shortstack[l]{%
+ .PS \\
+ ``include(libgen.m4)'' \\
+ cct\_init \\
+ $\;\cdots$}) with .w at 0.05 between Src.w and Src.e
+
+ arrow <- right aw from 0.35 between Src.ne and Src.se
+ Gen: shadebox(box wid boxwid*2.25 with .nw at (Here,Src.n))
+ s_box(\tt libgen.m4) at Gen.nw above ljust
+ s_box(\tt\small\shortstack[l]{%
+ ``if..include(pstricks.m4)'' \\
+ $\;\cdots$ \\
+ ``define(\char96cct\_init\char39,...)'' \\
+ $\;\cdots$}) with .w at 0.05 between Gen.w and Gen.e
+ arrow <- right aw from Gen.e
+ Conf: shadebox(box wid boxwid*1.8 "Configuration file")
+ { s_box(\tt pstricks.m4) at Conf.nw above ljust }
+
+
+ Cct: shadebox(box wid Gen.wid with .nw at Gen.sw+(0,-0.25))
+ s_box(\tt libcct.m4) at Cct.nw above ljust
+ s_box(\tt\small\shortstack[l]{%
+ $\;\cdots$ \\
+ ``define(\char96resistor\char39,...)'' \\
+ $\;\cdots$}) with .w at 0.05 between Cct.w and Cct.e
+ dw =(Cct.w.x-Src.e.x)/2
+ arrow from Cct.w left dw then up Src.y-Cct.y-0.05 then left dw
+
+.PE