texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Common.pm (%document_settable_multip


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Common.pm (%document_settable_multiple_at_commands): change some defaults, set utf-8 for documentencoding and set documentlanguage and micrtype undef.
Date: Thu, 29 Dec 2022 10:42:04 -0500

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 62eaf536ef * tp/Texinfo/Common.pm 
(%document_settable_multiple_at_commands): change some defaults, set utf-8 for 
documentencoding and set documentlanguage and micrtype undef.
62eaf536ef is described below

commit 62eaf536efa1bc0414b65b37bd85289061ca8ee4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Dec 29 16:41:45 2022 +0100

    * tp/Texinfo/Common.pm (%document_settable_multiple_at_commands):
    change some defaults, set utf-8 for documentencoding and set
    documentlanguage and micrtype undef.
---
 ChangeLog                                                        | 6 ++++++
 tp/Texinfo/Common.pm                                             | 9 +++++----
 .../combined_fonts/res_docbook/combined_fonts.xml                | 2 +-
 tp/t/results/converters_tests/empty/res_docbook/empty.xml        | 2 +-
 tp/t/results/converters_tests/line_breaks.pl                     | 2 +-
 .../minimal_empty_empty/res_docbook/minimal_empty_empty.xml      | 2 +-
 .../res_docbook/minimal_empty_with_bye.xml                       | 2 +-
 .../res_docbook/minimal_empty_with_input.xml                     | 2 +-
 .../res_docbook/simplest_no_node_section.xml                     | 2 +-
 tp/t/results/coverage/insertcopying.pl                           | 2 +-
 .../res_docbook/char_latin1_latin1_in_refs.xml                   | 2 +-
 .../misc_commands/codequoteundirected_codequotebacktick.pl       | 2 +-
 tp/t/results/misc_commands/comment_space_command_on_line.pl      | 2 +-
 tp/tests/layout/res_parser/formatting_docbook/formatting.xml     | 2 +-
 14 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f999d6be5..cbe0515a42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-12-29  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Common.pm (%document_settable_multiple_at_commands):
+       change some defaults, set utf-8 for documentencoding and set
+       documentlanguage and micrtype undef.
+
 2022-12-29  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Common.pm (_informative_command_value): get information
diff --git a/tp/Texinfo/Common.pm b/tp/Texinfo/Common.pm
index aa172a626e..bcac6c9a60 100644
--- a/tp/Texinfo/Common.pm
+++ b/tp/Texinfo/Common.pm
@@ -167,9 +167,10 @@ our %document_settable_multiple_at_commands = (
   'codequoteundirected' => 'off',
   'contents' => 0,
   'deftypefnnewline' => 'off',
-  'documentencoding' => 'us-ascii',
-  'documentlanguage' => 'en', # or undef?  Documented as en.
-                              # --document-language
+  'documentencoding' => 'utf-8',
+  'documentlanguage' => undef, # Documented as en, but no @documentlanguage
+                               # really means that the language is not set.
+                               # --document-language
   'evenfooting'       => undef,
   'evenheading'       => undef,
   'everyfooting'      => undef,
@@ -180,7 +181,7 @@ our %document_settable_multiple_at_commands = (
   'frenchspacing' => 'off',
   'headings' => 'on',
   'kbdinputstyle' => 'distinct',
-  'microtype' => 'on',
+  'microtype'         => undef,
   'oddheading'        => undef,
   'oddfooting'        => undef,
   'paragraphindent' => 3,
diff --git 
a/tp/t/results/converters_tests/combined_fonts/res_docbook/combined_fonts.xml 
b/tp/t/results/converters_tests/combined_fonts/res_docbook/combined_fonts.xml
index 555068c4a8..867e4b7e7a 100644
--- 
a/tp/t/results/converters_tests/combined_fonts/res_docbook/combined_fonts.xml
+++ 
b/tp/t/results/converters_tests/combined_fonts/res_docbook/combined_fonts.xml
@@ -3,7 +3,7 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="combined_fonts.xml" lang="en">
+<book id="combined_fonts.xml" lang="">
 <chapter label="1" id="chapter">
 <title>chapter</title>
 
diff --git a/tp/t/results/converters_tests/empty/res_docbook/empty.xml 
b/tp/t/results/converters_tests/empty/res_docbook/empty.xml
index c0dc8d15f3..3dae91f9ef 100644
--- a/tp/t/results/converters_tests/empty/res_docbook/empty.xml
+++ b/tp/t/results/converters_tests/empty/res_docbook/empty.xml
@@ -3,5 +3,5 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="empty.xml" lang="en">
+<book id="empty.xml" lang="">
 </book>
diff --git a/tp/t/results/converters_tests/line_breaks.pl 
b/tp/t/results/converters_tests/line_breaks.pl
index 954407e5a2..a6f401b8cd 100644
--- a/tp/t/results/converters_tests/line_breaks.pl
+++ b/tp/t/results/converters_tests/line_breaks.pl
@@ -552,7 +552,7 @@ $result_converted{'docbook_doc'}->{'line_breaks'} = '<?xml 
version="1.0"?>
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book lang="en">
+<book lang="">
 <title>AWK As A Major Systems Programming 
  Language&#8212;Revisited</title>
 <titleabbrev>the manual 
diff --git 
a/tp/t/results/converters_tests/minimal_empty_empty/res_docbook/minimal_empty_empty.xml
 
b/tp/t/results/converters_tests/minimal_empty_empty/res_docbook/minimal_empty_empty.xml
index 826891a833..5792ed298d 100644
--- 
a/tp/t/results/converters_tests/minimal_empty_empty/res_docbook/minimal_empty_empty.xml
+++ 
b/tp/t/results/converters_tests/minimal_empty_empty/res_docbook/minimal_empty_empty.xml
@@ -3,5 +3,5 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="minimal_empty_empty.xml" lang="en">
+<book id="minimal_empty_empty.xml" lang="">
 </book>
diff --git 
a/tp/t/results/converters_tests/minimal_empty_with_bye/res_docbook/minimal_empty_with_bye.xml
 
b/tp/t/results/converters_tests/minimal_empty_with_bye/res_docbook/minimal_empty_with_bye.xml
index 6ab8a28970..24308333ef 100644
--- 
a/tp/t/results/converters_tests/minimal_empty_with_bye/res_docbook/minimal_empty_with_bye.xml
+++ 
b/tp/t/results/converters_tests/minimal_empty_with_bye/res_docbook/minimal_empty_with_bye.xml
@@ -3,5 +3,5 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="minimal_empty_with_bye.xml" lang="en">
+<book id="minimal_empty_with_bye.xml" lang="">
 </book>
diff --git 
a/tp/t/results/converters_tests/minimal_empty_with_input/res_docbook/minimal_empty_with_input.xml
 
b/tp/t/results/converters_tests/minimal_empty_with_input/res_docbook/minimal_empty_with_input.xml
index 6f72bda3cd..04f55abf1f 100644
--- 
a/tp/t/results/converters_tests/minimal_empty_with_input/res_docbook/minimal_empty_with_input.xml
+++ 
b/tp/t/results/converters_tests/minimal_empty_with_input/res_docbook/minimal_empty_with_input.xml
@@ -3,5 +3,5 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="minimal_empty_with_input.xml" lang="en">
+<book id="minimal_empty_with_input.xml" lang="">
 </book>
diff --git 
a/tp/t/results/converters_tests/simplest_no_node_section/res_docbook/simplest_no_node_section.xml
 
b/tp/t/results/converters_tests/simplest_no_node_section/res_docbook/simplest_no_node_section.xml
index e1ff1c3d27..982b65f2ed 100644
--- 
a/tp/t/results/converters_tests/simplest_no_node_section/res_docbook/simplest_no_node_section.xml
+++ 
b/tp/t/results/converters_tests/simplest_no_node_section/res_docbook/simplest_no_node_section.xml
@@ -3,5 +3,5 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="simplest_no_node_section.xml" lang="en">
+<book id="simplest_no_node_section.xml" lang="">
 </book>
diff --git a/tp/t/results/coverage/insertcopying.pl 
b/tp/t/results/coverage/insertcopying.pl
index 6aa85da208..b281903236 100644
--- a/tp/t/results/coverage/insertcopying.pl
+++ b/tp/t/results/coverage/insertcopying.pl
@@ -242,7 +242,7 @@ $result_converted{'docbook_doc'}->{'insertcopying'} = 
'<?xml version="1.0"?>
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book lang="en">
+<book lang="">
 <bookinfo><legalnotice><para>License.
 </para>
 <blockquote><para>You are not allowed.
diff --git 
a/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_docbook/char_latin1_latin1_in_refs.xml
 
b/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_docbook/char_latin1_latin1_in_refs.xml
index 4d48006383..92ddcb3032 100644
--- 
a/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_docbook/char_latin1_latin1_in_refs.xml
+++ 
b/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_docbook/char_latin1_latin1_in_refs.xml
@@ -3,7 +3,7 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="char_latin1_latin1_in_refs.xml" lang="en">
+<book id="char_latin1_latin1_in_refs.xml" lang="">
 <chapter label="1" 
id="_00e4-_00eb-_00ef-_00f6-_00fc-_00ff-_00c4-_00cb-_00cf-_00d6-_00dc">
 <title>� � � � � � � � � � �</title>
 
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index d3edc7b6bc..0ff158a74f 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -4333,7 +4333,7 @@ 
$result_converted{'docbook_doc'}->{'codequoteundirected_codequotebacktick'} = '<
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book lang="en">
+<book lang="">
 <title>test quotes</title>
 <bookinfo><title>test quotes</title>
 <legalnotice><para>&#8220;simple-double&#8211;three&#8212;four&#8212;-&#8221; 
&#8216;simple&#8217; quotedblleft: &#8220; 
diff --git a/tp/t/results/misc_commands/comment_space_command_on_line.pl 
b/tp/t/results/misc_commands/comment_space_command_on_line.pl
index 0c05e70848..650cacf6da 100644
--- a/tp/t/results/misc_commands/comment_space_command_on_line.pl
+++ b/tp/t/results/misc_commands/comment_space_command_on_line.pl
@@ -1058,7 +1058,7 @@ 
$result_converted{'docbook_doc'}->{'comment_space_command_on_line'} = '<?xml ver
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book lang="en">
+<book lang="">
 <title>Settitle &#160;</title><!-- settittle -->
 <bookinfo><title>Settitle &#160;</title><!-- settittle -->
 </bookinfo>
diff --git a/tp/tests/layout/res_parser/formatting_docbook/formatting.xml 
b/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
index 5fed485915..01d907c7ea 100644
--- a/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
+++ b/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
@@ -3,7 +3,7 @@
   <!ENTITY tex "TeX">
   <!ENTITY latex "LaTeX">
 ]>
-<book id="formatting.xml" lang="en">
+<book id="formatting.xml" lang="">
 <title>title &#8211;a</title>
 <subtitle>formatting subtitle &#8211;a
 subtitle 2 &#8211;a</subtitle>



reply via email to

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