Created
March 19, 2015 12:29
-
-
Save K-atc/b84ab7d96e23500c86db to your computer and use it in GitHub Desktop.
TeXファイルをBATで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
cd report\image | |
ebb *.png | |
ebb *.jpg | |
cd .. | |
"C:/w32tex/bin/platex.exe" -kanji=utf8 -src -interaction=nonstopmode report-master.tex | |
rm *.pbm | |
cd .. |
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
cd report | |
dvipdfmx *.dvi | |
cd .. |
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
@echo off | |
start "" "C:\w32tex\dviout\dviout.exe" report/report-master.dvi | |
start "" "C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" report/report-master.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment