LoginSignup
5
8

More than 5 years have passed since last update.

macOS Sierra に コンパクトなtex環境を作る

Posted at

はじめに

Sierra にBasicTexのミニマルな環境を構築したので備忘録的メモ

環境

  • macOS Sierra
  • Homebrew, Caskの導入済み

手順

1. GhostScriptのインストール

$ brew install ghostscript

2. basicTexのインストール

今回はCaskを使って導入しましたが、pkgからインストールしても大丈夫だと思います。

$ brew cask install basictex

3. TexLiveのアップデート

$ sudo tlmgr update --self —all

4. 日本語関連のパッケージのインストール(platexなど)

$ sudo tlmgr install collection-langjapanese

5. 日本語のフォントを設定

$ cd /usr/local/texlive/2016basic/texmf-dist/scripts/cjk-gs-integrate/
$ sudo perl cjk-gs-integrate.pl --link-texmf --force
$ sudo mktexlsr
$ sudo updmap-sys --setoption kanjiEmbed hiragino-elcapitan-pron

これで終わりです。

GUIアプリケーション使わないのであれば、MacTexはいらないと思います(Latexitなどよく使うツールは個別にdmgからインストール)
BasicTexだとアップデートの時間を含めて、20分もかからないうちに全部終わるのでサクッと終わるのでいいですね。

5
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
8