penn

链接

使用Make管理LaTeX文件

penn posted @ 2008年12月20日 18:08 in LaTeX with tags latex makefile , 1362 阅读

 TEX := xetex

MP := mpost

vpath %.mp pic

fig=$(patsubst %.mp, %.eps,  $(wildcard figures/*.eps))
texTmp=$(filter-out main.tex, $(wildcard main.*));

all:$(fig)
        $TEX main.tex
       
%.eps:%.mp

        $MP $^ -o $@

clean:
        -rm -f $(fig)
        -rm -f $(texTmp)


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter