diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-01-19 18:02:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-01-19 18:02:00 +0000 |
commit | c52cbdd1ba579d2163f2000582c15c6002df18e9 (patch) | |
tree | 6b9836bd7f87a1c917fca71747149eecdf66d7ac /html.c | |
parent | 997afdc8d9bfb322c69f12820e5299a5cbca4fba (diff) | |
download | mandoc-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 'html.c')
-rw-r--r-- | html.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"span", HTML_INPHRASE | HTML_TOPHRASE}, {"var", HTML_INPHRASE | HTML_TOPHRASE}, {"br", HTML_INPHRASE | HTML_NOSTACK | HTML_NLALL}, + {"mark", HTML_INPHRASE | HTML_NOSTACK }, {"math", HTML_INPHRASE | HTML_NLALL | HTML_INDENT}, {"mrow", 0}, {"mi", 0}, |