texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Improve comment, as ths file used for image is no


From: Patrice Dumas
Subject: branch master updated: Improve comment, as ths file used for image is not basename but @-command argument.
Date: Thu, 23 Dec 2021 07:46:24 -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 b2cf6f9  Improve comment, as ths file used for image is not basename 
but @-command argument.
b2cf6f9 is described below

commit b2cf6f9c0d0c89bb34464f22150ee07c7a824d09
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Dec 23 13:44:33 2021 +0100

    Improve comment, as ths file used for image is not basename
    but @-command argument.
---
 tp/Texinfo/Convert/HTML.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 8ca6f84..7a05ce3 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -247,8 +247,9 @@ sub html_image_file_location_name($$$$)
            = 
$self->Texinfo::Common::locate_include_file($image_basefile.$extension);
       if (defined($located_image_path) and $located_image_path ne '') {
         $image_path = $located_image_path;
-        # use the basename and not the file found.  It is agreed that it is
-        # better, since in any case the files are moved.
+        # use the @-command argument and not the file found using the
+        # include paths.  It is considered that the files in include paths
+        # will be moved by the caller anyway.
         $image_file = $image_basefile.$extension;
         $image_extension = $extension;
         last;



reply via email to

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