MiKTeX and proTeXtDVIPDFM: Figures disapearred after rebuilding format files

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
san
Posts: 9
Joined: Mon Feb 02, 2009 1:40 pm

DVIPDFM: Figures disapearred after rebuilding format files

Post by san »

Hello.

I use DviPDFm to convert my DVI files to PDF. I making A5 document with figures.

Today I went to MikTeX settings and noticed that there is A4 paper format there. So I decided to switch it to A5. Settings program sayed that I need rebuild my format files (what does it mean?). I pressed OK. After that DviPDFm do not insert images into me PDF :(

Here is the error: «No image converter available for converting file "D:/FullPath/Tree.eps" to PDF format»

Here is my «C:\Program Files\MiKTeX 2.8\dvipdfm\config\config» file (I removed firs few lines starting from «%»):

Code: Select all

% The following line works with MiKTeX Ghostscript
D "mgs.exe -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompression=true -dNOPAUSE -sOutputFile=\"%o\" \"%i\" -c quit"

% Set default paper size here
p a4

% The "g" option specifies the amount to "grow" annotations by
% Many TeX macro pages set the annotation bounding box equal
% to the TeX box that encloses the material.  That's not always
% what you want
g 1

% PDF version stamp to use in output file and max version of files
% allowed to be included (2 for 1.2, 3 for 1.3)
V 2

% Font map file (created by mkfntmap)
f dvipdfm.map
f pscyr2.map
P.S. I Tried to revert paper format back to A4 in MiKTeX settings, but this did not help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

san
Posts: 9
Joined: Mon Feb 02, 2009 1:40 pm

Re: DVIPDFM: Figures disapearred after rebuilding format files

Post by san »

The problem is solved.

If start MikTex settings aplication not as admin, it will write changes to the settings files in the «C:\ProgramData» folder instead of «C:\Program Files».

So, dvipdfm read partial settings file from «Program Data» instead of correct file from «Program Files».

I just deleted «C:\ProgramData\MikTex» folder, and rerun MikTeX settings application as admin to rebuild all setting files.
Post Reply