aboutsummaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2017-04-03 23:12:14 -0400
committerRuss Cox <rsc@swtch.com>2017-06-19 13:51:14 +0000
commit3ebbd193dce0724e106ec9af627a3782676ae510 (patch)
tree8624d9ceba59a4543754ab965117246949f1907a /man/man1
parenta9530c00e860cbbac75b03a1c6bce93ddf0a26f6 (diff)
downloadplan9port-3ebbd193dce0724e106ec9af627a3782676ae510.tar.gz
plan9port-3ebbd193dce0724e106ec9af627a3782676ae510.tar.bz2
plan9port-3ebbd193dce0724e106ec9af627a3782676ae510.zip
svgpic: new program to convert pic to svg
This is an experiment. Like tpic it's a copy-and-paste fork of pic. Change-Id: Ia22772bd5881c7904a6d8f8e0b46fde8cea89cbd Reviewed-on: https://plan9port-review.googlesource.com/2920 Reviewed-by: Russ Cox <rsc@swtch.com>
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/pic.115
1 files changed, 15 insertions, 0 deletions
diff --git a/man/man1/pic.1 b/man/man1/pic.1
index f47fa42a..de443cc0 100644
--- a/man/man1/pic.1
+++ b/man/man1/pic.1
@@ -23,6 +23,11 @@ pic, tpic \- troff and tex preprocessors for drawing pictures
[
.I files
]
+.PP
+.B svgpic
+[
+.I files
+]
.SH DESCRIPTION
.I Pic
is a
@@ -306,6 +311,12 @@ The box may be output this way:
.IP
.L
\ecenterline{\ebox\egraph}
+.PP
+.I Svgpic
+accepts
+.IR pic
+language and produces a Scalable Vector Graphics (SVG) image
+suitable for use in HTML documents.
.SH EXAMPLES
.EX
arrow "input" above; box "process"; arrow "output" above
@@ -342,3 +353,7 @@ B. W. Kernighan,
.I
Unix Research System Programmer's Manual,
Tenth Edition, Volume 2
+.SH BUGS
+.I Svgpic
+is only lightly tested.
+It should handle troff commands in text output.