- upgrade to the most recent SumatraPDF http://code.google.com/p/sumatrapdf/downloads/list
- make sure sumatrapdf is in the search path
- update make file for the make integration
MAIN=maintex
EPS=img/*.eps
TEX=tomo_spectra.tex
BIB=da.bib
REBUILDABLES = \
*.log \
*.blg \
*.bbl \
*.aux \
*.lof \
*.lot \
LATEXOPTIONS = -src-specials -interaction=nonstopmode
PDFVIEWER = sumatrapdf -reuse-instance -inverse-search "c:\emacs\bin\emacsclientw.exe +%l \"%f\""
BIBDIR = "C:/H/Bib"
BIBOPTIONS = -include-directory=$(BIBDIR)
vpath %.bib /cygdrive/c/H/Bib
viewpdf : $(MAIN).pdf
$(PDFVIEWER) $(MAIN).pdf &
dvi : $(MAIN).dvi
yap -1 $(MAIN).dvi
$(MAIN).pdf : $(MAIN).dvi
pdfclosem $(MAIN).pdf ; dvipdfm $(MAIN).dvi
$(MAIN).dvi : $(MAIN).bbl $(EPS)
latex $(LATEXOPTIONS) $(MAIN)
if ( grep 'Rerun' $(MAIN).log > /dev/null ) ; then\
latex $(LATEXOPTIONS) $(MAIN) ; \
else :; fi
$(MAIN).bbl : $(TEX)
rm -f $(MAIN).aux *.bbl; latex $(LATEXOPTIONS) $(MAIN); bibtex $(BIBOPTIONS) $(MAIN)
clean :
rm -f $(REBUILDABLES)
- if I need inverse search, pub /usepackage{pdfsync} before \begin{document}, or use pdflatex instead of latex
Like this:
Be the first to like this page.