texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Tue, 24 Dec 2024 07:52:27 -0500 (EST)

branch: master
commit 20957c9dd7310d7be45b65276feec0a3bef91d15
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Oct 31 02:06:48 2024 +0100

    * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): return png
    files relative to the directory where the info file is created.
---
 ChangeLog                   | 5 +++++
 tp/Texinfo/Convert/LaTeX.pm | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 41fbc33afb..a2e11f27c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-31  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): return png
+       files relative to the directory where the info file is created.
+
 2024-09-03  Patrice Dumas  <pertusus@free.fr>
 
        Implement INFO_MATH_IMAGES in Info
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 78badadb23..7c929631dc 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -4655,8 +4655,9 @@ sub convert_math_to_images($$$;$)
     }
     print $fh "\\end{preview}\n\n";
 
-    my $png_file_name = File::Spec->catfile($math2img_out_dir,
-                                        $math2img_basename.$counter.'.png');
+    #my $png_file_name = File::Spec->catfile($math2img_out_dir,
+    #                                    $math2img_basename.$counter.'.png');
+    my $png_file_name = $math2img_basename.$counter.'.png';
     $result->{$element} = $png_file_name;
   }
   if ($counter > 0) {



reply via email to

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