[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Tue, 8 Nov 2022 03:29:23 -0500 (EST) |
branch: master
commit 9f408db9ef11109e0195517c07954c765a116355
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 29 22:06:51 2022 +0200
* tp/Texinfo/Convert/HTML.pm (_convert_informative_command, _convert):
call _translate_names() after documentlanguage conversion in converter
code instead of calling in conversion function.
---
ChangeLog | 6 ++++++
tp/TODO | 2 --
tp/Texinfo/Convert/HTML.pm | 6 +++---
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 825b503794..c3390967f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-10-29 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/HTML.pm (_convert_informative_command, _convert):
+ call _translate_names() after documentlanguage conversion in converter
+ code instead of calling in conversion function.
+
2022-10-29 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Convert/HTML.pm (_translate_names): update gdt call.
diff --git a/tp/TODO b/tp/TODO
index d49ea099a5..daac355e70 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -20,8 +20,6 @@ Issues
------
Some private function used in conversion
- _convert_informative_command
- _translate_names
_convert_printindex_command
_new_document_context
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 01fd3e7b88..86ec17a0e2 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -5372,9 +5372,6 @@ sub _convert_informative_command($$$)
Texinfo::Common::set_informative_command_value($self, $command);
- if ($cmdname eq 'documentlanguage') {
- $self->_translate_names();
- }
return '';
}
@@ -10609,6 +10606,9 @@ sub _convert($$;$)
$result .= &{$self->{'commands_conversion'}->{$command_name}}($self,
$command_name, $element, undef, $content_formatted);
}
+ if ($command_name eq 'documentlanguage') {
+ $self->_translate_names();
+ }
return $result;
} else {
print STDERR "Command not converted: $command_name\n"
- master updated (183227df2e -> 2dff71c663), Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject],
Patrice Dumas <=
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08