From 8cf98f41d1fca734e5ff771e973ec9d9884ed7d6 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 15 Jun 2020 18:05:18 +0000 Subject: document -T html -O tag as implemented in main.c rev. 1.350 --- mandoc.1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/mandoc.1 b/mandoc.1 index 5f10320e..743f0795 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -410,6 +410,23 @@ The file is used for an external style-sheet. This must be a valid absolute or relative URI. +.It Cm tag Ns Op = Ns Ar term +Same syntax and semantics as for +.Sx ASCII Output . +This is implemented by passing a +.Ic file:// +URI ending in a fragment identifier to the pager +rather than passing merely a file name. +When using this argument, use a pager supporting such URIs, for example +.Bd -literal -offset 3n +MANPAGER='lynx -force_html' man -T html -O tag=MANPAGER man +MANPAGER='w3m -T text/html' man -T html -O tag=toc mandoc +.Ed +.Pp +This argument does not work with +.Xr more 1 +or +.Xr less 1 . .It Cm toc If an input file contains at least two non-standard sections, print a table of contents near the beginning of the output. -- cgit