- 追加された行はこの色です。
- 削除された行はこの色です。
*Adobe Illustrator [#w6d2965c]
[[Adobe Illustrator:http://www.adobe.com/jp/products/illustrator/]] 関連の
話題を書き込んでください。
''目次''
#contents
**Illustrator の図を TeX に [#sa00c636]
Illustrator で EPS 保存したものを LaTeX に挿入する例:
%%% -*- mode: yatex; Coding: iso-2022-jp; Encoding: ISO-2022-JP -*-
\documentclass{...}
\usepackage[dvips]{graphicx}
\begin{document}
...
\includegraphics[width=50mm,clip]{hoge.eps}
...
\end{document}
Illustrator で保存時の注意:
-プレビューを付けない(なるべく)
-サムネイルを付けない(Illustrator 7–10のバグのため不正な EPS になることがある)
-フォントを埋め込む
不正な EPS は,
[[Tomas Rokicki:http://tomas.rokicki.com/]]
の [[Illustrator 7.0/8.0/9.0 BeginData Bug:http://tomas.rokicki.com/illbug/]]
から “fixill.pl” を頂いてきて直す。
次のようにして使う。
$ fixill.pl <old.eps >new.eps
“fixill.pl” は Perl スクリプトであり,実行には Perl が必要。
Microsoft Windows なら Cygwin を使うか,あるいは [[ActiveState:http://www.activestate.com/]]
Microsoft Windows なら [[Strawberry Perl>http://strawberryperl.com/]] を使うか,あるいは [[ActiveState:http://www.activestate.com/]]
から ActivePerl をダウンロードしてインストールすればいいであろう。
角藤さんの “dvipsk-w32.tar.gz” には “fixill.pl” と “fixill.exe” が含まれる。
>fixill.exe <old.eps >new.eps
最終的に PDF で出力するならば,Adobe Illustrator Artwork (拡張子 “.ai”)のままでも OK。
AI 形式は実質的に PDF なので,[[PDF 形式の図の挿入>TeX入門/図#a58e4bcb]]と同様に処理できる。
Ghostscript が呼び出されないので処理も高速。
例(hoge.ai を挿入):
%%% -*- mode: yatex; Coding: iso-2022-jp; Encoding: ISO-2022-JP -*-
\documentclass{article}
\usepackage[dvipdfmx]{graphicx}
\usepackage{mediabb}
\DeclareGraphicsRule{.ai}{pdf}{*}{}
\begin{document}
\includegraphics{hoge.ai}
\end{document}
Adobe Illustrator CS (11.0.0) で作られたファイルで確認。
**トラブル [#id16611b]
Illustrator CS で CM フォントの数式が変になる [[qa:27936]] のスレッド(未解決)。
**各バージョン [#u178a7b2]
-Illustrator v.10 2001年 (MacOSX では PowerPCバイナリ)
-Illustrator CS (v.11) 2003年 (OpenTypeにほぼ対応)
-Illustrator CS2 (v.12) 2005年
-Illustrator CS3 (v.13) 2007年
-Illustrator CS4 (v.14) 2008年
-Illustrator CS5 (v.15) 計画中 (64ビット化,MacOSX では Cocoa 化の可能性)
情報等
-[[http://ja.wikipedia.org/wiki/Adobe_Illustrator]]
-[[Illustrator CS4までの実用的な新機能講座:http://www.incunabula.co.jp/book/Illustcs4_newfun/]]
-[[Illustrator CS4の主要な新機能:http://www.dtp-transit.jp/adobe/illustrator/post_656.html]]
** その他 [#a59267c4]
-【参考情報】
[[Thortex Typography:Illustratorの図をTeXに:http://mytexpert.sourceforge.jp/index.php?cmd=read&page=%A5%C1%A5%E5%A1%BC%A5%C8%A5%EA%A5%A2%A5%EB%2FIllustrator%A4%CE%BF%DE%A4%F2TeX%A4%CB&word=illustrator]]
([[ThórTeXTypography:Illustratorの図をTeXに:http://tex.dante.jp/typo/?Illustrator%A4%CE%BF%DE%A4%F2TeX%A4%CB]] こちらはリンク切れ?)
[[チュートリアル/Illustratorの図をTeXに - MyTeXpert>http://mytexpert.sourceforge.jp/index.php?%A5%C1%A5%E5%A1%BC%A5%C8%A5%EA%A5%A2%A5%EB%2FIllustrator%A4%CE%BF%DE%A4%F2TeX%A4%CB]]