0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

dvipdfmxでepsが入ったdviファイルをPDFに変換できない

Posted at

症状

epsが入ったdviファイルがPDFに変換できない。

環境

TeXインストーラ3 0.84でWindows 10(64bit)にTeX環境をインストール

原因

原因は不明(dvipdfmx周りでこけている)
同じインストーラで別のPC(Windows 10(64bit))では動作(中のコンポーネントのバージョンは未確認)

対策

C:\w32tex\share\texmf-dist\dvipdfmx\config\dvipdfmx.cfgを編集
(C:\w32texはインストール先)

%% GhostScript (Windows):
D "rungs -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dAutoFilterColorImages=false -dGrayImageFilter=/FlateEncode -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile='%o' -c .setpdfwrite -f '%i' -c quit"

上記部分のrungsをGhostscriptをインストールし、書き換える。

%% GhostScript (Windows):
D "C:/gs/gs9.19/bin/gswin64c -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dAutoFilterColorImages=false -dGrayImageFilter=/FlateEncode -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile='%o' -c .setpdfwrite -f '%i' -c quit"
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?