diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-01-19 17:59:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-01-19 17:59:02 +0000 |
commit | a8e6f24e2ef2416c9dca10c01cfe1565024fe06e (patch) | |
tree | 86f53c689529c22446706c45fae20c1a1741faf4 /usr.bin/mandoc/html.h | |
parent | 8cbb81e0ba47de832eaeb3bf897a432b0ba95b3b (diff) |
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 'usr.bin/mandoc/html.h')
-rw-r--r-- | usr.bin/mandoc/html.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h index b928bb3a695..f0c9fe6d7a4 100644 --- a/usr.bin/mandoc/html.h +++ b/usr.bin/mandoc/html.h @@ -1,4 +1,4 @@ -/* $OpenBSD: html.h,v 1.67 2019/09/01 15:12:03 schwarze Exp $ */ +/* $OpenBSD: html.h,v 1.68 2020/01/19 17:59:01 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2017, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org> @@ -48,6 +48,7 @@ enum htmltag { TAG_SPAN, TAG_VAR, TAG_BR, + TAG_MARK, TAG_MATH, TAG_MROW, TAG_MI, |