Take the 2-minute tour ×
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.

The following mystery/error baffles me.

OS: Windows 7

SW: MikTeX 2.9.3888, WinEdt 7.0

Problem: While running divps, the following messages appear in the console

Trying to make PK font ecbx1200 at 600 DPI...
The PK font file `C:\Users\Jyrki\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\ecbx1200.pk` already exists.

... and a couple of lines further down:

`dvips.exe`: Font ecbx1200 not found; characters will be left blank.

This is all Greek to me, but may be somebody can suggest a fix? I don't know where this font is used, but I would guess that it is the bold text in Theorem, Lemma and such. The symptoms of this are even more baffling, because a document with the following header source

\documentclass[a4paper,12pt,leqno]{article}

\usepackage{latexsym,epsf,amsthm}
\usepackage[finnish]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}
\usepackage{float}
\usepackage{psfrag}
\usepackage{hyperref}

\setlength{\oddsidemargin}{0.0in}  %for thesis
\setlength{\textwidth}{6.5in}   %for thesis
\setlength{\baselineskip}{18pt}
\setlength{\topmargin}{-0.25in}
\setlength{\textheight}{8.9in}
\global\baselineskip=18pt

\newtheorem{lause}{Lause}
\newtheorem{lemma}[lause]{Lemma}
\newtheorem{seuraus}[lause]{Seuraus}
\theoremstyle{definition}
\newtheorem{huomautus}[lause]{Huomautus}
\newtheorem{esimerkki}[lause]{Esimerkki}
\newtheorem{maaritelma}[lause]{Määritelmä}
\newtheorem{exer}{Harjoitustehtävä}
\newenvironment{todistus}{{\noindent \bf Todistus.}\rm}{\qed\medskip}
\newenvironment{ratkaisu}{{\noindent \bf Ratkaisu.}\rm}{\medskip}

results in a document that

  1. divpdf refuses to proceed with (citing missing font ecbx1200)
  2. processing via divps and ps2pdf gives a document, where the theorem headers (and numbers) are missing
  3. was processed correctly on my previous laptop (older versions of both MikTeX and WinEdt running on WinXP)

BUT another document with IMHO essential identical header source

\documentclass{report}[12pt]

\usepackage{latexsym,epsf,amsthm}
\usepackage[finnish]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}
\usepackage{float}
\usepackage{psfrag}
\usepackage{hyperref}

\setlength{\oddsidemargin}{0.0in}  %for thesis
\setlength{\textwidth}{6.5in}   %for thesis
\setlength{\baselineskip}{18pt}
\setlength{\topmargin}{-0.25in}
\setlength{\textheight}{8.9in}
\global\baselineskip=18pt

\newtheorem{lause}{Lause}[chapter]
\newtheorem{lemma}[lause]{Lemma}
\newtheorem{seuraus}[lause]{Seuraus}
\theoremstyle{definition}
\newtheorem{huomautus}[lause]{Huomautus}
\newtheorem{esimerkki}[lause]{Esimerkki}
\newtheorem{maaritelma}[lause]{Määritelmä}
\newenvironment{todistus}{{\noindent \bf Todistus.}\rm}{\qed\medskip}
\newenvironment{ratkaisu}{{\noindent \bf Ratkaisu.}\rm}{\medskip}

gives

  1. the same error messages
  2. but no characters are missing from the output after the dvips + ps2pdf route.

Conceivably, amsmath could use a different font here for articles and reports. That might explain the difference in behavior, but I'm more interested in getting a fix.

share|improve this question
    
My first question here. Sorry if off-topic, or if I've done something non-kosher. Should have lurked for a while, but urgency got to me. –  Jyrki Lahtonen Mar 31 '13 at 10:06
2  
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). –  Peter Jansson Mar 31 '13 at 10:26
    
Thanks Peter, should have figured that out on my own, but this was probably faster :-) –  Jyrki Lahtonen Mar 31 '13 at 10:30
    
The easiest fix is to add \usepackage{lmodern} –  egreg Mar 31 '13 at 10:41
    
@egreg I guess it's a font encoding error? Computer Modern (the default) requires OT1 as its encoding, right? –  kahen Mar 31 '13 at 10:43
show 3 more comments

1 Answer

Oh, dear. A little bit of further digging would have helped.

This question seems definitely related. That question is itself a duplicate of this one. The suggested remedy listing the packages that I need to upload seems to have fixed my problem.

This was not the best start for my stay in TeX.SE. Sorry about that. If somebody wants to add something, please do so, and I will upvote and accept. Otherwise I will just wrap this up the best I can. May be this should be closed as a duplicate?

Apparently I'm out of practice in solving SW-problems (and whatever experience I have at that is from the DOS-era anyway, so...)

share|improve this answer
    
The correlation isn't too obvious between the two, so maybe rework this into an explanation of how the solution to that one leads to a solution for this one. (And don't worry -- if you find one person on this site who has never jumped the gun, I'd be astonished; especially when it's urgent and panicky ;)) –  Sean Allred Mar 31 '13 at 15:48
add comment

Your Answer

 
discard

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.