* mandoc: Delete support for the print_otag(sw) * and - modifiers, which
@ 2018-05-29 2:10 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-05-29 2:10 UTC (permalink / raw)
To: source
Log Message:
-----------
Delete support for the print_otag(sw) * and - modifiers,
which are no longer used because we write fewer style= attributes.
Modified Files:
--------------
mandoc:
html.c
mandoc_html.3
Revision Data
-------------
Index: html.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/html.c,v
retrieving revision 1.230
retrieving revision 1.231
diff -Lhtml.c -Lhtml.c -u -p -r1.230 -r1.231
--- html.c
+++ html.c
@@ -694,12 +694,6 @@ print_otag(struct html *h, enum htmltag
su = &mysu;
a2width(arg2, su);
}
- if (*fmt == '*') {
- if (su != NULL && su->unit == SCALE_EN &&
- su->scale > 5.9 && su->scale < 6.1)
- su = NULL;
- fmt++;
- }
if (*fmt == '+') {
if (su != NULL) {
/* Make even bold text fit. */
@@ -707,11 +701,6 @@ print_otag(struct html *h, enum htmltag
/* Add padding. */
su->scale += 3.0;
}
- fmt++;
- }
- if (*fmt == '-') {
- if (su != NULL)
- su->scale *= -1.0;
fmt++;
}
break;
Index: mandoc_html.3
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mandoc_html.3,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lmandoc_html.3 -Lmandoc_html.3 -u -p -r1.11 -r1.12
--- mandoc_html.3
+++ mandoc_html.3
@@ -245,18 +245,10 @@ nothing is printed for this pair.
.Pp
The
.Cm w
-argument type letter can optionally be followed by one, two, or three
-modifier letters.
-The modifier
-.Cm *
-suppresses printing of the pair if the argument matches 6n.
-The modifier
+argument type letter can optionally be followed by the modifier
.Cm +
-increases the width by 20% to make even bold text fit
+which increases the width by 20% to make even bold text fit
and adds three units for padding between columns.
-The modifier
-.Cm \-
-makes the width negative by multiplying it with \-1.
.El
.Pp
Style name letters decide what to do with the preceding argument:
--
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:[~2018-05-29 2:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29 2:10 mandoc: Delete support for the print_otag(sw) * and - modifiers, which 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).