aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-10-05 21:35:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-10-05 21:35:17 +0000
commitf383f7b17706b2186a0194c0227f7b6c80542b3c (patch)
tree19bdfb3b295d620477835b8071ded71fc4295691 /mandoc.1
parent4bc55ae9552362c7707a31de6c34b7d27ff3dbba (diff)
downloadmandoc-f383f7b17706b2186a0194c0227f7b6c80542b3c.tar.gz
mandoc-f383f7b17706b2186a0194c0227f7b6c80542b3c.tar.zst
mandoc-f383f7b17706b2186a0194c0227f7b6c80542b3c.zip
Add the -Ofragment option to -T[]x]html. This accomodates for embedding
manual output in existing HTML or XHTML documents, e.g., when invoking mandoc from an SSI or CGI.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.110
1 files changed, 8 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 2f748283..b629e833 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.93 2011/09/26 20:47:23 schwarze Exp $
+.\" $Id: mandoc.1,v 1.94 2011/10/05 21:35:17 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 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: September 26 2011 $
+.Dd $Mdocdate: October 5 2011 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -259,6 +259,12 @@ The following
.Fl O
arguments are accepted:
.Bl -tag -width Ds
+.It Cm fragment
+Do not emit doctype, html, and body elements.
+The
+.Cm style
+argument shall be unused.
+This is useful when embedding manual content within existing documents.
.It Cm includes Ns = Ns Ar fmt
The string
.Ar fmt ,