From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id f223f59e for ; Mon, 28 May 2018 21:10:40 -0500 (EST) Date: Mon, 28 May 2018 21:10:40 -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: Delete support for the print_otag(sw) * and - modifiers, which X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-Id: 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