[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/HTML.pm (%css_map, converter
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/HTML.pm (%css_map, converter_initialize): unconditionally put 'span.smaller' (for PROGRAM_NAME_IN_FOOTER) in %css_map. |
Date: |
Sat, 08 Jan 2022 06:49:33 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new d2f07c733d * tp/Texinfo/Convert/HTML.pm (%css_map,
converter_initialize): unconditionally put 'span.smaller' (for
PROGRAM_NAME_IN_FOOTER) in %css_map.
d2f07c733d is described below
commit d2f07c733dbe4cdb7805967c1d45b8640d2e34ce
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Jan 8 12:49:22 2022 +0100
* tp/Texinfo/Convert/HTML.pm (%css_map, converter_initialize):
unconditionally put 'span.smaller' (for PROGRAM_NAME_IN_FOOTER)
in %css_map.
---
ChangeLog | 6 ++++++
tp/Texinfo/Convert/HTML.pm | 6 +-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 18d85104b2..b3692291f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-08 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/HTML.pm (%css_map, converter_initialize):
+ unconditionally put 'span.smaller' (for PROGRAM_NAME_IN_FOOTER)
+ in %css_map.
+
2022-01-08 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Convert/Converter.pm (set_tree_unit_file)
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 2ea20738cf..f518a1fc36 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -1681,7 +1681,6 @@ sub converter_defaults($$)
my $NO_BULLET_LIST_STYLE = 'list-style: none';
my $NO_BULLET_LIST_CLASS = 'no-bullet';
-my $NO_BULLET_LIST_ATTRIBUTE = ' class="'.$NO_BULLET_LIST_CLASS.'"';
my $MENU_PRE_STYLE = 'font-family: serif';
@@ -1693,6 +1692,7 @@ my %css_map = (
'pre.menu-preformatted' => "$MENU_PRE_STYLE",
'a.summary-letter' => 'text-decoration: none',
'pre.display' => 'font-family: inherit',
+ 'span.smaller' => 'font-size: smaller', # used with
PROGRAM_NAME_IN_FOOTER
'span.sansserif' => 'font-family: sans-serif; font-weight: normal',
'span.roman' => 'font-family: initial; font-weight: normal',
'span.nolinebreak' => 'white-space: nowrap',
@@ -6085,10 +6085,6 @@ sub converter_initialize($)
%{$self->{'css_map'}} = %css_map;
- if ($self->get_conf('PROGRAM_NAME_IN_FOOTER')) {
- $self->{'css_map'}->{'span.smaller'} = 'font-size: smaller';
- }
-
_load_htmlxref_files($self);
# duplicate such as not to modify the defaults
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/HTML.pm (%css_map, converter_initialize): unconditionally put 'span.smaller' (for PROGRAM_NAME_IN_FOOTER) in %css_map.,
Patrice Dumas <=