summaryrefslogtreecommitdiff
path: root/tmac/pspic.tmac
diff options
context:
space:
mode:
authorwl <wl>2008-03-24 20:01:36 +0000
committerwl <wl>2008-03-24 20:01:36 +0000
commit87e985a9163cca07e8034f4ba9318248498ff8a6 (patch)
tree233c72a0148a8a9ab7f3ddc405eb0c882d27a814 /tmac/pspic.tmac
parentd6753a8b4def4643db43c5767374962b72276d4d (diff)
downloadgroff-87e985a9163cca07e8034f4ba9318248498ff8a6.tar.gz
* tmac/trace.tmac (so, mso): Added.
* tmac/www.tmac (PIMG): Replace `.ie' (without `.el') with `.if'. If used with -mtrace, and this clause was active, the macro was executed twice. * tmac/pspic.tmac (PSPIC): Accept option `-C' for orthogonality. This makes `.PIMG -C <file>' (from www.tmac) work on non-HTML devices. * man/groff_tmac.man: Document it.
Diffstat (limited to 'tmac/pspic.tmac')
-rw-r--r--tmac/pspic.tmac8
1 files changed, 6 insertions, 2 deletions
diff --git a/tmac/pspic.tmac b/tmac/pspic.tmac
index edaa2ec8..43665033 100644
--- a/tmac/pspic.tmac
+++ b/tmac/pspic.tmac
@@ -7,7 +7,7 @@
.\"
.\" Usage:
.\"
-.\" .PSPIC [-L|-R|-I <indent>] <file> [<width> [<height>]]
+.\" .PSPIC [-L|-R|-C|-I <indent>] <file> [<width> [<height>]]
.
.do if d PSPIC .nx
.
@@ -37,8 +37,12 @@
. shift 2
. HTML-DO-IMAGE \\$1 i
. \}
-. el \
+. el \{\
+. \" centered is the default
+. if '\\$1'-C' \
+. shift
. HTML-DO-IMAGE \\$1 c
+. \}
. \}
. \}
.