LoginSignup
3
3

More than 5 years have passed since last update.

TeX Live 2011 で日本語が含まれたソースコードを扱う

Posted at

TeX Live 2011 には listings は含まれるが、これを使用すると日本語のコメントがコメントとして認識されないなどの不具合が生じる。
この問題を解消するには、jlisting をインストールすれば良い。Ubuntu であれば以下の通り。

  1. http://mytexpert.sourceforge.jp/index.php?Listings から jlisting をダウンロードし解凍する。
  2. 「sudo mv jlisting.sty /usr/local/texlive/texmf-dist/tex/latex/listings」でダウンロードしたstyファイルをtexliveディレクトリに配置する(移動先はインストール環境によって異なる)。
  3. 「sudo mktexlsr」を実行する。
3
3
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
3
3