Change #271016
| Category | texinfo |
| Changed by | Patrice Dumas <pertusus@free.fr> |
| Changed at | Mon 15 Jun 2026 00:30:53 |
| Repository | https://git.savannah.gnu.org/git/texinfo.git |
| Project | texinfo |
| Branch | master |
| Revision | ce72cc570ff6c1ee3ce6190e44701cf159e971f3 |
Comments
* tta/C/main/manipulate_indices.c: rename cdt_element_tree_fn as element_cdt_tree_fn. * tta/C/convert/converter.c (converter_format_data) (get_converter_indices_sorted_by_index) (get_converter_indices_sorted_by_letter), tta/C/convert/converter.h (CONVERTER_FORMAT_DATA): add element_cdt_tree field in CONVERTER_FORMAT_DATA, set it for HTML and get it in get_converter_indices_sorted_by_*. * tta/C/convert/texinfo.c (txi_complete_document), tta/C/main/document.c (document_indices_sort_strings) (sorted_indices_by_index, sorted_indices_by_letter) (print_document_indices_sort_strings), tta/C/main/manipulate_indices.c (index_entry_element_sort_string) (setup_index_entries_sort_strings) (setup_sort_sortable_strings_collator, sort_indices_by_index) (sort_indices_by_letter), tta/perl/Texinfo/DocumentNonXS.pm (print_document_indices_sort_strings), tta/perl/Texinfo/IndicesNonXS.pm (index_entry_element_sort_string), tta/perl/XSTexinfo/parser_document/DocumentXS.xs (setup_indices_sort_strings, indices_sort_strings) (print_document_indices_sort_strings), tta/swig/texinfo.i: pass converter in Perl and converter and HTML specific function from index sorting and print_document_indices_sort_strings down to indices_sort_strings or index_content_element. Update callers. * tta/C/convert/html_prepare_converter.c (html_converter_customize) (html_conversion_initialization): set self->current_* in html_converter_customize and not right before starting to output, as the current_* struct fields may be used in code called before starting the conversion, mainly for index strings sorting to use a customized function for translation. * tta/C/texi2any.c (main), tta/perl/t/test_utils.pl (test), tta/perl/texi2any.pl: setup converter earlier to have it for the call to setup_indices_sort_strings or txi_complete_document. * tta/perl/Texinfo/Document.pm (BEGIN), tta/perl/XSTexinfo/Makefile.am (DocumentXS_la_CPPFLAGS, DocumentXS_la_LIBADD): link DocumentXS against conversion library now that a converter and associated functions may be needed for index strings sorting translation customization.
Changed files
- ChangeLog
- doc/tta_api/api_includes/Texinfo-Indices.texi
- tta/C/api_for_swig/swig_interface.c
- tta/C/convert/convert_html.h
- tta/C/convert/converter.c
- tta/C/convert/converter.h
- tta/C/convert/format_html.c
- tta/C/convert/html_converter_api.h
- tta/C/convert/html_prepare_converter.c
- tta/C/convert/texinfo.c
- tta/C/convert/texinfo.h
- tta/C/main/document.c
- tta/C/main/document.h
- tta/C/main/manipulate_indices.c
- tta/C/main/manipulate_indices.h
- tta/C/texi2any.c
- tta/TODO
- tta/perl/Texinfo/Convert/LaTeX.pm
- tta/perl/Texinfo/Document.pm
- tta/perl/Texinfo/DocumentNonXS.pm
- tta/perl/Texinfo/Indices.pm
- tta/perl/Texinfo/IndicesNonXS.pm
- tta/perl/XSTexinfo/Makefile.am
- tta/perl/XSTexinfo/parser_document/DocumentXS.xs
- tta/perl/XSTexinfo/parser_document/IndicesXS.xs
- tta/perl/t/init/translation_in_parser_in_translation.pm
- tta/perl/t/results/init_files_tests/customize_definition_index_translations.pl
- tta/perl/t/results/init_files_tests/customize_definition_index_translations/res_html/Last-chapter.html
- tta/perl/t/results/init_files_tests/translation_in_parser_in_translation.pl
- tta/perl/t/test_utils.pl
- tta/perl/texi2any.pl
- tta/swig/texinfo.i