summaryrefslogtreecommitdiff
path: root/macros/texinfo/latest/texi2dvi
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-11-09 03:02:50 +0000
committerNorbert Preining <norbert@preining.info>2022-11-09 03:02:50 +0000
commit5de83ec843cdc88e6adc42b1fe3f0ec48c52b7f3 (patch)
treeb49f7c180396c8ef389c8fd519370b6d03f4e100 /macros/texinfo/latest/texi2dvi
parent118cb5bbc5236bf86ca1088b9b3bae04c7b09beb (diff)
CTAN sync 202211090302
Diffstat (limited to 'macros/texinfo/latest/texi2dvi')
-rw-r--r--macros/texinfo/latest/texi2dvi14
1 files changed, 10 insertions, 4 deletions
diff --git a/macros/texinfo/latest/texi2dvi b/macros/texinfo/latest/texi2dvi
index 84ddde517c..e51d5860f3 100644
--- a/macros/texinfo/latest/texi2dvi
+++ b/macros/texinfo/latest/texi2dvi
@@ -74,7 +74,7 @@ newline='
'
IFS="$space$tab$newline"
-: ${EGREP=grep -E}
+: ${EGREP='grep -E'}
# Systems which define $COMSPEC or $ComSpec use semicolons to separate
# directories in TEXINPUTS -- except for Cygwin and Msys, where COMSPEC
@@ -195,7 +195,7 @@ EOF
version ()
{
cat <<EOF
-texi2dvi (GNU Texinfo 6.8dev)
+texi2dvi (GNU Texinfo 7.0)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
@@ -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
;;