TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the chemstyle package to produce chemical reaction schemes. It uses the psfrag package to replace placeholders in eps graphics with numbers for molecules. I'm trying to use Times New Roman font in these eps files (not for the placeholders, but for other text), but LaTeX doesn't seem to like it:

### /usr/texbin/dvips -R -Poutline  -o /tmp/altpdflatex.31054-1317561093/Thesis.ps Thesis.dvi This is dvips(k) 5.97 Copyright 2008 Radical Eye Software (www.radicaleye.com) ' TeX output 2011.10.03:0011' -> /tmp/altpdflatex.31054-1317561093/Thesis.ps /usr/texbin/dvips: ! Couldn't find header file times.pfb. Note that an absolute path or a relative path with .. are denied in -R2 mode.
### FAILED to generate /tmp/altpdflatex.31054-1317561093/Thesis.ps ()

Is it possible to fix this, using LaTeX rather than pdfLaTeX? Where might I find such a header file?

Edit: The Times New Roman text was added in ChemDraw. The eps in question is a chemical scheme, so I draw these in ChemDraw, sometimes with additional text. I'd like that text to match the font I'm using for LaTeX (TNR).

Edit2: An example eps: http://www.2shared.com/file/upfvXkpS/Test.html

share|improve this question
Just realised this is a dvips problem, not a latex problem. Is there a workaround (I don't want to use pdflatex)... – Jack Oct 2 '11 at 13:27
So the Times New Roman text is within the image itself due to some non-LaTeX application? – Alan Munn Oct 2 '11 at 13:30
Welcome to TeX.sx! A tip: You can use backticks ` to mark your inline code as I did in my edit. For non-LaTeX code, such as your error message, the <pre> markup works best. Also, we tend to avoid greetings and closings in posts to keep things concise. – doncherry Oct 2 '11 at 13:42
I suspect we're going to need to see the .eps file in question. Is there somewhere you could make it available so we can have a look? It might also be a good idea to describe how you made it. – Joseph Wright Oct 2 '11 at 15:57
The times.pfb bit is what puzzles me: there's no such font file in TeX Live or other distributions. What should be used is ptmr8a.pfb. – egreg Oct 3 '11 at 14:58

(More of an extended comment)

For me, this works fine using TeX Live 2011 on Windows 7.


My demo file builds as expected using pdlatex or latex -> dvips -> ps2pdf. As egreg says, to say more we'll need an example of what you are doing.

(As an aside, I would urge against using a serif font in your schemes and figures. Sticking to sans serif looks much better for these: see any of the common journal templates.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.