46 MacTeX 2026 が来た

「MacTeX 2025が来た」 という1年前の記録がある。


2026/3/4 いつものように MacTeX を sudo tlmgr update -self -all でアップデートしようとしたら
tlmgr: Local TeX Live (2025) is older than remote repository (2026).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.

もう新しい MacTeX 2026 がリリースされたのか (昨年は 3月8日リリースだった)。 最近、リリースが段々早くなっているような気がする。

ミラーサイトである、 JAIST (https://ftp.jaist.ac.jp/pub/CTAN/systems/mac/mactex/) を覗きに行く。
mactex-20260301.pkg	2026-03-02 10:51	6.4G
(ファイル名から推測して) 3月1日にリリースされて、 3月2日に JAIST に届いたと。早速入手する。

コピーがちゃんと出来たかチェックする。
% cat mactex-20260301.pkg.md5
d52834af6ba902da7e55aff02d64025c  mactex-20260301.pkg
% md5 mactex-20260301.pkg
MD5 (mactex-20260301.pkg) = d52834af6ba902da7e55aff02d64025c
% cat mactex-20260301.pkg.sha512
204c019e1d3fa70ac5f764eea0945574468e2129dab5823afe0fb2409e722072ad8eee98af6c087740ddb9bb0566d5182fc72cc8777fa06a7a4d418572cb6fd0
% sha512 mactex-20260301.pkg
SHA512 (mactex-20260301.pkg) = 204c019e1d3fa70ac5f764eea0945574468e2129dab5823afe0fb2409e722072ad8eee98af6c087740ddb9bb0566d5182fc72cc8777fa06a7a4d418572cb6fd0
大丈夫のようだ。


mactex-20260301.pkg を早速ダブルクリックしてインストールする。

/usr/local/texlive/2026 は9915MB になった。 膨張しているね。

新しくターミナルを開いて、tlmgr が新しいものを起動することを確かめてから (which tlmgr としてパスをチェックするとか)、 パッケージの更新をする。
sudo tlmgr update --self --all
28個更新された。まだ3日目だから少ないね。

例年と同様に日本語関係の設定をやってみる。
curl -fsSL https://www.preining.info/rsa.asc | sudo tlmgr key add -
sudo tlmgr repository add http://contrib.texlive.info/current tlcontrib
sudo tlmgr pinning add tlcontrib '*'
sudo tlmgr install japanese-otf-nonfree ptex-fontmaps-macos cjk-gs-integrate-macos
sudo cjk-gs-integrate --link-texmf --cleanup --force
sudo cjk-gs-integrate-macos --link-texmf --fontdef-add=cjkgs-macos-highsierra.dat --force
sudo mktexlsr
するっと通った。

(注: 1行目は、鍵の登録をしている。 これをするために gnupg を使えるようにしておく必要がある (私は MacPorts で、 sudo port -N install gnupg2 としてインストールしてある)。 この鍵の設定はサボっても構わないだろう。 つまり1行目は省略可能である。)

念のため、更新してみると。
% sudo tlmgr update --self --all
tlmgr: package repositories
	main = http://mirror.ctan.org/systems/texlive/tlnet (verified)
	tlcontrib = http://contrib.texlive.info/current (verified)
tlmgr: saving backups to /usr/local/texlive/2026/tlpkg/backups
tlmgr: no self-updates for tlmgr available
tlmgr: skipping forcibly removed package: arara
tlmgr: skipping forcibly removed package: arara.universal-darwin
tlmgr: no updates available
%

あれ?また skipping forcibly removed package が出ているけれど、 去年と同じパッケージ (arara, arara.universal-darwin) だ。 なぜこれが出るのだろうか?
sudo tlmgr update --reinstall-forcibly-removed --all
として強引にインストールできるようだけど、こうするのが正しいのかどうか (まあ、深く考えないことにする)。


ともあれ、何か適当な nantoka.tex を用意して、動作チェックする。
uplatex nantoka.tex
dvipdfmx -d 5 -O 2 nantoka.dvi
open nantoka.pdf
pdffonts nantoka.pdf

dvips -f nantoka.dvi > nantoka.ps
gv nantoka.ps

ptex2pdf -u -l -od '-d 5 -O 2' nantoka.tex
open nantoka.pdf

pdf ファイル, ps ファイル、どちらも文字化けせずに表示が出来て、 pdf ファイルへのフォントの埋め込み状況も確認できた。

(注: gv は PostScript のビューワー。 私は MacPorts でインストールしてある。PostScript にこだわりのない人は、 このチェックはする必要がない。)


ここまですいすい動いた。無事更新できたらしい。


以上を使っているMacごとにやる必要があるが、特に問題はなさそうだ。

(2026/3/6) 合計10台のMacにインストールできた。


何が新しくなったのかは、 “New Features in MacTeX-2026 and TeX Live 2026” に書いてあるので、機械翻訳とかにかけてみると良い。



桂田 祐史