[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/Converter.pm (convert_index_
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/Converter.pm (convert_index_subentries): use convert_tree() instead of _convert(). |
Date: |
Tue, 24 Aug 2021 03:16:09 -0400 |
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 e23ba57 * tp/Texinfo/Convert/Converter.pm (convert_index_subentries):
use convert_tree() instead of _convert().
e23ba57 is described below
commit e23ba579c460dfccc19fdd0d2af52387db0673f2
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Aug 24 09:15:58 2021 +0200
* tp/Texinfo/Convert/Converter.pm (convert_index_subentries):
use convert_tree() instead of _convert().
---
ChangeLog | 5 +++++
tp/Texinfo/Convert/Converter.pm | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 005c9c6..03f27ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2021-08-24 Patrice Dumas <pertusus@free.fr>
+ * tp/Texinfo/Convert/Converter.pm (convert_index_subentries):
+ use convert_tree() instead of _convert().
+
+2021-08-24 Patrice Dumas <pertusus@free.fr>
+
* tp/Texinfo/Convert/HTML.pm (_convert_printindex_command):
convert @subentry in monospace context if in code index.
* tp/Texinfo/Convert/Plaintext.pm (_open_code, _close_code)
diff --git a/tp/Texinfo/Convert/Converter.pm b/tp/Texinfo/Convert/Converter.pm
index 71b7e80..ea34036 100644
--- a/tp/Texinfo/Convert/Converter.pm
+++ b/tp/Texinfo/Convert/Converter.pm
@@ -1350,8 +1350,8 @@ sub convert_index_subentries {
my $tmp = $entry->{'command'};
while ($tmp->{'extra'} and $tmp->{'extra'}->{'subentry'}) {
$tmp = $tmp->{'extra'}->{'subentry'};
- $result .= $self->_convert({'text' => ', '});
- $result .= $self->_convert($tmp->{'args'}->[0]);
+ $result .= $self->convert_tree({'text' => ', '});
+ $result .= $self->convert_tree($tmp->{'args'}->[0]);
}
return $result;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/Converter.pm (convert_index_subentries): use convert_tree() instead of _convert().,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_printindex_command): convert @subentry in monospace context if in code index. * tp/Texinfo/Convert/Plaintext.pm (_open_code, _close_code) (_printindex_formatted, _convert): new functions to open and close _code type to be able to open and close code context without a tree element, to be able to use convert_index_subentries(). * LaTeX.pm: handle indices.
- Next by Date:
branch master updated: * tp/Texinfo/Convert/Text.pm (%ignored_brace_commands), tp/Texinfo/Convert/NodeNameNormalization.pm (%ignored_brace_commands): ignore sortas, seealso, seeentry. * tp/Texinfo/Structuring.pm (setup_index_entry_keys_formatting) (index_key, do_index_keys): split setup_index_entry_keys_formatting and index_key out of do_index_keys() such that the same code can be used in converters on individual index entries or subentries. * tp/Texinfo/Convert/LaTeX.pm (_index_entry): use Texinfo::Structuring: [...]
- Previous by thread:
branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_printindex_command): convert @subentry in monospace context if in code index. * tp/Texinfo/Convert/Plaintext.pm (_open_code, _close_code) (_printindex_formatted, _convert): new functions to open and close _code type to be able to open and close code context without a tree element, to be able to use convert_index_subentries(). * LaTeX.pm: handle indices.
- Next by thread:
branch master updated: * tp/Texinfo/Convert/Text.pm (%ignored_brace_commands), tp/Texinfo/Convert/NodeNameNormalization.pm (%ignored_brace_commands): ignore sortas, seealso, seeentry. * tp/Texinfo/Structuring.pm (setup_index_entry_keys_formatting) (index_key, do_index_keys): split setup_index_entry_keys_formatting and index_key out of do_index_keys() such that the same code can be used in converters on individual index entries or subentries. * tp/Texinfo/Convert/LaTeX.pm (_index_entry): use Texinfo::Structuring: [...]
- Index(es):