summaryrefslogtreecommitdiffstats
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
commit847e143953798733354192e2afa9dc903f328ac3 (patch)
tree6737f495f456422d5fb30708addf6c21616a15fa /mandoc.1
parentb6cc40bb851bdf52d1814a047df43e7f59c6d91b (diff)
downloadmandoc-847e143953798733354192e2afa9dc903f328ac3.tar.gz
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.19
1 files changed, 7 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 593ff91d..1cb4d93c 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -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