Windowsでのplatexのインストール
概要
Cygwinにplatexインストールするのに、2~3年前までは このページ とかでうまくいってたのですが、最近インストールしようとしたら setup.ini が読めないっぽいエラーが出てインストールできなくなってたので、他の方法でインストールしました(該当のページにはsetup.iniちゃんと置いてあるんだけど何で失敗するんだ...)。
インストール方法
このページ で、platex系のパッケージをまとめてインストールしてくれるexeがあったので、それを使って、platexをインストールしました。
Windowsの環境変数にも勝手にパスを通してくれるのでとてもラクです。
実行
すでにパスを通してくれてるので、Cygwinで試しにplatexが動いてるかだけ試す。
$ cat hello.tex
\documentclass{jarticle}
\begin{document}
こんにちは\LaTeX。
\end{document}
$ platex hello.tex
This is e-pTeX, Version 3.14159265-p3.6-141210-2.6 (sjis) (TeX Live 2015/W32TeX) (preloaded format=platex)
restricted \write18 enabled.
entering extended mode
(./hello.tex
pLaTeX2e <2006/11/10> (based on LaTeX2e <2014/05/01> patch level 0)
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(c:/w32tex/share/texmf-dist/tex/platex/base/jarticle.cls
Document Class: jarticle 2006/06/27 v1.6 Standard pLaTeX class
(c:/w32tex/share/texmf-dist/tex/platex/base/jsize10.clo))
No file hello.aux.
[1] (./hello.aux) )
Output written on hello.dvi (1 page, 356 bytes).
Transcript written on hello.log.
$ ls
hello.aux hello.dvi hello.log hello.texdvioutで確認。

大丈夫そう。
終わり。