From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: Delete support for the print_otag(sw) * and - modifiers, which
Date: Mon, 28 May 2018 21:10:40 -0500 (EST) [thread overview]
Message-ID: <f14dda768577ed37@fantadrom.bsd.lv> (raw)
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
reply other threads:[~2018-05-29 2:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f14dda768577ed37@fantadrom.bsd.lv \
--to=schwarze@mandoc.bsd.lv \
--cc=source@mandoc.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).