Skip to content

Instantly share code, notes, and snippets.

@soh-i
Last active December 11, 2015 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soh-i/4602243 to your computer and use it in GitHub Desktop.
Save soh-i/4602243 to your computer and use it in GitHub Desktop.
OmakeによるLatexファイルの継続ビルド。べんり。
LATEX = platex -interaction=nonstopmode
DVIPDFM = dvipdfmx
BIBTEX = pbibtex
DVIPDFMFLAGS = -p a4
TARGET = 2012TP_Fall
LaTeXDocument($(TARGET), $(TARGET))
.PHONY: clean preview
.DEFAULT: $(TARGET).dvi $(TARGET).pdf
clean:
/bin/rm -rf *.toc *.log *.dvi *.fls *.aux *.snm *.nav *.out *.bbl *.blg *.vrb
preview:
/usr/bin/open -a "Preview.app" $(TARGET).pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment