From: "Michael S. Tsirkin" <mst@redhat.com>
To: virtio-comment@lists.oasis-open.org, virtio-dev@lists.oasis-open.org
Cc: virtio@lists.oasis-open.org, Paul Knight <paul.knight@oasis-open.org>
Subject: [virtio-dev] [PATCH] editorial: use bold for title and headings
Date: Tue, 10 May 2022 01:35:54 -0400 [thread overview]
Message-ID: <20220510053552.69669-1-mst@redhat.com> (raw)
Paul Knight reported:
- (HTML only) To conform to OASIS style, this should use bold font in title and
headings from top through "Notices"
-- I noted that in the HTML file, these headings use class="aeb10-", but this
is not defined in the .css file.
-- For this publication, I defined it by inserting the line below into the .css
file (virtio-v1.2-csd01.css, at line 18), which fixed this issue:
--- .aeb10-{font-weight: bold;}
make this adjustment in makehtml.sh for the future.
Reported-by: Paul Knight <paul.knight@oasis-open.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
makehtml.sh | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/makehtml.sh b/makehtml.sh
index a19fc34..45b7080 100755
--- a/makehtml.sh
+++ b/makehtml.sh
@@ -22,12 +22,18 @@ sed 's/~</"</g' $SPECDOC.tmp4 >$SPECDOC.tmp5
#drop width/height limits from the logo.
sed '/oasis.png/{n;s/^width="39" height="39" >/ >/}' $SPECDOC.tmp5 >$SPECDOC.tmp6
+#To conform to OASIS style, this should use bold font in title and
+#headings from top through "Notices"
+#these headings use class="aeb10-", but this
+#is not defined in the .css file
+sed '/start css.sty/a .aeb10-{font-weight: bold;}' $SPECDOC.tmp6 >$SPECDOC.tmp7
+
# If font paths are misconfigured, we get ligatures
# (such as 'ff or 'fi') replaced by NULL character in output.
# This in not a valid HTML output, so detect this and warn user.
# For detection, we rely on the fact that file utility
# recognizes files with NULL characters as binary data.
-if test "$(file -b $SPECDOC.tmp5)" = 'data';
+if test "$(file -b $SPECDOC.tmp7)" = 'data';
then
echo
echo WARNING!
@@ -44,7 +50,7 @@ then
echo
fi
-mv $SPECDOC.tmp6 $SPECDOC.html
+mv $SPECDOC.tmp7 $SPECDOC.html
rm $SPECDOC.tmp*
#uncomment if you have a broken t4ht
--
MST
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
next reply other threads:[~2022-05-10 5:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-10 5:35 Michael S. Tsirkin [this message]
2022-05-10 8:20 ` [virtio-dev] [PATCH] editorial: use bold for title and headings Cornelia Huck
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=20220510053552.69669-1-mst@redhat.com \
--to=mst@redhat.com \
--cc=paul.knight@oasis-open.org \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
--cc=virtio@lists.oasis-open.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.