aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-17 23:39:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-17 23:39:31 +0000
commitf7464ac0fa669c59b2930f137049b871e828064a (patch)
tree19326c7a6fd2e9fafd9ee22c3b3aee48df8563ad
parentef558d8d30edd79a56ac822d208904743283a643 (diff)
downloadmandoc-f7464ac0fa669c59b2930f137049b871e828064a.tar.gz
mandoc-f7464ac0fa669c59b2930f137049b871e828064a.tar.zst
mandoc-f7464ac0fa669c59b2930f137049b871e828064a.zip
Delete the -T xhtml command line option.
It has been obsolete for more than two years. Use -T html.
-rw-r--r--main.c4
-rw-r--r--mandoc.15
-rw-r--r--mandoc.310
-rw-r--r--mandoc_char.78
4 files changed, 9 insertions, 18 deletions
diff --git a/main.c b/main.c
index a58b4ccd..2e65f2c5 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.290 2017/05/16 19:06:30 schwarze Exp $ */
+/* $Id: main.c,v 1.291 2017/05/17 23:39:31 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -950,8 +950,6 @@ toptions(struct curparse *curp, char *arg)
curp->outtype = OUTT_UTF8;
else if (0 == strcmp(arg, "locale"))
curp->outtype = OUTT_LOCALE;
- else if (0 == strcmp(arg, "xhtml"))
- curp->outtype = OUTT_HTML;
else if (0 == strcmp(arg, "ps"))
curp->outtype = OUTT_PS;
else if (0 == strcmp(arg, "pdf"))
diff --git a/mandoc.1 b/mandoc.1
index d97a81c1..dfe3bf09 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.187 2017/05/17 23:20:32 schwarze Exp $
+.\" $Id: mandoc.1,v 1.188 2017/05/17 23:39:31 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -253,9 +253,6 @@ See
Encode output in the UTF\-8 multi-byte format.
See
.Sx UTF\-8 Output .
-.It Fl T Cm xhtml
-This is a synonym for
-.Fl T Cm html .
.El
.Pp
If multiple input files are specified, these will be processed by the
diff --git a/mandoc.3 b/mandoc.3
index 6f7c3eb0..f57f9d1e 100644
--- a/mandoc.3
+++ b/mandoc.3
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.3,v 1.38 2017/01/09 01:37:03 schwarze Exp $
+.\" $Id: mandoc.3,v 1.39 2017/05/17 23:39:31 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,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: January 9 2017 $
+.Dd $Mdocdate: May 17 2017 $
.Dt MANDOC 3
.Os
.Sh NAME
@@ -669,11 +669,9 @@ Using badly-nested blocks is
.Em strongly discouraged ;
for example, the
.Fl T Ns Cm html
-and
-.Fl T Ns Cm xhtml
-front-ends to
+front-end to
.Xr mandoc 1
-are unable to render them in any meaningful way.
+is unable to render them in any meaningful way.
Furthermore, behaviour when encountering badly-nested blocks is not
consistent across troff implementations, especially when using multiple
levels of badly-nested blocks.
diff --git a/mandoc_char.7 b/mandoc_char.7
index 4212ec58..92637b62 100644
--- a/mandoc_char.7
+++ b/mandoc_char.7
@@ -1,4 +1,4 @@
-.\" $Id: mandoc_char.7,v 1.64 2017/02/05 21:41:21 schwarze Exp $
+.\" $Id: mandoc_char.7,v 1.65 2017/05/17 23:39:31 schwarze Exp $
.\"
.\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -16,7 +16,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: February 5 2017 $
+.Dd $Mdocdate: May 17 2017 $
.Dt MANDOC_CHAR 7
.Os
.Sh NAME
@@ -748,9 +748,7 @@ the
differently between mandoc and groff.
.It
In
-.Fl T Ns Cm html
-and
-.Fl T Ns Cm xhtml ,
+.Fl T Ns Cm html ,
the \e(\(ti=, \e(nb, and \e(nc special characters render differently
between mandoc and groff.
.It