トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

LN-texlive

 OpenSuse( Linux )で TexLive を使う方法

sudo zypper install http://mirrors.ctan.org/support/texlive/texlive-dummy/openSUSE/texlive-dummy-2023.9999-2.noarch.rpm
(texlive-2023 をインストールのこと)

OpenSUSE leap 15.3 に インストールしてみた

$ wget -c http://mirror.ctan.org/systems/texlive/Images/texlive2021-20210325.iso
$ wget -c http://mirror.ctan.org/systems/texlive/Images/texlive2021-20210325.iso.sha512
$ sha512sum -c ./texlive2021-20210325.iso.sha512
OK
$ sudo mount -o loop -t iso9660 texlive2021-20210325.iso ./FOO
$ ./texlive/install-tl
$ sudo zypper install http://mirrors.ctan.org/support/texlive/texlive-dummy/openSUSE/texlive-dummy-2021.9999-2.noarch.rpm
### 何も考えずにアップデート。。(
$ sudo tlmgr update --all --self
tlmgr: package repository https://ftp.yz.yamagata-u.ac.jp/pub/CTAN/systems/texlive/tlnet (verified)
tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
[1/1, ??:??/??:??] update: texlive.infra [429k] (58646 -> 59352) ... done
tlmgr: Restarting to complete update ...
tlmgr: package repository https://ftp.jaist.ac.jp/pub/CTAN/systems/texlive/tlnet  (verified)
tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
[  1/413] auto-remove: Tabbing ... done
[  2/413] auto-remove: MemoirChapStyles ... done
[  3/413] auto-remove: GS1 ... done
##### 放置するしかないな。。
## 日本語フォントを入れておく
$ vi /usr/share/ghostscript/9.52/Resource/Init/cidfmap
### 一度ここまでで使ってみよう
Download the latest update-tlmgr-latest.sh and run it like this:
sh update-tlmgr-latest.sh -- --upgrade
(The extra options are to try to prevent the upgrade from happening unintentionally.)

OpenSuse ( 現在 12.1 のみで確認) (leap42.3 (texlive2015)も基本的におなじ)

gsの設定 ( Ghostscript の日本語対応 (dvips で日本語対応) )のみで
あとは opensuse の yast2 でインストールで利用可能

Yast2 でのインストール
    texlive をインストール
    japanese の texlive をインストール
    ghostscrips の texlive をインストール
    pstricks の texlive をインストール
    
    texlive-pst-tools, texlive-pst-tools-doc
FONTの追加 (yinit の場合)
~/.cache/texmf/fonts/source/gothic に 
yinit を入れておく
https://ctan.org/tex-archive/fonts/gothic/yinit
から zip でダウンロード解凍後
~/.cache/texmf/fonts/source/gothic/yinit としてディレクトリごとコピー

mktexlsr を実行し ls-lR を作ること!!(重要)
https://ctan.org/tex-archive/support/texlive/texlive-dummy/openSUSE

TexLive 2014 のインストール方法(個別の場合)

参考 http://be.nucl.ap.titech.ac.jp/~koba/cgi-bin/moin.cgi/TeX%20Live%202013%20on%20Scientific%20Linux%206.4

インストール

http://mirror.ctan.org/systems/texlive/Images/ からISOをダウンロード

ISO をマウントして install-tl を実行

$ wget http://mirror.ctan.org/systems/texlive/Images/texlive2014.iso
$ mount -o loop -t iso9660 texlive2014.iso texlive
$ ./texlive/install-tl

アップデート

# tlmgr update --self  ## tlmgr のアップデート
# tlmgr update --all   ## texlivbe のアップデート

# tlmgr update --all --self  ## 同時に

# 失敗した場合には
#  tlmgr update --reinstall-forcibly-removed --all

pxdvi のインストール

cd /usr/local/texlive/2014/
ln -s texmf-dist texmf
tlmgr --repository=http://www.tug.org/~preining/tlptexlive/ install pxdvi

  Ghostscript の日本語対応 (dvips で日本語対応)

yum install ipa-mincho-fonts ipa-gothic-fonts \
ipa-pmincho-fonts ipa-pgothic-fonts
vi /etc/ghostscript/cidfmap.ja 

以下の行を追加(RHEL)

/IPAPMincho    << /FileType /TrueType /Path (/usr/share/fonts/ipa-pmincho/ipamp.ttf) /CSI [(Japan1) 6] >> ;
/IPAMincho     << /FileType /TrueType /Path (/usr/share/fonts/ipa-mincho/ipam.ttf) /CSI [(Japan1) 6] >> ;
/IPAGothic     << /FileType /TrueType /Path (/usr/share/fonts/ipa-gothic/ipag.ttf) /CSI [(Japan1) 6] >> ;
/VL-Gothic     << /FileType /TrueType /Path (/usr/share/fonts/vlgothic/VL-PGothic-Regular.ttf) /CSI [(Japan1) 6] >> ;
/VL-Gothic-Regular      /VL-Gothic ;
/VL-Gothic-JaH  << /FileType /TrueType /Path (/usr/share/fonts/vlgothic/VL-PGothic-Regular.ttf) /CSI [(Japan1) 6] >> ;
/VL-Gothic-Regular-JaH          /VL-Gothic-JaH ;
/Ryumin-Light   /IPAMincho ;
/Adobe-Japan1   /IPAGothic ;
/Adobe-Japan2   /VL-Gothic-JaH ;
/GothicBBB-Medium /IPAGothic ;
/GothicBBB-Medium-H /IPAGothic ;

OpenSuse....

vi /usr/share/ghostscript/9.15/Resource/Init/cidfmap

vi /usr/share/ghostscript/9.25/Resource/Init/cidfmap

vi /usr/share/ghostscript/9.26/Resource/Init/cidfmap
/IPAPMincho    << /FileType /TrueType /Path (/usr/share/fonts/truetype/ipamp.ttf) /CSI [(Japan1) 6] >> ;
/IPAMincho     << /FileType /TrueType /Path (/usr/share/fonts/truetype/ipam.ttf) /CSI [(Japan1) 6] >> ;
/IPAGothic     << /FileType /TrueType /Path (/usr/share/fonts/truetype/ipag.ttf) /CSI [(Japan1) 6] >> ;
/VL-Gothic     << /FileType /TrueType /Path (/usr/share/fonts/truetype/VL-PGothic-Regular.ttf) /CSI [(Japan1) 6] >> ;
/VL-Gothic-Regular      /VL-Gothic ;
/VL-Gothic-JaH  << /FileType /TrueType /Path (/usr/share/fonts/truetypev/VL-PGothic-Regular.ttf) /CSI [(Japan1) 6] >> ;
/VL-Gothic-Regular-JaH          /VL-Gothic-JaH ;
/Ryumin-Light   /IPAMincho ;
/Adobe-Japan1   /IPAGothic ;
/Adobe-Japan2   /VL-Gothic-JaH ;
/GothicBBB-Medium /IPAGothic ;
/GothicBBB-Medium-H /IPAGothic ;
# REBUILD
git clone http://git.ghostscript.com/?p=ghostpdl.git

$ curl -R -L -o ghostscript.tar.gz "http://git.ghostscript.com/?p=ghostpdl.git;a=snapshot;h=HEAD;sf=tgz"
$ tar xvf ghostscript.tar.gz
$ cd ghostscript*
$ ./autogen.sh
$ ./configure --disable-compile-inits --prefix=/usr/local
$ make
$ sudo make install

opensuse leap 42.1 で対応

evience で PDFが見れない場合は 
poppler-data
を yast2 でインストール

opensuse leap 15.0

zypper install texlive-collection-langjapanese