Last active
November 19, 2019 05:39
-
-
Save nuta/92eb1a54d9ed6e0a7cc250896c3c736f to your computer and use it in GitHub Desktop.
LaTeX setup
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
| #!/bin/sh | |
| set -uex | |
| brew cask install mactex-nogui skim | |
| brew install ghostscript | |
| export PATH=$PATH:/usr/local/texlive/2019/bin/x86_64-darwin | |
| # Hiragino | |
| sudo tlmgr update --self | |
| sudo tlmgr install collection-langjapanese japanese-otf-nonfree japanese-otf-uptex-nonfree ptex-fontmaps-macos cjk-gs-integrate-macos | |
| sudo tlmgr repository add http://contrib.texlive.info/current tlcontrib | |
| sudo tlmgr pinning add tlcontrib '*' | |
| sudo cjk-gs-integrate --link-texmf --cleanup | |
| sudo cjk-gs-integrate-macos --link-texmf | |
| sudo mktexlsr | |
| sudo kanji-config-updmap-sys --jis2004 hiragino-highsierra-pron | |
| kanji-config-updmap-sys status | |
| # sudo tlmgr install latexmk framed pxjahyper todonotes titlesec IEEEtran amsmath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment