Created
September 25, 2011 07:45
-
-
Save henry0312/1240356 to your computer and use it in GitHub Desktop.
TeX scripts
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
#!/bin/sh | |
# iNoue Koich! (modified by S. Zenitani) | |
export PATH=$PATH:/usr/texbin:/usr/local/bin | |
COMMAND=${0##*/} | |
PTEX=${COMMAND%2pdf-*} | |
ENCODE=${COMMAND#*-} | |
JOBNAME=${1##*/} | |
JOBNAME=${JOBNAME%.*} | |
eptex -kanji=$ENCODE -progname=$PTEX $1 && \ | |
dvipdfmx $JOBNAME |
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
#!/bin/sh | |
# iNoue Koich! (modified by S. Zenitani) | |
export PATH=$PATH:/usr/texbin:/usr/local/bin | |
COMMAND=${0##*/} | |
PTEX=${COMMAND%2pdf-*} | |
ENCODE=${COMMAND#*-} | |
JOBNAME=${1##*/} | |
JOBNAME=${JOBNAME%.*} | |
eptex -kanji=$ENCODE -progname=$PTEX $1 && \ | |
dvipdfmx $JOBNAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original:
MacTeX-2011 の場合の設定
http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?TeXShop#hd2204af