From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1869 invoked from network); 27 Aug 2020 14:28:47 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 27 Aug 2020 14:28:47 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id bc2ca25e for ; Thu, 27 Aug 2020 09:28:42 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 6197995b for ; Thu, 27 Aug 2020 09:28:42 -0500 (EST) Date: Thu, 27 Aug 2020 09:28:42 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Make it more explicit that the statement "-O tag does not work X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- 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. Modified Files: -------------- mandoc: mandoc.1 Revision Data ------------- Index: mandoc.1 =================================================================== RCS file: /home/cvs/mandoc/mandoc/mandoc.1,v retrieving revision 1.245 retrieving revision 1.246 diff -Lmandoc.1 -Lmandoc.1 -u -p -r1.245 -r1.246 --- mandoc.1 +++ mandoc.1 @@ -423,10 +423,17 @@ MANPAGER='lynx -force_html' man -T html 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. -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv