Last active
September 30, 2015 09:28
-
-
Save uchida/1759930 to your computer and use it in GitHub Desktop.
latexmkrc sample for Japanese LaTeX documents
This file contains hidden or 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
| # -*- cperl -*- | |
| # ~/.latexmkrc | |
| # setting for pdflatex | |
| $pdflatex = 'pdflatex -8bit -etex -halt-on-error -synctex=1 %O %S'; | |
| # setting for Japanese | |
| $latex = 'platex -synctex=1 -halt-on-error %O %S'; | |
| $bibtex = 'pbibtex %O %B'; | |
| $makeindex = 'mendex %O -o %D %S'; | |
| $dvipdf = 'dvipdfmx %O -o %D %S'; | |
| # use bibtex as default | |
| $bibtex_use = 1; | |
| # pdf with pdflatex | |
| #$pdf_mode = 1; | |
| # pdf with dvipdf | |
| $pdf_mode = 3; | |
| # files to clean | |
| $clean_ext = '%R_flymake.aux %R_flymake.dvi %R_flymake.log %R_flymake.out'; | |
| $clean_full_ext = 'bbl synctex.gz'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment