TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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 trying to compile this document. I am using Winedt 7, MiKTeX under Windows 7 pro 64 bits. This is the message I get the error below.

------ LaTeX document --------------------------------------------------------

\newfont{\chapfont}{fkob8t at 3cm}
   \ifnum \value{secnumdepth} >-1
    \Huge\bfseries #1\par\nobreak


   \fancyhf{} % tous les paramètres actuels sont effacés

   \markboth{Chapitre \thechapter\ -- #1}{}}

   \markright{\thesection\ -- #1}}

   \or Premi\`ere\or Deuxi\`eme\or Troisi\`eme\or Quatri\`eme
   \or Cinqui\`eme\or Sixi\`eme\or Septi\`eme\or Huiti\`eme
   \or Neuvi\`eme\or Dixi\`eme\or Onzi\`eme\or Douzi\`eme
   \or Treizi\`eme\or Quatorzi\`eme\or Quinzi\`eme\or Seizi\`eme
   \or Dix-septi\`eme\or Dix-huiti\`eme\or Dix-neuvi\`eme\or Vingti\`eme
   \fi\space partie

\renewcommand{\cftchapleader}{\leavevmode\cleaders\hbox to 1em {\hfil.\hfil}\hfill}
\settowidth{\cftchapnumwidth}{\cftchapfont Chapitre~XVIII}
\settowidth{\cftsecnumwidth}{\cftsecfont XVIII.99}



La Loi est l'expression de la volonté générale. Tous les Citoyens ont droit
de concourir personnellement, ou par leurs Représentants, à sa formation.
Elle doit être la même pour tous, soit qu'elle protège, soit qu'elle
punisse. Tous les Citoyens étant égaux à ses yeux sont également
admissibles à toutes dignités, places et emplois publics, selon leur
capacité, et sans autre distinction que celle de leurs vertus et de leurs talents.

Hi evry one

----Error : ---------------------------------------------------------------

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9 64-bit)

("C:\Program Files\MiKTeX 2.9\tex\generic\babel\frenchb.cfg")))
("C:\Program Files\MiKTeX 2.9\tex\latex\carlisle\scalefnt.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty")Running miktex-makemf.exe...
miktex-makemf: The fkob8t source file could not be found.

Running hbf2gf.exe...

hbf2gf (CJK ver. 4.8.0)

Couldn't find `fkob.cfg'

miktex-maketfm: No creation rule for font fkob8t.

! Font \chapfont=fkob8t at 85.35826pt not loadable: Metric (TFM) file not found
<to be read again> 
l.10 \newfont{\chapfont}{fkob8t at 3cm}

? x
No pages of output.
Transcript written on modifybook.log.
texify: pdflatex.exe failed for some reason (see log file).
share|improve this question

closed as too localized by Joseph Wright Jan 20 '13 at 20:07

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.SX. It seems that font is not installed by default with miktex. – Harish Kumar Jan 16 '13 at 10:11
What font should fkob8t be? A search on CTAN gave no result. – egreg Jan 16 '13 at 11:26
Can you please name the font you want to use? I found no definition of font fko following the Karl Berry scheme ... – Kurt Jan 16 '13 at 11:32
Since you tagged it with kpfonts: You must use the right low level name for the roman font. The most simple would be jkp, but see the documentation for all variants. – Speravir Jan 17 '13 at 0:02
See also \newfont command not working; which fonts can I substitute?. You should use something like \newcommand*{\chapfont}{\fontfamily{jkp}\fontsize{3cm}{3.5cm}\linespread{1.1}\s‌​electfont}. – Speravir Jan 17 '13 at 1:09