summaryrefslogtreecommitdiffstats
path: root/mandoc_msg.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-19 18:02:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-19 18:02:00 +0000
commitc52cbdd1ba579d2163f2000582c15c6002df18e9 (patch)
tree6b9836bd7f87a1c917fca71747149eecdf66d7ac /mandoc_msg.c
parent997afdc8d9bfb322c69f12820e5299a5cbca4fba (diff)
downloadmandoc-c52cbdd1ba579d2163f2000582c15c6002df18e9.tar.gz
Introduce a new mdoc(7) macro .Tg ("tag") to explicitly mark a place
as defining a term. Please only use it when automatic tagging does not work. Manual page authors will not be required to add the new macro; using it remains optional. HTML output is still rudimentary in this version and will be polished later. Thanks to kn@ for reminding me that i have been considering since BSDCan 2014 whether something like this might be useful. Given that possibilities of making automatic tagging better are running out and there are still several situations where automatic tagging cannot do the job, i think the time is now ripe. Feedback and no objection from millert@; OK espie@ inoguchi@ kn@.
Diffstat (limited to 'mandoc_msg.c')
-rw-r--r--mandoc_msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc_msg.c b/mandoc_msg.c
index 2be6b0a1..8ce4ede9 100644
--- a/mandoc_msg.c
+++ b/mandoc_msg.c
@@ -223,6 +223,7 @@ static const char *const type_message[MANDOCERR_MAX] = {
"excessive shift",
"NOT IMPLEMENTED: .so with absolute path or \"..\"",
".so request failed",
+ "skipping tag containing whitespace",
"skipping all arguments",
"skipping excess arguments",
"divide by zero",