aboutsummaryrefslogtreecommitdiff
path: root/tmac/tmac.eps
diff options
context:
space:
mode:
Diffstat (limited to 'tmac/tmac.eps')
-rw-r--r--tmac/tmac.eps2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmac/tmac.eps b/tmac/tmac.eps
index 473f662..b30cfb1 100644
--- a/tmac/tmac.eps
+++ b/tmac/tmac.eps
@@ -3,7 +3,7 @@
.\" .EPS file.eps [L|R|C|indents] [width] [height]
.de EPS
. ds eps.tmp /tmp/.eps.\n($$
-. \" obtaing the bounding box
+. \" obtaining the bounding box
. ec @
. ie '@$0'.PDF' .sy cat "@$1" | sed -n '/^.*MediaBox *\[ *\([-.0123456789]\{1,10\}\) *\([-.0123456789]\{1,10\}\) *\([-.0123456789]\{1,10\}\) *\([-.0123456789]\{1,10\}\) *\].*$/{s//.nr llx 0+\1p,.nr lly 0+\2p,.nr urx 0+\3p,.nr ury 0+\4p/p; q; }' | tr ',' '\\n' >@*[eps.tmp]
. el .sy cat "@$1" | sed -n '/%%BoundingBox: *\([-0123456789]\{1,10\}\) *\([-0123456789]\{1,10\}\) *\([-0123456789]\{1,10\}\) *\([-0123456789]\{1,10\}\)/{s//.nr llx 0+\1p,.nr lly 0+\2p,.nr urx 0+\3p,.nr ury 0+\4p/p; q; }' | tr ',' '\\n' >@*[eps.tmp]