关于 Babel/efrench 的轻微软件包错误

关于 Babel/efrench 的轻微软件包错误

我使用 LaTeX 编写,当我尝试使用 MikTex 进行遵循时,会打印以下内容:

(“C:\Program Files (x86)\MiKTeX 2.9\tex\generic\e-french\french.cfg”!未定义的控制序列。

我相信这是问题的根源,因为该文件打印了以下内容:

% 下列选项(选项)默认:\abbreviations \automaticlettrine% 关闭 '«' 和 \disallowuchyph \overfullhboxmark \tthyphenation \tabbingaccents '»' 的法语选项! % 测试 eFrench = {\befr} \newcommand{\fbefr}{{\footnotesize E}F{\footnotesize RENCH}} \DeclareRobustCommand{\befr}{\fbefr}

此外,Texmaker 指出 \abbreviations 等存在错误...

我尝试更新,但没有任何帮助。

编辑:这是屏幕截图 样本

也放上日志:

("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\e-french\french.cfg" ! 未定义的控制序列。 l.2 \abbreviations 错误消息顶行末尾的控制序列从未被 \def'ed。如果您拼写错误(例如,\hobx'), typeI' 和正确的拼写(例如,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'),请输入I' and the correct spelling (e.g.,I\hbox')。否则继续,我会忘记未定义的任何内容。 ! 未定义的控制序列。 l.4 \overfullhboxmark 错误消息顶行末尾的控制序列从未被 \def'ed。如果您拼写错误(例如,\hobx'), typeI' 和正确的拼写(例如,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'),请输入I' and the correct spelling (e.g.,I\hbox')。否则继续,我会忘记未定义的任何内容。 ! 未定义的控制序列。 l.6 \tabbingaccents 错误消息顶行末尾的控制序列从未被\def'ed。如果拼写错误(例如,\hobx'), typeI' 和正确拼写(例如,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'),请输入I' and the correct spelling (e.g.,I\hbox')。否则继续,我会忘记未定义的部分。

最大能量损失 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}

最大能量损失 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}

答案1

对我来说,在管理员模式下运行“更新 MiKTeX”时出现该问题,而当我在用户模式下再次运行“更新 MiKTeX”时该问题就消失了。

相关内容