From 6d938d5fd92ef89159c86ac4fe36f376aa5802f9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 27 Aug 2020 14:28:11 +0000 Subject: Make it more explicit that the statement "-O tag does not work with less(1)" only applies to -T html output mode, and why. Of course, -O tag works just fine with less(1) in the -T ascii and -T utf8 output modes. Potential for confusion pointed out by Ian Ropers. --- mandoc.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mandoc.1') diff --git a/mandoc.1 b/mandoc.1 index cc365e26..035bea3c 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -423,10 +423,17 @@ 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 +Consequently, for HTML output, this argument does not work with .Xr more 1 or .Xr less 1 . +For example, +.Ql MANPAGER=less man -T html -O tag=toc mandoc +does not work because +.Xr less 1 +does not support +.Ic file:// +URIs. .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