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=2.5 required=5.0 tests=SUBJ_OBFU_PUNCT_FEW, SUBJ_OBFU_PUNCT_MANY,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 27251 invoked from network); 15 Jun 2020 18:05:57 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 15 Jun 2020 18:05:57 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 71e16c3d for ; Mon, 15 Jun 2020 13:05:49 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id c9c9b36c for ; Mon, 15 Jun 2020 13:05:49 -0500 (EST) Date: Mon, 15 Jun 2020 13:05:49 -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: document -T html -O tag as implemented in main.c rev. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <490dd2f03a78db47@mandoc.bsd.lv> Log Message: ----------- document -T html -O tag as implemented in main.c rev. 1.350 Modified Files: -------------- mandoc: mandoc.1 Revision Data ------------- Index: mandoc.1 =================================================================== RCS file: /home/cvs/mandoc/mandoc/mandoc.1,v retrieving revision 1.243 retrieving revision 1.244 diff -Lmandoc.1 -Lmandoc.1 -u -p -r1.243 -r1.244 --- mandoc.1 +++ 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. -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv