aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-24 13:13:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-24 13:13:06 +0000
commitaea55337f3f72f530978a5e20d38888df13d5b2b (patch)
tree3ee49302d532a6c48bcbd805c5479152040bfa1f
parent1849b727a60f67043a27dc863e3f90e2dbb84dfe (diff)
downloadmandoc-aea55337f3f72f530978a5e20d38888df13d5b2b.tar.gz
mandoc-aea55337f3f72f530978a5e20d38888df13d5b2b.tar.zst
mandoc-aea55337f3f72f530978a5e20d38888df13d5b2b.zip
Resurrect the documentation of the print_otag() 's' attribute specifier,
reverting a minor part of rev. 1.21. Contrary to what i thought, that attribute *is* still supported for a small number of unusual cases.
-rw-r--r--mandoc_html.321
1 files changed, 19 insertions, 2 deletions
diff --git a/mandoc_html.3 b/mandoc_html.3
index 8b9a4420..a77d0e04 100644
--- a/mandoc_html.3
+++ b/mandoc_html.3
@@ -1,4 +1,4 @@
-.\" $Id: mandoc_html.3,v 1.22 2020/04/19 15:16:56 schwarze Exp $
+.\" $Id: mandoc_html.3,v 1.23 2020/04/24 13:13:06 schwarze Exp $
.\"
.\" Copyright (c) 2014, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 19 2020 $
+.Dd $Mdocdate: April 24 2020 $
.Dt MANDOC_HTML 3
.Os
.Sh NAME
@@ -228,6 +228,23 @@ This format letter requires two
arguments, the attribute name and the value.
The name must not be
.Dv NULL .
+.It Cm s
+Print a
+.Cm style
+attribute.
+If present, it must be the last format letter.
+It requires two
+.Va char *
+arguments.
+The first is the name of the style property, the second its value.
+The name must not be
+.Dv NULL .
+The
+.Cm s
+.Ar fmt
+letter can be repeated, each repetition requiring an additional pair of
+.Va char *
+arguments.
.El
.Pp
.Fn print_otag