* mandoc: Make it more explicit that the statement "-O tag does not work
@ 2020-08-27 14:28 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-08-27 14:28 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-27 14:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 14:28 mandoc: Make it more explicit that the statement "-O tag does not work schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).