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.
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'), typeI' 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'), typeI' 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'), typeI' 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}

\documentclass[french]{article}\usepackage{babel}\begin{document}\end{document}. I can only speak for an up-to-date MikTeX here, however. The problem seems to be the same as TexLive 2015 - error when using “french” options with TexStudio (the temporary fixes suggested there work here as well), but the update promised there (which is available for TeX Live I assume) doesn't seem to have made it to MikTeX yet. – moewe Sep 22 '15 at 06:27e-frenchpackage, and installedbabel-frenchand now I don't get any errors any more. Unfortunately, I don't have the.logfile of the failing run any more, but it looked very much like the log here (minus the TeX Live/MikTeX and Linux/Windows difference of course). Mybabelidentifies asBabel <3.9l>though. – moewe Sep 22 '15 at 07:27<3.9l>at the head of the.logfile, but with\listfilesI getbabel.sty 2015/08/03 3.9. I can only guess what went when I ran the example first, because I had just done an update a few minutes before (to the 2015/09/15 database) and there weren't even updates for French. – moewe Sep 22 '15 at 07:35<3.9m>andfrenchb.ldfversionv3.1h. And I have both packages (e-french and babel-french) installed and it works fine. There was an olderfrenchb.ldfwhich tried to load the french.cfg from e-french and then gave errors (as french.cfg starts with\abbreviations). But myfrenchb.ldfno longer tries to do it. – Ulrike Fischer Sep 22 '15 at 07:36\listfiles\documentclass[french]{article}\usepackage{babel}\begin{document}\end{document}and report the.logfile? – moewe Sep 22 '15 at 07:37\listfilesreports now here as well (see my correction above), unfortunately I can't say what it said when it didn't work before (I guess the version offrench.ldfwould be interesting?), and I can't say what packages pertaining to French language support I had installed initially, except that I certainly had afrench.cfgfrome-french. – moewe Sep 22 '15 at 07:39language.cfgis in the babel core (in babel.def in\ldf@finish). The newestfrenchb.ldfsuppress actively that an existingfrench.cfgis loaded. So to get around the problem that the french.cfg from e-french gives errors you must either deinstallede-frenchor get the newestfrenchb.ldf. – Ulrike Fischer Sep 22 '15 at 07:53frenchb.ldfand now I have v. 3.1h and it works while at the same timee-frenchis installed. I have no idea what went wrong when I tried the update. But that is not something we can find out now, I guess. Interestingly the problem in the question here seems related (at least if the OP really did all the updates in User and Admin mode). – moewe Sep 22 '15 at 08:34