[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_im
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): always use forward slashes as file path elements delimiter. |
Date: |
Tue, 24 Dec 2024 08:39:27 -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 00009d820e * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images):
always use forward slashes as file path elements delimiter.
00009d820e is described below
commit 00009d820e4297da7b03851f883bc249453b9c31
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Dec 24 14:39:25 2024 +0100
* tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): always use
forward slashes as file path elements delimiter.
---
ChangeLog | 5 +++++
tp/Texinfo/Convert/LaTeX.pm | 9 +++------
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index aa237f84a9..20765561e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-12-24 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): always use
+ forward slashes as file path elements delimiter.
+
2024-12-24 Patrice Dumas <pertusus@free.fr>
* tp/Makefile.am (CLEANFILES): add load_txi_modules.
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 7c929631dc..85d440b826 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -4545,8 +4545,8 @@ sub convert_math_to_images($$$;$)
my ($encoded_math2img_latex_basefile, $latex_basefile_name_encoding)
= $self->encoded_output_file_name($math2img_latex_basefile);
- my $math2img_latex_file_path_name = File::Spec->catfile($math2img_out_dir,
- $math2img_latex_basefile);
+ my $math2img_latex_file_path_name
+ = "$math2img_out_dir/$math2img_latex_basefile";
my ($encoded_math2img_latex_file_path_name, $math2img_latex_path_encoding)
= $self->encoded_output_file_name($math2img_latex_file_path_name);
@@ -4655,8 +4655,6 @@ 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 = $math2img_basename.$counter.'.png';
$result->{$element} = $png_file_name;
}
@@ -4724,8 +4722,7 @@ sub convert_math_to_images($$$;$)
my ($encoded_math2img_dvi_basefile, $dvi_basefile_name_encoding)
= $self->encoded_output_file_name($math2img_dvi_basefile);
- my $math2img_dvi_file_path_name = File::Spec->catfile($math2img_out_dir,
- $math2img_dvi_basefile);
+ my $math2img_dvi_file_path_name = "$math2img_out_dir/$math2img_dvi_basefile";
my ($encoded_math2img_dvi_file_path_name, $math2img_dvi_path_encoding)
= $self->encoded_output_file_name($math2img_dvi_file_path_name);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): always use forward slashes as file path elements delimiter.,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Makefile.am (CLEANFILES): add load_txi_modules.
- Next by Date:
branch master updated: * tp/Texinfo/ParserNonXS.pm (_place_source_mark) (_process_remaining_on_line), tp/Texinfo/XS/parsetexi/close.c, tp/Texinfo/XS/parsetexi/end_line.c, tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line), tp/Texinfo/XS/parsetexi/separator.c, tp/Texinfo/XS/parsetexi/source_marks.c (place_source_mark): put text element for spaces appearing after a brace @-command name before the opening brace directly in info spaces_after_cmd_before_arg instead of using the brace command contents. Ther [...]
- Previous by thread:
branch master updated: * tp/Makefile.am (CLEANFILES): add load_txi_modules.
- Next by thread:
branch master updated: * tp/Texinfo/ParserNonXS.pm (_place_source_mark) (_process_remaining_on_line), tp/Texinfo/XS/parsetexi/close.c, tp/Texinfo/XS/parsetexi/end_line.c, tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line), tp/Texinfo/XS/parsetexi/separator.c, tp/Texinfo/XS/parsetexi/source_marks.c (place_source_mark): put text element for spaces appearing after a brace @-command name before the opening brace directly in info spaces_after_cmd_before_arg instead of using the brace command contents. Ther [...]
- Index(es):