summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/svg.m4
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-01 03:01:22 +0000
committerNorbert Preining <norbert@preining.info>2022-12-01 03:01:22 +0000
commit77362f5f4b083c21c2044b0c54d228da42804c72 (patch)
tree232ef82c01eeddcc36e279df6e98c1ac6299ea8d /graphics/circuit_macros/svg.m4
parentcb9bbbf5f4fdb303e5da460ebf17b50811d06a6a (diff)
CTAN sync 202212010301
Diffstat (limited to 'graphics/circuit_macros/svg.m4')
-rw-r--r--graphics/circuit_macros/svg.m423
1 files changed, 2 insertions, 21 deletions
diff --git a/graphics/circuit_macros/svg.m4 b/graphics/circuit_macros/svg.m4
index 5eb5bebfc6..63dca4a8ce 100644
--- a/graphics/circuit_macros/svg.m4
+++ b/graphics/circuit_macros/svg.m4
@@ -1,7 +1,7 @@
divert(-1)
- svg.m4 Initialization for SVG output.
+ svg.m4 Initialization for svg output.
-* Circuit_macros Version 10.0, copyright (c) 2022 J. D. Aplevich under *
+* Circuit_macros Version 10.1, copyright (c) 2022 J. D. Aplevich under *
* the LaTeX Project Public Licence in file Licence.txt. The files of *
* this distribution may be redistributed or modified provided that this *
* copyright notice is included and provided that modifications are clearly *
@@ -277,25 +277,6 @@ define(`svg_rot_init',`
`# svg_rot'_init end
')
-ifelse(0,1,`
-# ifdef(`svg_rot_',,`
-## `svg_rot(degrees,"text" [at position])
-## Rotate text degrees ccw
-## Requires svg_rot_init(filename)
-## which uses both awk and sed.
-## The source must be processed twice by m4 and dpic.'
-# define svg_rot { if retcode != 0 then {$`'2} else {
-# if "$`'1" != "" then { svg_rang = -($`'1) } else { svg_rang = -90 }
-# if svgrot_k != 0 then { svgrot_i +=1
-# command sprintf("<g transform=\"rotate(%g %g %g)\">",svg_rang,\
-# svg_rx[svgrot_i],svg_ry[svgrot_i]) }\
-# else { command sprintf("<g transform=\"rotate(%g)\">",svg_rang) }
-#$`'2
-# command "</g>" } }
-# define(`svg_rot_')
-# ')
-')
-
# ---------------------------------------------------------------------------#
define(`thinlines_',`linethick = 0.4