aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-07 14:07:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-07 14:07:03 +0000
commit3ab6e5b465cb0d5d38813ac55a78b9eb484d32b9 (patch)
treec708deb2322a868e1477b30626bf30ac05fc57d0 /mandoc.1
parent7ab27b6da5bab30db0dc7aff43b2f2cf328a0a77 (diff)
downloadmandoc-3ab6e5b465cb0d5d38813ac55a78b9eb484d32b9.tar.gz
mandoc-3ab6e5b465cb0d5d38813ac55a78b9eb484d32b9.tar.zst
mandoc-3ab6e5b465cb0d5d38813ac55a78b9eb484d32b9.zip
If a tbl(7) layout contains unknown font modifiers, fall back to the
default font rather than failing the whole table. Needed by some pages in books/man-pages-posix. Written on the plane back from EuroBSDCon in Sofia.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.113
1 files changed, 9 insertions, 4 deletions
diff --git a/mandoc.1 b/mandoc.1
index 75a8b8c2..95f52689 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.114 2014/09/27 11:17:19 kristaps Exp $
+.\" $Id: mandoc.1,v 1.115 2014/10/07 14:07:03 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014 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: September 27 2014 $
+.Dd $Mdocdate: October 7 2014 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -1134,11 +1134,16 @@ or
The invalid argument is moved out of the macro, which leaves the macro
empty, causing it to toggle the spacing mode.
.It Sy "unknown font, skipping request"
-.Pq man
+.Pq man , tbl
A
.Xr roff 7
.Ic \&ft
-request has an invalid argument.
+request or a
+.Xr tbl 7
+.Ic \&f
+layout modifier has an unknown
+.Ar font
+argument.
.El
.Ss "Warnings related to plain text"
.Bl -ohang