[[BSD]] > FreeBSD *[[FreeBSD:http://www.freebsd.org]] [#r05903ba] &color(White,#5F2F2F){ ''◆CONTENTS◆'' };&br; #contents *FreeBSD とは [#o8689db1] FreeBSD はオープンソースの Unix 系オペレーティングシステムです. -[[The FreeBSD Project:http://www.freebsd.org]] -[[The FreeBSD Project (ja):http://www.freebsd.org/ja/]] **Ports [#j8583985] -[[About FreeBSD Ports:http://www.freebsd.org/ports/]] -[[FreshPorts -- The Place For Ports:http://www.freshports.org/]] ***お知らせ [#w2f34805] -[[Ports svn r392534 UPDATING 20150720:http://svnweb.freebsd.org/ports/head/UPDATING?r1=391745&r2=392534]] にて,Ports は TeX Live 2015 ベースとなりました. -[[Ports svn r365720 UPDATING 20140823:http://svnweb.freebsd.org/ports/head/UPDATING?r1=365599&r2=365720]] にて,Ports は TeX Live 2014 ベースとなりました. -[[Ports svn r362648 UPDATING 20140727:http://svnweb.freebsd.org/ports/head/UPDATING?r1=362614&r2=362648]] にて,Port make 時の変数 TEX_DEFAULT が texlive になりました. **派生版 [#t29f2245] -[[GhostBSD:http://www.ghostbsd.org/]] -[[PC-BSD:http://www.pcbsd.org/]] *TeX Live &aname(texlive); [#w7ff21ac] -http://svnweb.freebsd.org/ports/head/print/texlive-full/ -[[FreshPorts -- print/texlive-full:http://www.freshports.org/print/texlive-full/]] FreeBSD で [[TeX Live]] をインストールする場合は -ports を使わずに TeX Live の公式パッケージをインストールする -ports を使って TeX Live をインストールする --日本語環境は print/texlive-full をインストールすることで,従来の pLaTeX や dvipdfmx と同名同等のコマンドが利用できるようになる 方法があります. **TeX Live 公式パッケージ [#la53cbe5] ***TeX Live のインストール &aname(texliveinstall); [#v92cb887] -http://www.tug.org/texlive/quickinstall.html -http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#installation -[http://anthesphoria.net/FreeBSD/TeXLive-2014/ Storage@Anthesphoria: TeX Live on FreeBSD | TeX Live 2014 on FreeBSD | Notes for FreeBSD users] を参照.~ [[ミラーサイト>TeX Live#tlnet]]から install-tl-unx.tar.gz をダウンロードします. $ sudo pkg install wget $ wget http://www.ring.gr.jp/pub/text/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz install-tl-unx.tar.gz を展開します.~ $ tar xvf install-tl-unx.tar.gz 展開したインストーラのディレクトリに移動します.~ $ cd install-tl* root 権限でインストーラを実行します.~ オプションでダウンロードするリポジトリを指定できます.~ $ sudo ./install-tl --repository http://www.ring.gr.jp/pub/text/CTAN/systems/texlive/tlnet/ ... Actions: <I> start installation to hard disk <H> help <Q> quit Enter command: I I を入力してインストールを開始します.~ サーバーの接続エラーが発生したり,アーカイブ中に予期せぬ EOF があったりした場合はインストールが途中でストップします.~ エラーが発生した場合は以下のコマンドで途中から再開できたりできなかったりします.~ $ sudo ./install-tl --profile installation.profile ABORTED INSTALLATION FOUND: installation.profile Do you want to continue with the exact same settings as before (y/N): y 再開できない場合は[[接続先を変更>TeX Live#tlnet]]するか,または [[ISO ファイル>TeX Live#iso]]をミラーサイトからダウンロードしてインストールしてください.~ インストールが終了したら /usr/local/bin ディレクトリ配下にシンボリックリンクを追加します.~ $ sudo /usr/local/texlive/????/bin/*/tlmgr path add ***アップデート [#df800247] アップデートは $ sudo tlmgr update --self --all を実行すれば OK です.~ (Ports でインストールした場合は [[tlmgr]] は使えないようにしているそうです. こちらを参照: http://lists.freebsd.org/pipermail/freebsd-ports/2013-July/085001.html ) ただし,アップデートによってパッケージや設定が変更されて,今まで動いていたものが動かなくなったりすることがあるかもしれません.~ -/usr/local/texlive/????/tlpkg/backups にパッケージのバックアップが保存されます.~ アップデートによって動作しなくなった場合は以前のバージョンに戻してください.~ ***フォント埋め込みの設定 [#tf6ceac1] kanji-config-updmap(-sys) を使用してフォント埋め込みの設定ができます.~ IPAexフォントを埋め込む場合は~ $ sudo kanji-config-updmap-sys ipaex または $ kanji-config-updmap ipaex を実行します.~ TeX Live には IPAex フォント,uptex-ipaex.map が収録されています.~ $ kpsewhich ipaexm.ttf ipaexg.ttf /usr/local/texlive/????/texmf-dist/fonts/truetype/public/ipaex/ipaexm.ttf /usr/local/texlive/????/texmf-dist/fonts/truetype/public/ipaex/ipaexg.ttf $ kpsewhich uptex-ipaex.map /usr/local/texlive/????/texmf-dist/fonts/map/dvipdfmx/jfontmaps/ipaex/uptex-ipaex.map upLaTeX + dvipdfmx を実行する場合は ptex2pdf が便利です.~ $ ptex2pdf -u -l -ot '-synctex=1' -od '-f uptex-ipaex.map' hoge.tex **TeX Live/FreeBSD [#p4fe1144] -http://www.freshports.org/print/texlive-full/ -[[FreeBSD における TeXLive の導入:http://homepage3.nifty.com/maikaze/texlive1.html]] -[[FreeBSDへのTeXliveインストール:http://sphinx-users.jp/cookbook/pdf/latex-install-freebsd.html]] -[[FreeBSD のports TeXLive & evince : 日本語フォントの設定 fonts.conf:http://blog.goo.ne.jp/koyusoma5102/e/4936476b9a197dda36799498a4bfd5c9]] -[[[FreeBSD]texlive:http://barutan.s296.xrea.com/cgi-bin/tdiary/?date=20140726#p02]] *その他関連Ports [#k9078aba] Portsですので, make && make installで導入できます.~ //***TeXパッケージ [#z26b2356] //|latex-mathabx|print/latex-mathabx|Math series, aka mathabx MetaFont fontset for TeX/LaTeX| ***TeXをバックエンドとして使うアプリケーション [#ba4b7bf1] |[[LyX]]|print/lyx|Document processor interfaced with LaTeX (nearly WYSIWYG)| //|jadetex|print/jadetex|A TeX backend for Jade, for typesetting SGML documents| //|ja-jadetex|japanese/jadetex-ptex|A pTeX backend for Jade, for typesetting SGML documents| //|smartdoc|textproc/smartdoc|XML utility to create various documents| ***TeXソースの入力支援 [#z413bd5e] //|[[TeXmacs]]|editors/texmacs|A free WYSIWYG scientific text editor| |[[TeXstudio]]|editors/texstudio|Integrated writing environment for creating LaTeX documents| |[[Texmaker]]|editors/texmaker|LaTeX Development Environment| |[[TeXworks]]|editors/texworks|A simple TeX front-end program| |[[AUCTeX]]|print/auctex|Integrated environment for writing LaTeX using GNU Emacs| |[[YaTeX]]|print/yatex|Yet Another LaTeX mode and html mode on Emacs| //***TeXソースからの変換 [#r0d43da9] //|detex|print/detex|Strips TeX/LaTeX codes from a file| //|latex2html|textproc/latex2html|Convert LaTeX documents to HTML| //|ja-latex2html|japanese/latex2html|Japanese LaTeX2HTML with JA patch| ***DVIファイルからの変換 [#b5e1aa4a] |dvipdfmx|print/tex-dvipdfmx|Dvipdfm with Asian languages by CID-keyed font technology support| //|dvi2tty|print/dvi2tty|A dvi-file previewer for text only devices| //|ja-dvi2tty|japanese/dvi2tty|Character-based DVI file previewer| ***PostScript関連 [#v58c994c] |ghostview|print/ghostview|An X11 front-end for ghostscript, the GNU postscript previewer| |gv|print/gv|A PostScript and PDF previewer| //|psutils-a4|print/psutils-a4|Utilities for manipulating PostScript documents| //|psutils-letter|print/psutils-letter|Utilities for manipulating PostScript documents|