Help us understand the problem. What is going on with this article?

MacTeX 2014+texmaker+GhostView の環境で日本語PDFを作成する方法

More than 5 years have passed since last update.

環境

MacTeX 2014
OSX Marvericks

症状

MacTeX 2014同梱のtexmakerに日本語を含むLaTeX文章のコンパイル設定をした後 http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?Texmaker%2F%E8%A8%AD%E5%AE%9A%2FOS%20X
[LaTeX + Bib(la)tex + LaTeX (x2) + dvips + ps2pdf + View Pdf]でQuick Buildした際にPDFで日本語が化ける

原因?

1.texmakerのbuilt-in PDFViewerは日本語が表示できない?
2.MacTeXのps2pdfでは日本語を扱えない?

対策

http://www.muskmelon.jp/?page_id=75 で公開されてるGhostViewに含まれるps2pdfを利用する

1.GhostViewをインストールする
2.texmakerの設定でps2pdfの項目を"/Applications/Ghostscript.app/bin/ps2pdf" %.psに変更

追加:ヒラギノなフォント埋め込みでは困る場合(ipaフォントを適用する方法)

1.kanji-config-updmap ipaを実行
2.GhostViewのcidfmapにIPAフォントの定義を追加

/Applications/Ghostscript.app/share/ghostscript/9.15/Resource/Init/cidfmap
+/IPAMincho << /FileType /TrueType /SubfontID 0 /CSI [(Japan1) 6] /Path (/usr/local/texlive/2014/texmf-dist/fonts/truetype/public/ipaex/ipam.ttf) >> ;
+/IPAGothic << /FileType /TrueType /SubfontID 0 /CSI [(Japan1) 6] /Path (/usr/local/texlive/2014/texmf-dist/fonts/truetype/public/ipaex/ipag.ttf) >> ;

/Ryumin-Light           /HiraMinPro-W3 ;
/Ryumin-Regular         /HiraMinPro-W6 ;
/FutoMinA101-Bold       /HiraKakuStd-W8 ;
/GothicBBB-Medium       /HiraKakuPro-W3 ;
/FutoGoB101-Bold        /HiraKakuPro-W6 ;
/Jun101-Light           /HiraMaruPro-W4 ;

3.texmakerの設定でps2pdfの項目をenv GS_LIB=/usr/local/texlive/2014/texmf-dist/fonts/truetype/public/ipaex "/Applications/Ghostscript.app/bin/ps2pdf" %.psに変更

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした