2016年10月03日

tex

学生さんか学者さんぐらいしか使わないと思うけど。texのインストールメモ。

dnf install texlive-scheme-full
dnf install texlive-collection-langjapanese

test.tex作成
\documentclass[uplatex]{jsarticle}
\begin{document}
日本語あいうえおabcde
\end{document}

端末で
dvi作成
$uplatex test
pdf作成
$dvipdfmx test
evinceで確認。

(端末でtexから直接pdf作成はptex2pdf)

texstudioをインストール
dnf install texstudio

オプション -> texstudioの設定 -> コマンド -> LaTeXの項目をuplatexに、DviPdfの項目をdvipdfmxに、BibTeXの項目をupbibtexに、Makeindexの項目をmakeindex -Uに変更
オプション -> texstudioの設定 -> ビルド -> ビルド&表示の項目をDVI->PDFチェーンに、規定のビューワをpdfビューアに変更

で使えるようにはなる。

参考ページ12
posted by masa at 15:24| Comment(5) | tex | 更新情報をチェックする