Created
August 9, 2012 03:41
-
-
Save shogo82148/3300749 to your computer and use it in GitHub Desktop.
OMakefile for TeX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LATEX = platex | |
TETEX2_ENABLED = false | |
LATEXFLAGS = -kanji=utf-8 | |
DVIPDFMFLAGS = -p a4 | |
BIBTEX = pbibtex | |
BIBTEXFLAGS = -kanji=utf-8 | |
# 参考文献(.bib)とか分割したTeXファイルとか | |
TEXDEPS[] = | |
articles.bib | |
LaTeXDocument(document, document) | |
.DEFAULT: document.pdf | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LATEX = platex | |
TETEX2_ENABLED = false | |
LATEXFLAGS = -kanji=utf8 | |
DVIPS = dvipsk | |
DVIPSFLAGS = -t a4 -Ppdf -z | |
PS2PDF = ps2pdf.bat | |
TARGET = slide | |
$(TARGET).ps: $(TARGET).dvi | |
$(DVIPS) $(DVIPSFLAGS) -f $< > $@ | |
$(TARGET).pdf: $(TARGET).ps | |
$(PS2PDF) $< $@ | |
LaTeXDocument($(TARGET), $(TARGET)) | |
.DEFAULT: $(TARGET).pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment