diff options
author | Roy Seitz <roy.seitz@ost.ch> | 2021-07-05 14:13:06 +0200 |
---|---|---|
committer | Roy Seitz <roy.seitz@ost.ch> | 2021-07-05 14:16:03 +0200 |
commit | f214039800ed44145fe2763269760cf551686827 (patch) | |
tree | 6b6184fa93e465a0a71cec5529513320f455e12e | |
parent | add example (diff) | |
download | SeminarMatrizen-f214039800ed44145fe2763269760cf551686827.tar.gz SeminarMatrizen-f214039800ed44145fe2763269760cf551686827.zip |
Only include buch.ind if it exists.
-rwxr-xr-x | buch/Makefile | 1 | ||||
-rw-r--r-- | buch/buch.tex | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/buch/Makefile b/buch/Makefile index 1cd50dd..b83c72a 100755 --- a/buch/Makefile +++ b/buch/Makefile @@ -19,7 +19,6 @@ buch.pdf: buch.tex $(TEXFILES) buch.ind $(BLXFILES) bibtex buch buch.idx: buch.tex $(TEXFILES) images - touch buch.ind pdflatex buch.tex buch.ind: buch.idx diff --git a/buch/buch.tex b/buch/buch.tex index 65c2ca7..449bc2a 100644 --- a/buch/buch.tex +++ b/buch/buch.tex @@ -44,6 +44,6 @@ \lhead{Index} \rhead{} \addcontentsline{toc}{chapter}{\indexname} -\input{buch.ind} +\InputIfFileExists{buch.ind}{}{} \end{document} |