texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Attempt to fix latex2html init file under Latin-1


From: Gavin D. Smith
Subject: branch master updated: Attempt to fix latex2html init file under Latin-1 locale
Date: Sun, 06 Mar 2022 09:05:05 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new eea1f6e291 Attempt to fix latex2html init file under Latin-1 locale
eea1f6e291 is described below

commit eea1f6e291655cdf2303a85efbe6204e24a35346
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Mar 6 14:04:46 2022 +0000

    Attempt to fix latex2html init file under Latin-1 locale
    
    * tp/init/latex2html.pm: Force several encoding variables to
    UTF-8.  Otherwise incorrect image paths are used in the output file.
---
 ChangeLog             | 7 +++++++
 tp/init/latex2html.pm | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 4888aa4f42..7f3707c6a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-03-06  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Attempt to fix latex2html init file under Latin-1 locale
+
+       * tp/init/latex2html.pm: Force several encoding variables to
+       UTF-8.  Otherwise incorrect image paths are used in the output file.
+
 2022-03-06  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Fix latex2html init file under Latin-1 locale
diff --git a/tp/init/latex2html.pm b/tp/init/latex2html.pm
index 4d0974b39b..50a104aba4 100644
--- a/tp/init/latex2html.pm
+++ b/tp/init/latex2html.pm
@@ -66,6 +66,10 @@ texinfo_set_from_init_file('L2H_FILE', undef);
 # latex2html are cleaned (they all have the prefix <document name>_l2h_).
 texinfo_set_from_init_file('L2H_CLEAN', 1);
 
+texinfo_set_from_init_file('DATA_INPUT_ENCODING_NAME', 'UTF-8');
+texinfo_set_from_init_file('LOCALE_OUTPUT_FILE_NAME_ENCODING', 'UTF-8');
+texinfo_set_from_init_file('LOCALE_OUTPUT_ENCODING_NAME', 'UTF-8');
+
 
 # latex2html conversions consist of 2 stages:
 # 1) l2h_process



reply via email to

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