📄 makefile
字号:
LATEX = latexBIBTEX = bibtexMETAPOST= mpostDVIPS = dvips -j0PS2PDF = ps2pdf13 -dEncodeColorImages=falseTEXSRCS = talk.texKILLFIGS = SAVEFIGS = flyingpig.eps samp04_iprouter.1 routingtable.ps processes3.psFIGS = $(KILLFIGS) $(SAVEFIGS)all: talk.ps talk.pdf%.dvi: %.tex @if [ ! -r $(subst tex,aux,$<) ]; then $(LATEX) $<; fi $(LATEX) $<%.ps: %.dvi $(DVIPS) -t landscape -o $@ $<%.pdf: %.ps $(PS2PDF) $< $@# after making the figure, run perl to fix Computer Modern font names to# uppercase%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8: %.mp elements.mp elemfig.sty fonts.mp .fonts.sty TEX=$(LATEX) $(METAPOST) $< perl -pi -e 'next if $$x; $$x = 1 if /%%EndProlog/; s=/([a-z][a-z0-9]+) def=/\U$$1\E def= if !/^%%/; s=\b([a-z][a-z0-9]+)\b=\U$$1\E=g if /^%%DocumentFonts/ || /^%%\+/;' $(subst .mp,,$<).[0-9]*.fonts.sty: fonts.sty rm -f *.mpx cp fonts.sty .fonts.sty.natcolors.sty: natcolors.sty rm -f *.mpx cp fonts.sty .fonts.stytalk.dvi: $(TEXSRCS) $(FIGS) sped.sty .fonts.sty fonts.mp alwaystalk.aux: $(TEXSRCS)mlffr.eps: 4h-full.dat 4h-dev.dat 2h-linux.dat 2h-linux-fake.dat graphs.pl ./graphs.plbargraph.eps: graphs.pl ./graphs.plextensions.eps: plebic-06-polling4.dat plebic-06-red2.dat plebic-06-sfq.dat plebic-06-simple2.dat graphs.pl ./graphs.pljextensions.eps tos.eps tos10.eps: graphs.pl ./graphs.plpaper.bbl: biblio.bib $(LATEX) paper $(BIBTEX) -min-crossrefs=100 paperfonts.sty: echo '% nothing' > fonts.styfonts.mp: echo 'defaultelementfont := "cmti10";' > fonts.mpalways: @:clean: /bin/rm -f *.log *.aux *.dvi *.bbl *.blg *.lof *.lot *.toc *~ \ $(KILLFIGS) *.mpx mpxerr.tex.PHONY: all bib clean clean-all always
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -