Created
May 16, 2015 06:59
-
-
Save papaeye/984b6d124dea913ded51 to your computer and use it in GitHub Desktop.
Update MacTeX and setup Japanese environment
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/bash | |
# http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?Mac#p3c663c9 | |
tlmgr update --self --all | |
# http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?Mac#i9febc9b | |
mkdir -p /usr/local/texlive/texmf-local/fonts/opentype/hiragino | |
ln -s "/Library/Fonts/ヒラギノ明朝 Pro W3.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraMinPro-W3.otf | |
ln -s "/Library/Fonts/ヒラギノ明朝 Pro W6.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraMinPro-W6.otf | |
ln -s "/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraMaruPro-W4.otf | |
ln -s "/Library/Fonts/ヒラギノ角ゴ Pro W3.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraKakuPro-W3.otf | |
ln -s "/Library/Fonts/ヒラギノ角ゴ Pro W6.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraKakuPro-W6.otf | |
ln -s "/Library/Fonts/ヒラギノ角ゴ Std W8.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraKakuStd-W8.otf | |
ln -s "/System/Library/Fonts/ヒラギノ明朝 ProN W3.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraMinProN-W3.otf | |
ln -s "/System/Library/Fonts/ヒラギノ明朝 ProN W6.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraMinProN-W6.otf | |
ln -s "/Library/Fonts/ヒラギノ丸ゴ ProN W4.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraMaruProN-W4.otf | |
ln -s "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraKakuProN-W3.otf | |
ln -s "/System/Library/Fonts/ヒラギノ角ゴ ProN W6.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraKakuProN-W6.otf | |
ln -s "/Library/Fonts/ヒラギノ角ゴ StdN W8.otf" /usr/local/texlive/texmf-local/fonts/opentype/hiragino/HiraKakuStdN-W8.otf | |
mktexlsr | |
kanji-config-updmap-sys --jis2004 hiragino-pron |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment