[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * ext/tex4ht.pm (tex4ht_process): sort formats fo
From: |
Patrice Dumas |
Subject: |
branch master updated: * ext/tex4ht.pm (tex4ht_process): sort formats for processing order to get a more reproducible output and messages order. |
Date: |
Sat, 22 Oct 2022 03:58:28 -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 b19b3ca363 * ext/tex4ht.pm (tex4ht_process): sort formats for
processing order to get a more reproducible output and messages order.
b19b3ca363 is described below
commit b19b3ca363c60a05da46fc1fc2f6f00adc37cb46
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 22 09:58:18 2022 +0200
* ext/tex4ht.pm (tex4ht_process): sort formats for processing order
to get a more reproducible output and messages order.
---
ChangeLog | 5 +++++
tp/ext/tex4ht.pm | 3 ++-
tp/tests/tex_html/res_parser/tex_httex_latex/tex.html | 2 +-
tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 094910f7a6..9d0248c324 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-22 Patrice Dumas <pertusus@free.fr>
+
+ * ext/tex4ht.pm (tex4ht_process): sort formats for processing order
+ to get a more reproducible output and messages order.
+
2022-10-22 Patrice Dumas <pertusus@free.fr>
Full coverage of contain_plain_text and contain_simple_text
diff --git a/tp/ext/tex4ht.pm b/tp/ext/tex4ht.pm
index 69047f8539..cde37d602b 100644
--- a/tp/ext/tex4ht.pm
+++ b/tp/ext/tex4ht.pm
@@ -338,7 +338,8 @@ sub tex4ht_process($)
if ($self->get_conf('VERBOSE'));
my $errors = 0;
- foreach my $format (keys(%formats)) {
+ # sort for reproducible messages order and output
+ foreach my $format (sort(keys(%formats))) {
$errors += tex4ht_process_format($self, $format);
}
unless (chdir $tex4ht_initial_dir) {
diff --git a/tp/tests/tex_html/res_parser/tex_httex_latex/tex.html
b/tp/tests/tex_html/res_parser/tex_httex_latex/tex.html
index c166bf1408..9525dcd14d 100644
--- a/tp/tests/tex_html/res_parser/tex_httex_latex/tex.html
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex/tex.html
@@ -14,8 +14,8 @@
<style type="text/css">
<!--
-@import "tex_tex4ht_tex.css";
@import "tex_tex4ht_latex.css";
+@import "tex_tex4ht_tex.css";
span.program-in-footer {font-size: smaller}
-->
diff --git a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html
index 3763202fb3..8aaaa45d4a 100644
--- a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html
@@ -14,8 +14,8 @@
<style type="text/css">
<!--
-@import "tex_tex4ht_tex.css";
@import "tex_tex4ht_latex.css";
+@import "tex_tex4ht_tex.css";
span.program-in-footer {font-size: smaller}
-->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * ext/tex4ht.pm (tex4ht_process): sort formats for processing order to get a more reproducible output and messages order.,
Patrice Dumas <=