aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_html.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-06-25 16:54:59 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-06-25 16:54:59 +0000
commit5ebbd9993eadbd888eabc3839eb6d050614bf83d (patch)
treebb434e0c250f685f5e7c8b97d078baa5549be999 /mandoc_html.3
parentad1184bd182b6e22f60994fe3cb07fe6715559ed (diff)
downloadmandoc-5ebbd9993eadbd888eabc3839eb6d050614bf83d.tar.gz
mandoc-5ebbd9993eadbd888eabc3839eb6d050614bf83d.tar.zst
mandoc-5ebbd9993eadbd888eabc3839eb6d050614bf83d.zip
Delete substantial amounts of code
now that we no longer use variable style= attributes.
Diffstat (limited to 'mandoc_html.3')
-rw-r--r--mandoc_html.333
1 files changed, 4 insertions, 29 deletions
diff --git a/mandoc_html.3 b/mandoc_html.3
index 639eb369..5bd9446d 100644
--- a/mandoc_html.3
+++ b/mandoc_html.3
@@ -1,4 +1,4 @@
-.\" $Id: mandoc_html.3,v 1.16 2018/06/25 14:13:54 schwarze Exp $
+.\" $Id: mandoc_html.3,v 1.17 2018/06/25 16:54:59 schwarze Exp $
.\"
.\" Copyright (c) 2014, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -212,35 +212,10 @@ Print a
.Cm style
attribute.
If present, it must be the last format letter.
-In contrast to the other format letters, this one does not yet
-print the value and does not take an argument.
-Instead, the rest of the format string consists of pairs of
-argument type letters and style name letters.
-.El
-.Pp
-Argument type letters each require one argument as follows:
-.Bl -tag -width 1n -offset indent
-.It Cm s
-Requires one
-.Vt char *
-argument, used as a style value.
-.It Cm u
-Requires one
-.Vt struct roffsu *
-argument, used as a length.
-.El
-.Pp
-Style name letters decide what to do with the preceding argument:
-.Bl -tag -width 1n -offset indent
-.It Cm \&?
-The special pair
-.Cm s?
-requires two
-.Vt char *
+It requires two
+.Va char *
arguments.
-The first is the style name, the second its value.
-The style name must not be
-.Dv NULL .
+The first is the name of the style property, the second its value.
.El
.Pp
.Fn print_otag