These diagrams have been adapted from the Circuit_macros examples in
order to test the experimental svg output of dpic.
Generating the line art is relatively straightforward, but
the labeling is not created by a text processor and must, therefore, be
more basic.
There are a number of issues:
....
They are subject to change:
svg_it: for italics
svg_norm: for normal text
svg_bf: for bold face
svg_small: to set a smaller text size, default 66%
svg_fsize: for setting larger or smaller text size
svg_sub: subscript
svg_sup: superscript
svgLink(URL,drawing object,[B]): link to external file using
<a xlink:href=...>...</a> (default is target="_blank" unless
arg 3 = B)
svgLinkString as above but for strings attached to objects
Inkscape: It may be efficient to define elements by macro and to
place them using a wysiwyg graphics editor. A draft page intended
for Inkscape is included. A reasonable variety of elements is defined
but should be customized for particular applications.
Link experiments: Click on the resistor or source of quickSVG
to go to external
files in new windows. Click on "n-port" in NportSVG to replace the diagram
and then "back" to return.
Some of the assumptions used to create this draft may be naive. Comments
are welcome.