[Top] [Contents] [Index] [ ? ]

Xバンド

Copyright © 2012 K. Dobashi.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1. CentOS6にplatexをインストール


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.1 texlive

一昔前まではtetexがtexパッケージとして良く使われてきましたが、最近はtexliveが主流のようです。


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.2 platex

CentOS6ではイオンストール時にTeXのサポートを選択するとtexliveがインストールされますが、そのままではplatexインストールされない場合が多いようです。

CentOS6でplatexを使いたい場合はインストールしなければなりません。

 
# yum install texlive-east-asian

とすれば、platexはインストールされます。

dvipdfmはありません。

面倒であれば、

 
# yum install texlive-*

とやれば、関連するものは全部インストール出来ると思います。dvipdfmxもインストールされます。


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.3 AdobeReader

PDFファイルを表示するのに必要です。

http://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/にある通りにすればインストール出来ます。

と思ったら、日本語版ではないので、

 
# yum list AdobeReader*

として、一度インストール可能なパッケージの一覧を表示し、必要な物だけをインストールするのが良いと思います。

 
# yum install AdobeReader_jpn

でインストール出来ます。但し、他の言語のパッケージとはコンフリクトを起こすので、同時にインストールは出来ません。

 
# acroread

とすれば起動出来ますが、そのままでは色々エラーメッセージが表示されます。 原因の一つはPakegekit-gtk-moduleらしいです。Pakegekit-gtk3-moduleをインストールすれば回避出来るようですが、そのままでも使用できます。


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4 dvipsk

デフォルトの

 
# yum install xdvik
 
/usr/share/texmf/fonts/map/pxdvi/xdvi-ptex.map
 
/usr/share/fonts/sazanami/mincho/sazanami-mincho.ttf
 
/usr/share/fonts/ipa-mincho/ipam.ttf
 
/usr/share/fonts/sazanami/gothic/sazanami-gothic.ttf
 
/usr/share/fonts/ipa-gothic/ipag.ttf

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.5 dvipdfmx

 
# cd /usr/share/texmf/fonts/truetype/
# ln -s /usr/share/fonts/ipa-gothic/ipag.ttf ./
# ln -s /usr/share/fonts/ipa-mincho/ipam.ttf ./
# ln -s /usr/share/fonts/ipa-pgothic/ipagp.ttf ./
# ln -s /usr/share/fonts/ipa-pmincho/ipamp.ttf ./
# mktexlsr

ipa.map

 
rml H ipam.ttf
gbm H ipag.ttf
rmlv V ipam.ttf
gbmv V ipag.ttf

/usr/share/texmf/fonts/map/dvipdfmx/

 
# mktexlsr
 
$ dvopdfmx ipa.map hogehoge.dvi

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Index


[Top] [Contents] [Index] [ ? ]

Table of Contents


[Top] [Contents] [Index] [ ? ]

About This Document

This document was generated by Katsuhiro DOBASHI on March, 2 2012 using texi2html 1.76.

The buttons in the navigation panels have the following meaning:

Button Name Go to From 1.2.3 go to
[ < ] Back previous section in reading order 1.2.2
[ > ] Forward next section in reading order 1.2.4
[ << ] FastBack beginning of this chapter or previous chapter 1
[ Up ] Up up section 1.2
[ >> ] FastForward next chapter 2
[Top] Top cover (top) of document  
[Contents] Contents table of contents  
[Index] Index index  
[ ? ] About about (help)  

where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:


This document was generated by Katsuhiro DOBASHI on March, 2 2012 using texi2html 1.76.