On Fri, May 20, 2016 at 04:09:19PM +0100, Gavin Smith wrote:
> Maybe try reading the ksh man page ("info ksh" or "man ksh") to see if
> there are options that can give more tracing. If I were you I'd
> investigate with echo statements, e.g.
The problem appears to be in make_openout_test () with
eval "$tex_cmd" >/dev/null 2>&1
When changing this line to
echo before eval
echo "$tex_cmd"
eval "$tex_cmd" >/dev/null 2>&1
echo after eval
we have
$ ./texi2dvi test1.tex
before eval
latex --file-line-error </dev/null '
onstopmode' '\input' ./openout.tex
(The newline before onstopmode is there and was not introduced by
accident when pasting into this mail.)
When running with
eval "$tex_cmd"
instead we obtain
before eval
latex --file-line-error </dev/null '
onstopmode' '\input' ./openout.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014-OpenBSD_Ports)
(preloaded format=latex)
restricted \write18 enabled.
entering extended mode
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
(./openout.tex
./openout.tex:3: Undefined control sequence.
l.3 \bye
)
! Emergency stop.
<*> \nonstopmode \input ./openout.tex
No pages of output.
Transcript written on openout.log.
Best regards,
Ingo