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.

I'm an average user of LaTeX, but not proficiency. I'm trying to learn from book templates I've found on the web, but I get this error message:

Trying to make PK font ccicons at 1493 DPI...
Running miktex-makemf.exe...
miktex-makemf: The ccicons source file could not be found.
Running ttf2pk.exe...
miktex-makemf: PK font ccicons could not be created.

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

!pdfTeX error: pdflatex.exe (file ccicons): Font ccicons at 1493 not found
 ==> Fatal error occurred, no output PDF file produced!

I'm using MiKTeX (over Windows 7), and according to the MiKTeX package manager the "ccicons" package is already installed.

Could you please help me solve this problem?

share|improve this question
    
Welcome to TeX.SE! A quick hint: If you indent LaTeX code (and erorr and warning messages by four spaces, it'll get pretty-printed automatically. The easiest way to get the lines indented is to highlight them and press the {} "button" in the row above the editor window. Please post a minimum working example (MWE) that generates the error and warning messages you've received. –  Mico Jan 6 at 19:36
    
Thanks for the hint. –  user43548 Jan 6 at 20:44
    
@Mico Thanks for the hint. It is difficult (for me) to post a minimal faulty code example (it is quite customized). I think I'd better post the web address were you could find the source for the book. link –  user43548 Jan 6 at 20:52
    
@Mico If you prefer a shorter faulty example, the firts code example on this thread also issues a compilation error of the same kind, but related to 'rm-qtmr' fonts instead. Regards. –  user43548 Jan 6 at 20:57
    
Doing some research on the topic, I've found my MiKTeX installation doesn't have any \fonts\pk folder. Does it shed some light into the problem? –  user43548 Jan 6 at 21:31

1 Answer 1

up vote 6 down vote accepted

As happens from time to time, MiKTeX's installation of the fonts doesn't update the postcript fonts database, in particular psfonts.map and its friends. These are to be found in C:\Users\<Your personal account>\AppData\MiKTeX\2.9\dvips\config and in Program Data\MiKTeX\2.9\dvips\config.

In order to update these files, you just have to launch:

initexmf --mkmaps (or updmap)

(and additionally --verbose, if you want to read what happens) from the command line.

Forgotten: 1) if you want all those changes work for any user, you also should launch from the command-line as administrator:

initexmf --admin --mkmaps (or  updmap --admin)

This command updates psfonts.map & friends in C:\ProgramData\MiKTeX\…, thus giving access to the font for every user.

2) It also may happen that MiKTeX forgets to mention the font in a file named updmap.cfg, which is located in C:\Users\<User Name>\AppData\Roaming\MiKTeX\2.9\miktex\config\. Mentioning the font in updmap.cfg is required for the procedure to work. If this is the case, you should edit/create updmap.cfg with the following command-line:

initexmf --edit-config-file updmap

and add two lines, say in your case:

#ccicons
Map ccicons.map
share|improve this answer
    
Thank you very much. –  user43548 Jan 8 at 18:57
    
It may be useful to add that in Windows 7 (and maybe Vista), in order to start a command line with admin privileges, you have to find "Command Prompt" in the start menu, right click it and select "Run as administrator". –  marczellm Jan 8 at 20:19

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.