* [virtio-dev] [PATCH] editorial: use bold for title and headings
@ 2022-05-10 5:35 Michael S. Tsirkin
2022-05-10 8:20 ` Cornelia Huck
0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2022-05-10 5:35 UTC (permalink / raw)
To: virtio-comment, virtio-dev; +Cc: virtio, Paul Knight
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [virtio-dev] [PATCH] editorial: use bold for title and headings
2022-05-10 5:35 [virtio-dev] [PATCH] editorial: use bold for title and headings Michael S. Tsirkin
@ 2022-05-10 8:20 ` Cornelia Huck
0 siblings, 0 replies; 2+ messages in thread
From: Cornelia Huck @ 2022-05-10 8:20 UTC (permalink / raw)
To: Michael S. Tsirkin, virtio-comment, virtio-dev; +Cc: virtio, Paul Knight
On Tue, May 10 2022, "Michael S. Tsirkin" <mst@redhat.com> wrote:
> 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(-)
I'm not familiar with .css, but
Acked-by: Cornelia Huck <cohuck@redhat.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-10 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-10 5:35 [virtio-dev] [PATCH] editorial: use bold for title and headings Michael S. Tsirkin
2022-05-10 8:20 ` Cornelia Huck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox