0

I was writing in LaTeX, and when I'm trying to complie with MikTex, this prints:

("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\e-french\french.cfg" ! Undefined control sequence.

I believe it to be the source of the problem, since the file prints this:

% les options suivantes (conseillées) par défaut : \abbreviations \automaticlettrine % désactivez les options de frenchle pour '«' et \disallowuchyph \overfullhboxmark \tthyphenation \tabbingaccents '»' ! % test eFrench = {\befr} \newcommand{\fbefr}{{\footnotesize E}F{\footnotesize RENCH}} \DeclareRobustCommand{\befr}{\fbefr}

Moreover, Texmaker specifies there's an error with \abbreviations, etc...

I tried to update but nothing helps.

EDIT: Here's a screencap Sample

Putting the log as well:

("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\e-french\french.cfg" ! Undefined control sequence. l.2 \abbreviations The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), typeI' and the correct spelling (e.g., I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.3 \disallowuchyph The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), type I' and the correct spelling (e.g.,I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.4 \overfullhboxmark The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), typeI' and the correct spelling (e.g., I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.5 \tthyphenation The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), type I' and the correct spelling (e.g.,I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.6 \tabbingaccents The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), typeI' and the correct spelling (e.g., I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.7 \automaticlettrine The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), type I' and the correct spelling (e.g.,I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.

MWE 1:

\documentclass[12pt,a4paper]{book} 
\usepackage[utf8x]{inputenc} 
\usepackage{ucs} 
\usepackage[french]{babel} 
\usepackage[T1]{fontenc} 
\usepackage{amsmath} 
\usepackage{amsfonts} 
\usepackage{amssymb} 
\usepackage{graphicx} 
\usepackage{lmodern} 
\usepackage{kpfonts} 
\usepackage{fourier} 
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} 
\author{John Doe} 
\title{My biography} 
\begin{document} 
  Bonjour, très chère ! 
\end{document}

MWE 2:

\documentclass[12pt]{book} 
\usepackage[utf8x]{inputenc} 
\usepackage[T1]{fontenc} \usepackage[a4paper,left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage{lmodern} 
\usepackage{graphicx} 
\usepackage[french]{babel} 
\usepackage{fancyhdr} 
\usepackage[table,xcdraw]{xcolor} 
\usepackage{mathtools} 
\usepackage{amsmath} 
\usepackage[framed, numbered]{mcode} 
\usepackage{url} 
\usepackage{natbib} 
\usepackage{float} 
\usepackage{chemfig} 
\usepackage{chemist} 
\usepackage[version=3]{mhchem}
20
  • A very vage problem description. Make a complete minimal example that demonstrates your problem. Sep 21, 2015 at 18:22
  • Basically, I want to get rid of the red message since everytime I'm compiling I'm teleported at the tp of the document. The structure looks correct:
    – AtoKit
    Sep 21, 2015 at 19:01
  • \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[a4paper,left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage{lmodern} \usepackage{graphicx} \usepackage[french]{babel} \usepackage{fancyhdr}
    – AtoKit
    Sep 21, 2015 at 19:01
  • But idk what the problem is.
    – AtoKit
    Sep 21, 2015 at 19:02
  • Make a complete example. Something I can try to check if I get the error too. Sep 21, 2015 at 19:08

1 Answer 1

1

For me, the issue appeared when running "Update MiKTeX" in Admin mode and it disappeared, when I ran the "Update MiKTeX" again in User mode.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .