summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-10 22:50:11 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-10 22:50:11 +0000
commitc1243dd3d425f1ed2e443ef64c366b6257899b39 (patch)
tree34680ff8ebd5a852446d0bd685577e2be50aba6d /usr.bin/mandoc/mandoc.1
parentb075642d3aba8bbab0d253676dac4429a2db1be1 (diff)
minimal initial -Tps support, from kristaps@ GSOC
so far, monospace without font decoration, but it already has page headers and footers
Diffstat (limited to 'usr.bin/mandoc/mandoc.1')
-rw-r--r--usr.bin/mandoc/mandoc.113
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mandoc.1 b/usr.bin/mandoc/mandoc.1
index f2ac4b1a110..4cd7d651ce6 100644
--- a/usr.bin/mandoc/mandoc.1
+++ b/usr.bin/mandoc/mandoc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mandoc.1,v 1.30 2010/06/08 00:11:47 schwarze Exp $
+.\" $OpenBSD: mandoc.1,v 1.31 2010/06/10 22:50:10 schwarze Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 8 2010 $
+.Dd $Mdocdate: June 10 2010 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -163,6 +163,10 @@ Implies
.Fl W Ns Cm all
and
.Fl f Ns Cm strict .
+.It Fl T Ns Cm ps
+Produce PostScript output.
+See
+.Sx PostScript Output .
.It Fl T Ns Cm tree
Produce an indented parse tree.
.It Fl T Ns Cm xhtml
@@ -343,6 +347,11 @@ cause rendered documents to appear as they do in
.Fl T Ns Cm ascii .
.Pp
Special characters are rendered in decimal-encoded UTF-8.
+.Ss PostScript Output
+PostScript Level 1 pages may be generated by
+.Fl T Ns Cm ps .
+Output pages are US-letter sized (215.9 x 279.4 mm) and rendered in
+fixed, 10-point Courier font.
.Ss XHTML Output
Output produced by
.Fl T Ns Cm xhtml