bug-texinfo
[Top][All Lists]
Advanced

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

Re: texi2dvi -b not so batch


From: Akim Demaille
Subject: Re: texi2dvi -b not so batch
Date: Wed, 09 Feb 2005 10:59:48 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

>>> "Akim" == Akim Demaille <address@hidden> writes:

 > +  # Tell TeX to be batch if requested.
 > +  if $batch; then
 > +    # \batchmode does not show terminal output at all, so we don't
 > +    # want that.  And even in batch mode, TeX insists on having input
 > +    # from the user.  Close its stdin to make it impossible.
 > +    cmd="$cmd <&- '${escape}nonstopmode' '${escape}input'"
 > +  fi

Some people here are uncomfortable with closing stdin, so I guess
</dev/null is safer.

Note that weirdly enough, this misbehavior from latex (waiting for
stdin in spite of \nonstopmode) is triggered by
--file-line-error-style.  I append a file which demonstrates the
problem:

      latex --file-line-error-style '\nonstopmode' '\input' /tmp/beamer.tex

hangs on stdin, while

      latex '\nonstopmode' '\input' /tmp/beamer.tex

does not.

\documentclass{beamer}

\newenvironment{chrono}
{\begin{frame}
\frametitle{A Chronology of Computer History}
\begin{description}}
{\end{description}
\end{frame}}


\begin{document}

\begin{chrono}
  \item[1780] American Benjamin Franklin discovers electricity
\end{chrono}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% ispell-local-dictionary: "american"
%%% End:

reply via email to

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