texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * util/texi2dvi (decide_aux_files_method): Change


From: Gavin D. Smith
Subject: branch master updated: * util/texi2dvi (decide_aux_files_method): Change an error message to be less confusing.
Date: Wed, 05 Oct 2022 14:59:49 -0400

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 ce23c3dcd9 * util/texi2dvi (decide_aux_files_method): Change an error 
message to be less confusing.
ce23c3dcd9 is described below

commit ce23c3dcd96f3064e745611dcb4d4efb60dcff74
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Oct 5 19:59:40 2022 +0100

    * util/texi2dvi (decide_aux_files_method): Change an error
    message to be less confusing.
---
 ChangeLog     |  5 +++++
 util/texi2dvi | 10 ++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f6205a8a5c..ea1d12f87c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-05  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * util/texi2dvi (decide_aux_files_method): Change an error
+       message to be less confusing.
+
 2022-10-02  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Common.pm, tp/Texinfo/ParserNonXS.pm,
diff --git a/util/texi2dvi b/util/texi2dvi
index e85ba48557..52a53f4ee3 100755
--- a/util/texi2dvi
+++ b/util/texi2dvi
@@ -1510,6 +1510,12 @@ set_aux_files_from_log ()
   generated_files_get_method=generated_files_get_from_log
 }
 
+aux_files_error='Your TeX installation appears to be broken - texi2dvi
+cannot determine auxiliary files output from a TeX run.
+
+You may need to install TeX, or change the values of your PATH, TEX
+or PDFTEX environment variables in order to proceed.'
+
 # Decide whether output auxiliary files are detected with the -recorder
 # option, or by searching for \openout in the log file.
 decide_aux_files_method ()
@@ -1540,7 +1546,7 @@ decide_aux_files_method ()
       elif check_openout_in_log_support; then
         set_aux_files_from_log
       else
-        error 1 "TeX neither supports -recorder nor outputs \\openout lines in 
its log file"
+        error 1 "$aux_files_error"
       fi
       ;;
 
@@ -1550,7 +1556,7 @@ decide_aux_files_method ()
       elif check_recorder_support; then
         set_aux_files_from_fls
       else
-        error 1 "TeX neither supports -recorder nor outputs \\openout lines in 
its log file"
+        error 1 "$aux_files_error"
       fi
       ;;
     



reply via email to

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