Skip to content
Snippets Groups Projects
Commit b252dbfa authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

am/latex

   Redirect latexs stdin from /dev/null so it will actually fail if
   something breaks instead of waiting for input.

doc/istl/istl.tex doc/istl/comm/communication.tex
   Make it build with the new tetex in Debian/etch which uses
   pdfelatex in dvi-mode.

[[Imported from SVN: r4083]]
parent 4ed349a3
No related branches found
No related tags found
No related merge requests found
......@@ -2,16 +2,16 @@
# rerun TEX if log-file suggests that
.tex.dvi:
$(TEX) $*
$(TEX) </dev/null $*
while grep Rerun $*.log > /dev/null ; do \
$(TEX) $* ; \
$(TEX) </dev/null $* || exit $$?; \
done
# check if Bibtex needs to be called
if grep '^\\citation{' *.aux > /dev/null ; then \
$(BIBTEX) $* ; \
$(TEX) $* ; \
$(BIBTEX) $* || exit $$?; \
$(TEX) </dev/null $* || exit $$?; \
while grep Rerun $*.log > /dev/null ; do \
$(TEX) $* ; \
$(TEX) </dev/null $* || exit $$?; \
done ; \
fi
......
......@@ -18,11 +18,10 @@
stringstyle=\ttfamily, commentstyle=\it, extendedchars=true}
\newif\ifpdf
\ifx\pdfoutput\undefined
\ifnum\ifx\pdfoutput\undefined0\else\pdfoutput\fi<1
\pdffalse % we are not running PDFLaTeX
\else
\pdfoutput=1 % we are running PDFLaTeX
\pdftrue
\pdftrue % we are running PDFLaTeX
\fi
\ifpdf
......
......@@ -17,11 +17,10 @@
stringstyle=\ttfamily, commentstyle=\it, extendedchars=true}
\newif\ifpdf
\ifx\pdfoutput\undefined
\ifnum\ifx\pdfoutput\undefined0\else\pdfoutput\fi<1
\pdffalse % we are not running PDFLaTeX
\else
\pdfoutput=1 % we are running PDFLaTeX
\pdftrue
\pdftrue % we are running PDFLaTeX
\fi
\ifpdf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment