Skip to content

Instantly share code, notes, and snippets.

@tomykaira
Created June 28, 2011 01:49
Show Gist options
  • Save tomykaira/1050319 to your computer and use it in GitHub Desktop.
Save tomykaira/1050319 to your computer and use it in GitHub Desktop.
Ubuntu 標準の、 EUC にしか対応していない pTeX を UTF-8 環境で動作させます。
function platex-utf(){
nkf -e $1 > /tmp/`basename $1`
cocot -t UTF-8 -p EUC-JP -- \platex /tmp/`basename $1`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment