summaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-07 20:57:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-07 20:57:09 +0000
commit46dd3365d4def0a50cf065f76bc39e52dfa71d82 (patch)
tree74b9fa659fcc01b96403653d79d3b6d33e020e85 /mandoc.1
parent330def09deee27bc7f1f70f0870aebf0eeddd62c (diff)
downloadmandoc-46dd3365d4def0a50cf065f76bc39e52dfa71d82.tar.gz
mandoc-46dd3365d4def0a50cf065f76bc39e52dfa71d82.tar.zst
mandoc-46dd3365d4def0a50cf065f76bc39e52dfa71d82.zip
First check-in of PostScript output. This does not change any logic
within term.c, but does add a small shim over putchar() that switches on the output engine. Prints, for this initial version, only monospace and without font decorations. It's a start.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.111
1 files changed, 10 insertions, 1 deletions
diff --git a/mandoc.1 b/mandoc.1
index baf1073e..4a8020e6 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.61 2010/06/07 10:55:27 kristaps Exp $
+.\" $Id: mandoc.1,v 1.62 2010/06/07 20:57:09 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -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