PDF als Standardformat eingerichtet
This commit is contained in:
parent
a4c627a1a5
commit
029828ff41
54
Makefile
54
Makefile
@ -134,6 +134,10 @@ ifndef DVIVIEWER
|
|||||||
DVIVIEWER=xdvi
|
DVIVIEWER=xdvi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef PDFVIEWER
|
||||||
|
PDFVIEWER=acroread
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef LATEX2HTML
|
ifndef LATEX2HTML
|
||||||
LATEX2HTML=latex2html
|
LATEX2HTML=latex2html
|
||||||
endif
|
endif
|
||||||
@ -271,21 +275,6 @@ TEXFILES=$(wildcard *.tex)
|
|||||||
touch $*.ind; \
|
touch $*.ind; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
latex:
|
|
||||||
# Below the 'true' is included to prevent unnecessarily many errors.
|
|
||||||
@if [ -n "${LATEXTARGET}" ]; then \
|
|
||||||
$(MAKE) ${LATEXTARGET}.dvi; \
|
|
||||||
true; \
|
|
||||||
else \
|
|
||||||
if [ `ls *.tex | wc -l` = "1" ]; then \
|
|
||||||
$(MAKE) `basename \`ls *.tex\` .tex`.dvi; \
|
|
||||||
true; \
|
|
||||||
else \
|
|
||||||
$(MAKE) `echo $$PWD|tr '/' '\n'|tail -1`.dvi; \
|
|
||||||
true; \
|
|
||||||
fi; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
pdflatex:
|
pdflatex:
|
||||||
# Below the 'true' is included to prevent unnecessarily many errors.
|
# Below the 'true' is included to prevent unnecessarily many errors.
|
||||||
@if [ -n "${LATEXTARGET}" ]; then \
|
@if [ -n "${LATEXTARGET}" ]; then \
|
||||||
@ -301,12 +290,27 @@ pdflatex:
|
|||||||
fi; \
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
latex:
|
||||||
|
# Below the 'true' is included to prevent unnecessarily many errors.
|
||||||
|
@if [ -n "${LATEXTARGET}" ]; then \
|
||||||
|
$(MAKE) ${LATEXTARGET}.dvi; \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
if [ `ls *.tex | wc -l` = "1" ]; then \
|
||||||
|
$(MAKE) `basename \`ls *.tex\` .tex`.dvi; \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
$(MAKE) `echo $$PWD|tr '/' '\n'|tail -1`.dvi; \
|
||||||
|
true; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
|
||||||
latexfigures:
|
latexfigures:
|
||||||
@for i in $(FIGUREOBJS); do \
|
@for i in $(FIGUREOBJS); do \
|
||||||
$(MAKE) $$i; \
|
$(MAKE) $$i; \
|
||||||
done
|
done
|
||||||
|
|
||||||
view:
|
viewdvi:
|
||||||
# Below the 'true' is included to prevent unnecessarily many errors.
|
# Below the 'true' is included to prevent unnecessarily many errors.
|
||||||
@if [ -n "${LATEXTARGET}" ]; then \
|
@if [ -n "${LATEXTARGET}" ]; then \
|
||||||
$(MAKE) ${LATEXTARGET}.dvi && \
|
$(MAKE) ${LATEXTARGET}.dvi && \
|
||||||
@ -324,6 +328,24 @@ view:
|
|||||||
fi; \
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
view:
|
||||||
|
# Below the 'true' is included to prevent unnecessarily many errors.
|
||||||
|
@if [ -n "${LATEXTARGET}" ]; then \
|
||||||
|
$(MAKE) ${LATEXTARGET}.pdf && \
|
||||||
|
$(PDFVIEWER) ${LATEXTARGET}.pdf; \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
if [ `ls *.tex | wc -l` = "1" ]; then \
|
||||||
|
$(MAKE) `basename \`ls *.tex\` .tex`.pdf && \
|
||||||
|
$(PDFVIEWER) `basename \`ls *.tex\` .tex`.pdf; \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
$(MAKE) `echo $$PWD|tr '/' '\n'|tail -1`.pdf && \
|
||||||
|
$(PDFVIEWER) `echo $$PWD|tr '/' '\n'|tail -1`.pdf; \
|
||||||
|
true; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
|
||||||
%.ps: %.dvi
|
%.ps: %.dvi
|
||||||
$(DVIPS) -o $@ $<
|
$(DVIPS) -o $@ $<
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user