[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Sun, 29 Sep 2024 07:48:56 -0400 (EDT) |
branch: master
commit ef9d6109aa2a5a1b1f91b01b685f8120d7b60973
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jun 23 00:44:34 2024 +0200
* tp/Texinfo/Convert/HTML.pm (%default_commands_conversion): ignore
explicitly seealso, seeentry and sortas.
---
ChangeLog | 5 +++++
tp/Texinfo/Convert/HTML.pm | 6 ++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a33013283a..6f9a14cccf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
Update/fix test result
+2024-06-22 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/HTML.pm (%default_commands_conversion): ignore
+ explicitly seealso, seeentry and sortas.
+
2024-06-22 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/ParserNonXS.pm (_abort_empty_line),
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 50c4f3244f..08da1ef604 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -3189,6 +3189,8 @@ foreach my $explained_command (keys(%explained_commands))
{
my %kept_line_commands;
+# FIXME check that all the commands are in %default_commands_conversion?
+
# TODO add the possibility to customize to add more commands to
# @informative_global_commands?
my @informative_global_commands = ('documentlanguage', 'footnotestyle',
@@ -3219,8 +3221,8 @@ $default_commands_conversion{'page'} = undef;
$default_commands_conversion{'need'} = undef;
$default_commands_conversion{'vskip'} = undef;
-foreach my $ignored_brace_commands ('caption', 'shortcaption',
- 'hyphenation', 'sortas') {
+foreach my $ignored_brace_commands ('caption', 'errormsg', 'hyphenation',
+ 'shortcaption', 'seealso', 'seeentry', 'sortas') {
$default_commands_conversion{$ignored_brace_commands} = undef;
}