texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master updated (183227df2e -> 2dff71c663)


From: Patrice Dumas
Subject: master updated (183227df2e -> 2dff71c663)
Date: Tue, 8 Nov 2022 03:29:20 -0500 (EST)

pertusus pushed a change to branch master.

    from 183227df2e * README-hacking: new ChangeLog file done
     new 0c3721b092 * doc/texi2any_api.texi (Element Direction Information 
Type) (Direction Strings, Getting Direction Strings), tp/Texinfo/Common.pm 
(@variable_other_settables), tp/Texinfo/Config.pm 
(texinfo_register_direction_string_info) (GNUT_get_direction_string_info), 
tp/Texinfo/Convert/HTML.pm (direction_string, _translate_names, 
converter_initialize) (_initialize_output_state): change customization of 
direction strings to be set with texinfo_register_direction_string_info, 
retriev [...]
     new 9f7ca354ff Add optional translation context for in-document string 
translations
     new d1d79ad985 * tp/Texinfo/Convert/HTML.pm (_translate_names): update gdt 
call.
     new 9f408db9ef * tp/Texinfo/Convert/HTML.pm (_convert_informative_command, 
_convert): call _translate_names() after documentlanguage conversion in 
converter code instead of calling in conversion function.
     new f1ace22fdf * tp/Texinfo/Convert/HTML.pm (direction_string, 
_translate_names): translate direction strings only when needed and cache them 
afterwards.  Remove the contents of the translated direction string types in 
_translate_names such that they will be re-translated in the next 
direction_string call.
     new af2fe5d2b4 Add customization of translated strings
     new 214e7dbeb3 Minor edits of texi2any_api.texi
     new d6513b969b * tp/Texinfo/Translations.pm (gdt, 
replace_convert_substrings): Split replace_convert_substrings out of gdt, 
corresponding to the substitution of replaced_substrings and conversion to 
Texinfo tree.
     new 710f48d473 * doc/texi2any_api.texi (Direction Strings Customization) 
(Getting Direction Strings), tp/Texinfo/Config.pm 
(texinfo_register_direction_string_info), tp/Texinfo/Convert/HTML.pm 
(direction_string, converter_initialize): add context information to direction 
strings customization to be able to convert in string and in normal context.  
Update calls of direction_string() to use the string context for strings that 
end up in attributes.
     new 5eb1f1d396 * tp/Texinfo/Config.pm 
(texinfo_register_direction_string_info): set converted string structure only 
if the argument is defined.
     new 2ea54f3cf8 * doc/texi2any_api.texi (Translated Strings Customization), 
tp/init/documentation_examples.pm (my_format_translate_string): add translation 
strings customization example in documentation_examples.pm and fix in manual.
     new 2f2876b9f5 Change init file function names that are global to init 
files; change in comment
     new 8817b1fc7c * tp/Texinfo/Convert/HTML.pm (_load_htmlxref_files): do not 
set htmlxref_files converter state, use a regular array.
     new bbaaf81821 * tp/Texinfo/Convert/HTML.pm: remove 'Top' from %defaults 
'special_elements_targets', instead hardcode the empty @top target in the code.
     new 3e6c9a9e59 * tp/Texinfo/Convert/HTML.pm (_prepare_special_elements): 
for special elements order, use a hash with indices to be used to order the 
special elements instead of an array.  More code, but much easier to 
customize/modify.
     new 0bcb18119b * doc/texi2any_api.texi (Common Customization of Special 
Elements) (Special Elements Information Customization) (Special Element Body 
Formatting Functions), tp/Texinfo/Common.pm (@variable_other_settables), 
tp/Texinfo/Config.pm (_GNUT_initialize_special_element_info) 
(texinfo_register_special_element_info, GNUT_get_special_element_info), 
tp/Texinfo/Convert/HTML.pm (special_element_info, _translate_names, 
converter_initialize): hange information on special elements to b [...]
     new 9df2d83ece Fix typos in Changelog
     new bffbb719ba tp/Texinfo/Convert/HTML.pm minor changes (variable name, 
comment)
     new cefeef0b80 * doc/texinfo.texi (@command{texi2html}): update now that 
translated strings customization is done.
     new eb55b45641 * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_encoding_names_map) 
(_latex_header): associate both a fontenc and an inputenc to an encoding. 
Separate the 'fixed' part of the LaTeX use package part of preamble at the 
beginning, including inputenc and fontenc and the usepackage lines determined 
by the use of Texinfo commands.
     new d8c4cfcf31 tp/Texinfo/Convert/LaTeX.pm: harmonize translation comments
     new 15a9c2b07d * doc/texi2any_api.texi (Simple Navigation Panel 
Customization): add CHAPTER_FOOTER_BUTTONS, update explanations.
     new eb4fa7d25a * doc/texi2any_api.texi (Simple Navigation Panel 
Customization): describe ACTIVE_ICONS and PASSIVE_ICONS more explicitely.
     new 0ca5dd3c1a TODO: remove done entry.  Add info on devhelp.
     new aad7ac7030 * doc/texi2any_api.texi (Simple Customization for Commands 
Without Arguments), tp/Texinfo/Config.pm 
(texinfo_register_no_arg_command_formatting), tp/Texinfo/Convert/HTML.pm 
(_translate_names): allow to set a Texinfo code to be translated and converted 
as command without arguments output.
     new b6cad85cec Also use subentries for index entries sorting in texi2any
     new 5671c49e21 Add @-commands in subentries sorting test
     new 75907266e7 Add an entry with too many subentries to subentries sorting
     new 3f4fee563d More sorted subentries for test with two level
     new cf772b028c Format @subentry in HTML similarly as in printed output
     new 76485d9ea1 Format index entry with @seealso or @seeentry in HTML
     new 4a32cfb59f * NEWS: update with @subentry, @seealso and @seeentry 
formatting in HTML.
     new 973be2ab2a tp/Texinfo/XS/parsetexi/command_data.txt: reorder, format 
comments
     new b06e0cfc92 tp/Texinfo/XS/parsetexi/commands.h: add comments for flags
     new 6adcfb35e9 * tp/Texinfo/Common.pm (pgdt): add pgdt that does nothing 
to be able to marks translated strings with a translation context.
     new fac394ddc9 Augment test of customized translations to test 
FirstInFile* setup
     new 909ee3ceb5 tp/Texinfo/Structuring.pm: reindent/cut at 80 columns
     new 6fcdfa52a8 * tp/Texinfo/Structuring.pm (check_nodes_are_referenced): 
consider that a node is referenced if it appears in a manu that would be setup 
automatically.  That is if a node has automatic direction, no menu, all the 
children determined by automatic directions are considered to be referenced. 
(get_node_node_childs_from_sectioning): avoid spurious auto-vivification.
     new b64ee571ad Add things todo for translated strings.
     new 2a70725488 tp/Texinfo/Structuring.pm: cut at 80 columns, reindent, 
rewrite
     new e70a16705b Texinfo/Convert/HTML.pm: cut at 80 columns.
     new 2fcb5f23aa Do not use FirstInFile in direction strings, document 
FirstInFile
     new 20741e8385 tp/Texinfo/Convert/HTML.pm: add FIXME, reorder %defaults
     new aa81093db0 Update TODO
     new bf21908ef6 TODO: Glossary/general definition, add link to message
     new 2dff71c663 Add test with empty index entry because of txiindex*ignore


Summary of changes:
 ChangeLog                                          |  243 +++
 NEWS                                               |    5 +
 TODO                                               |   12 +-
 doc/texi2any_api.texi                              |  726 +++++--
 doc/texi2oldapi.texi                               |   33 +-
 doc/texinfo.texi                                   |   20 +-
 tp/TODO                                            |   20 +-
 tp/Texinfo/Commands.pod                            |    2 +-
 tp/Texinfo/Common.pm                               |   61 +-
 tp/Texinfo/Config.pm                               |  150 +-
 tp/Texinfo/Convert/Converter.pm                    |    9 +-
 tp/Texinfo/Convert/HTML.pm                         | 1585 +++++++++-----
 tp/Texinfo/Convert/LaTeX.pm                        |   75 +-
 tp/Texinfo/Convert/Plaintext.pm                    |    3 +-
 tp/Texinfo/Convert/Utils.pm                        |    4 +-
 tp/Texinfo/Structuring.pm                          |  347 ++-
 tp/Texinfo/Translations.pm                         |   94 +-
 tp/Texinfo/XS/parsetexi/command_data.txt           |  228 +-
 tp/Texinfo/XS/parsetexi/commands.h                 |    2 +
 tp/init/documentation_examples.pm                  |   35 +
 tp/t/09indices.t                                   |   48 +
 tp/t/30sectioning.t                                |   10 +
 tp/t/init/special_element_customization.pm         |   73 +
 tp/t/init/translated_strings_customization.pm      |   81 +
 tp/t/init_files_tests.t                            |   71 +-
 .../combined_fonts/res_latex/combined_fonts.tex    |    4 +-
 .../res_latex/definition_commands.tex              |    8 +-
 .../converters_tests/empty/res_latex/empty.tex     |    4 +-
 .../res_latex/minimal_empty_empty.tex              |    4 +-
 .../res_latex/minimal_empty_with_bye.tex           |    4 +-
 .../res_latex/minimal_empty_with_input.tex         |    4 +-
 .../printindex_merged_indices_code_style.tex       |    6 +-
 .../res_latex/references_to_top_no_top_output.tex  |    6 +-
 .../res_latex/simplest_no_node_section.tex         |    4 +-
 .../res_latex/char_latin1_latin1_in_refs.tex       |    6 +-
 .../mathjax_with_texinfo_enable_encoding.tex       |    4 +-
 tp/t/results/indices/def_syn_indices.pl            |    6 +-
 tp/t/results/indices/double_seeentry_seealso.pl    |   45 +-
 tp/t/results/indices/empty_cindex_entry.pl         |    4 +-
 tp/t/results/indices/empty_index_entry.pl          |    6 +-
 tp/t/results/indices/empty_string_index_entry.pl   |    8 +-
 tp/t/results/indices/explicit_sort_key.pl          |    6 +-
 .../indices/ignored_sort_char_empty_entries.pl     |  674 ++++++
 .../multiple_index_text_sortas_seeentry_seealso.pl |   26 +-
 tp/t/results/indices/same_only_seealso_seeentry.pl |   38 +-
 tp/t/results/indices/same_seealso_seeentry.pl      |   36 +-
 tp/t/results/indices/seealso_duplicate.pl          |   15 +-
 tp/t/results/indices/seeentry.pl                   |   38 +-
 tp/t/results/indices/sorted_subentries.pl          | 2289 ++++++++++++++++++++
 tp/t/results/indices/subentries.pl                 |   40 +-
 tp/t/results/indices/subentry_and_sortas.pl        |   16 +-
 tp/t/results/indices/subentry_and_sortas_spaces.pl |   24 +-
 tp/t/results/indices/syncode_index_print_both.pl   |    6 +-
 tp/t/results/indices/transparent_sort_chars.pl     |    6 +-
 .../customize_special_element.pl}                  |  375 ++--
 .../res_html/Chapter-fr.html                       |   37 +
 .../res_html/Chapter.html                          |   37 +
 .../res_html/customize_special_element_fot.html    |   40 +
 .../customize_special_element/res_html/index.html  |   68 +
 .../init_files_tests/customize_translations.pl     |  908 ++++++++
 .../res_html/Chapter-de.html                       |   43 +
 .../res_html/Chapter-fr.html                       |   55 +
 .../customize_translations/res_html/Chapter.html   |   43 +
 .../res_html/Last-chapter.html                     |   40 +
 .../customize_translations/res_html}/index.html    |   44 +-
 .../res_html/section-fr.html}                      |   11 +-
 .../init_files_tests/documentation_examples.pl     |  280 ++-
 .../res_html/documentation_examples_fot.html       |    8 +-
 .../documentation_examples/res_html/index.html     |   20 +-
 .../res_html/prepended_to_filenames-my-node.html   |   14 +-
 .../res_latex/inter_item_commands_in_enumerate.tex |    8 +-
 .../res_latex/inter_item_commands_in_itemize.tex   |    8 +-
 .../res_latex/multiple_lang_chapters.tex           |    8 +-
 ...anchor_links_xref_xrefautomaticsectiontitle.tex |    4 +-
 .../brace_in_index/res_latex/brace_in_index.tex    |    8 +-
 .../custom_headings/res_latex/custom_headings.tex  |    4 +-
 .../res_latex/enumerate_arguments.tex              |    6 +-
 .../res_latex/error_in_sectioning_command.tex      |    4 +-
 .../res_latex/example_in_cartouche.tex             |    6 +-
 .../float_and_refs/res_latex/float_and_refs.tex    |    4 +-
 .../fonttextsize/res_latex/fonttextsize.tex        |    6 +-
 tp/t/results/latex_tests/indices.pl                |    2 +-
 .../latex_tests/indices/res_latex/indices.tex      |    6 +-
 .../res_latex/informative_commands_in_top_node.tex |    4 +-
 .../res_latex/nested_enumerate.tex                 |    6 +-
 .../nested_itemize/res_latex/nested_itemize.tex    |    6 +-
 .../no_titlepage_and_setchapternewpage_odd.tex     |    4 +-
 .../no_titlepage_and_setchapternewpage_on.tex      |    4 +-
 .../latex_tests/pagesizes/res_latex/pagesizes.tex  |    6 +-
 .../latex_tests/pagetype/res_latex/pagetype.tex    |    6 +-
 .../setchapternewpage_on_odd_titlepage.tex         |    4 +-
 .../res_latex/settitle_and_headings.tex            |    4 +-
 .../shorttitlepage/res_latex/shorttitlepage.tex    |    4 +-
 .../three_setchapternewpage_on_odd_off.tex         |    4 +-
 .../res_latex/titlepage_and_headings.tex           |    4 +-
 .../titlepage_and_setchapternewpage_odd.tex        |    4 +-
 .../titlepage_and_setchapternewpage_on.tex         |    4 +-
 .../res_latex/titlepage_classical.tex              |    4 +-
 .../res_latex/titlepage_in_top_node.tex            |    4 +-
 .../res_latex/titlepage_long_title.tex             |    4 +-
 .../res_latex/titlepage_no_author.tex              |    4 +-
 .../res_latex/titlepage_no_title.tex               |    4 +-
 .../titlepage_with_commands_classical.tex          |    4 +-
 .../res_latex/two_setchapternewpage_odd_on.tex     |    4 +-
 .../res_latex/two_setchapternewpage_on_odd.tex     |    4 +-
 .../vbar_in_index/res_latex/vbar_in_index.tex      |    6 +-
 .../res_latex/verbatim_in_smallformat.tex          |    4 +-
 .../codequoteundirected_codequotebacktick.pl       |    4 +-
 .../misc_commands/command_in_heading_footing.pl    |    4 +-
 .../misc_commands/comment_space_command_on_line.pl |    8 +-
 tp/t/results/misc_commands/comments_in_text.pl     |    4 +-
 tp/t/results/misc_commands/definfoenclose.pl       |    4 +-
 .../misc_commands/definfoenclose_nestings.pl       |    4 +-
 .../misc_commands/definfoenclose_with_empty_arg.pl |    4 +-
 tp/t/results/misc_commands/empty_center.pl         |    4 +-
 .../results/misc_commands/empty_center_with_arg.pl |    4 +-
 tp/t/results/misc_commands/footnote_in_center.pl   |    6 +-
 .../misc_commands/heading_command_in_commands.pl   |    4 +-
 .../incorrect_allowcodebreaks_argument.pl          |    4 +-
 tp/t/results/misc_commands/indent_in_quotation.pl  |    4 +-
 tp/t/results/misc_commands/kbdinputstyle.pl        |    4 +-
 .../misc_commands/kbdinputstyle_in_table.pl        |    6 +-
 .../no_empty_line_between_headings.pl              |    4 +-
 .../misc_commands/noindent_after_smallexample.pl   |    4 +-
 tp/t/results/misc_commands/noindent_empty_para.pl  |    4 +-
 .../results/misc_commands/noindent_in_paragraph.pl |    4 +-
 tp/t/results/misc_commands/noindent_indent.pl      |    4 +-
 tp/t/results/misc_commands/ref_in_center.pl        |    4 +-
 tp/t/results/misc_commands/setfilename.pl          |    4 +-
 tp/t/results/misc_commands/test_allowcodebreaks.pl |    4 +-
 tp/t/results/misc_commands/vskip.pl                |    4 +-
 tp/t/results/quotation/empty_quotation.pl          |    4 +-
 tp/t/results/quotation/quotation_and_author.pl     |    4 +-
 .../quotation/quotation_author_in_example.pl       |    4 +-
 .../space_at_commands_end_quotation_line.pl        |    4 +-
 .../sectioning/automatic_menu_referencing_node.pl  |  462 ++++
 .../res_latex/chapter_between_nodes.tex            |    4 +-
 .../lone_Top_node/res_latex/lone_Top_node.tex      |    4 +-
 .../sectioning/loop_nodes/res_latex/loop_nodes.tex |    4 +-
 .../node_sectop_before_chapter_no_node.tex         |    4 +-
 .../res_latex/node_sectop_before_lone_node_Top.tex |    4 +-
 .../res_latex/nodes_before_after_top.tex           |    4 +-
 .../res_latex/nodes_before_after_top_xref.tex      |    4 +-
 .../res_latex/nodes_before_top.tex                 |    4 +-
 .../res_latex/section_before_after_top_node.tex    |    4 +-
 .../section_before_after_top_node_last_node.tex    |    4 +-
 .../res_latex/section_chapter_before_top_nodes.tex |    4 +-
 .../res_latex/top_node_part_top.tex                |    4 +-
 .../res_latex/inter_item_commands_in_table.tex     |    8 +-
 .../inter_item_commands_in_table_in_example.tex    |    8 +-
 tp/t/test_sort.t                                   |   39 +-
 tp/t/test_utils.pl                                 |    2 +
 .../non_ascii_test_latex/os\303\251_utf8.tex"      |    4 +-
 .../indices_in_begin_tables_lists.tex              |    8 +-
 .../indices_in_begin_tables_lists.tex              |    8 +-
 .../layout/res_parser/formatting/formatting.html   |   70 +-
 .../layout/res_parser/formatting_chm/chapter.html  |   36 +-
 .../layout/res_parser/formatting_chm/chapter2.html |   36 +-
 .../formatting_enable_encoding/formatting.html     |   70 +-
 .../EPUB/xhtml/chapter.xhtml                       |   36 +-
 .../EPUB/xhtml/chapter2.xhtml                      |   36 +-
 .../EPUB/xhtml/chapter.xhtml                       |   36 +-
 .../EPUB/xhtml/chapter2.xhtml                      |   36 +-
 .../res_parser/formatting_exotic/chapter.html      |   36 +-
 .../res_parser/formatting_exotic/chapter2.html     |   36 +-
 .../res_parser/formatting_fr_icons/formatting.html |   70 +-
 .../res_parser/formatting_html/formatting.html     |   70 +-
 .../res_parser/formatting_html32/formatting.html   |   68 +-
 .../formatting_html_no_texi2html/formatting.html   |   70 +-
 .../res_parser/formatting_html_nodes/chapter.html  |   36 +-
 .../res_parser/formatting_html_nodes/chapter2.html |   36 +-
 .../formatting_inline_css/formatting.html          |   68 +-
 .../res_parser/formatting_latex/formatting.tex     |   10 +-
 .../res_parser/formatting_mathjax/formatting.html  |   70 +-
 .../res_parser/formatting_nodes/chapter.html       |   36 +-
 .../res_parser/formatting_nodes/chapter2.html      |   36 +-
 .../formatting_numerical_entities/formatting.html  |   70 +-
 .../formatting_weird_quotes/formatting.html        |   70 +-
 .../res_parser/formatting_xhtml/formatting.html    |   70 +-
 .../res_parser/formatting_singular/chapter.html    |   36 +-
 .../res_parser/formatting_singular/chapter2.html   |   36 +-
 181 files changed, 9533 insertions(+), 1931 deletions(-)
 create mode 100644 tp/t/init/special_element_customization.pm
 create mode 100644 tp/t/init/translated_strings_customization.pm
 create mode 100644 tp/t/results/indices/ignored_sort_char_empty_entries.pl
 create mode 100644 tp/t/results/indices/sorted_subentries.pl
 copy tp/t/results/{latex_tests/pagesizes.pl => 
init_files_tests/customize_special_element.pl} (51%)
 create mode 100644 
tp/t/results/init_files_tests/customize_special_element/res_html/Chapter-fr.html
 create mode 100644 
tp/t/results/init_files_tests/customize_special_element/res_html/Chapter.html
 create mode 100644 
tp/t/results/init_files_tests/customize_special_element/res_html/customize_special_element_fot.html
 create mode 100644 
tp/t/results/init_files_tests/customize_special_element/res_html/index.html
 create mode 100644 tp/t/results/init_files_tests/customize_translations.pl
 create mode 100644 
tp/t/results/init_files_tests/customize_translations/res_html/Chapter-de.html
 create mode 100644 
tp/t/results/init_files_tests/customize_translations/res_html/Chapter-fr.html
 create mode 100644 
tp/t/results/init_files_tests/customize_translations/res_html/Chapter.html
 create mode 100644 
tp/t/results/init_files_tests/customize_translations/res_html/Last-chapter.html
 copy tp/{tests/contents/res_parser/double_contents_after_title_no_texi2html => 
t/results/init_files_tests/customize_translations/res_html}/index.html (50%)
 copy 
tp/t/results/{converters_tests/references_to_top_no_top_output/res_html/Main-Flist.html
 => init_files_tests/customize_translations/res_html/section-fr.html} (57%)
 create mode 100644 tp/t/results/sectioning/automatic_menu_referencing_node.pl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]