MiKTeX and proTeXtpdf2tex error

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
TheDude
Posts: 4
Joined: Tue Jan 29, 2008 3:20 pm

pdf2tex error

Post by TheDude »

Hi,

When compiling my file to pdf I get the following error:

!pdfTeX error: (file ptmr7t): Font ptmr7t at 480 not found
==> Fatal error occurred, no output PDF file produced!

Thanks for any help..

Recommended reading 2024:

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

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

balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: pdf2tex error

Post by balf »

What is your preamble? It seems that pdftex tries to launch makepk, and it shouldn't if you have the pfb's and tfm's installed.

B.A.
TheDude
Posts: 4
Joined: Tue Jan 29, 2008 3:20 pm

Re: pdf2tex error

Post by TheDude »

I have no idea what you mean by "the pfb's and tfm's", or how I would go about installing them.

It seems the problem is caused by my use of a package called 'times'.

If the package isn't installed, why doesn't MikTeX ask me to install?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pdf2tex error

Post by localghost »

PFB and TFM files belong to postscript fonts. They are normally installed with the related package. To see clearly what's going on, please provide a minimal working example (MWE). Times is an obsolete package. Try mathptmx from the PSNFSS bundle.


Best regards
Thorsten
TheDude
Posts: 4
Joined: Tue Jan 29, 2008 3:20 pm

Re: pdf2tex error

Post by TheDude »

Here is a tiny code that gives the exact same error on my machine. I am using that new package now:

\documentclass[11pt]{article}
\usepackage{mathptmx}

\begin{document}

Hello

\end{document}
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: pdf2tex error

Post by balf »

I tested your file and had no problem. Then I removed some of the files required by pdftex until I obtained the same error message as you. It appears that the .vf files (ptmr7t.vf) are either missing or that tex is not aware of their existence. Check if they are on your system ; perhaps you should re-install the mathptmx package. If the vf's are there, you should try to refresh the FNDB (if you have MiKTeX, you do that via 'Settings'.

Best regards,
B.A.
TheDude
Posts: 4
Joined: Tue Jan 29, 2008 3:20 pm

Re: pdf2tex error

Post by TheDude »

Thanks for the help.

I checked and I have all the vf files. I refreshed the FNDB, but that made no difference.
When I compile into DVI or PS, there are no problems. The problem only occurs when I compile to PDF.

Would a re-installation of MikTeX (or TeXnicCenter) help?
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: pdf2tex error

Post by balf »

I really don't know. Were the fonts and mathptmx installed by miktex, or did you install them manually? Also, which version of MiKTeX do you use? Finally maybe you should check if updmap.cfg specifies the line:
Map psnfss.map
and if pdftex.map contains a reference to ptmr8r.

B.A.
Post Reply