我是这里的新手,也是 LaTeX 的新用户,我正在尝试用它撰写我的博士论文和中期报告,但遇到了一些问题。我尝试在互联网上搜索了 2 周,但没有找到问题的答案(或者也许我没有得到我所读到的所有内容)。我发布了日志文件:
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
("E:/Rapport/Rapport TeX/Exemples/ModeleRapportStageLatex/Global.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french,
greek, italian, russian, turkish, ukenglish, farsi, loaded.
("C:\Program Files\MiKTeX 2.8\tex\latex\base\report.cls"
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.8\tex\latex\base\size12.clo"))
("C:\Program Files\MiKTeX 2.8\tex\generic\babel\babel.sty"
*************************************
* Local config file bblopts.cfg used
*
("C:\Documents and Settings\karoui\Application Data\MiKTeX\2.8\tex\latex\arabi\
bblopts.cfg") ("C:\Program Files\MiKTeX 2.8\tex\generic\babel\frenchb.ldf"
("C:\Program Files\MiKTeX 2.8\tex\generic\babel\babel.def")
*************************************
* Local config file frenchb.cfg used
*
("C:\Program Files\MiKTeX 2.8\tex\generic\babel\frenchb.cfg")))
("C:\Program Files\MiKTeX 2.8\tex\latex\carlisle\scalefnt.sty")
("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\keyval.sty")
("E:\Rapport\Rapport TeX\Exemples\ModeleRapportStageLatex\ucs.sty"
("E:\Rapport\Rapport TeX\Exemples\ModeleRapportStageLatex\uni-global.def"))
("C:\Program Files\MiKTeX 2.8\tex\latex\base\inputenc.sty"
("E:\Rapport\Rapport TeX\Exemples\ModeleRapportStageLatex\utf8x.def"))
("C:\Program Files\MiKTeX 2.8\tex\latex\ltxmisc\url.sty")
("C:\Program Files\MiKTeX 2.8\tex\latex\geometry\geometry.sty"
("C:\Program Files\MiKTeX 2.8\tex\generic\oberdiek\ifpdf.sty")
("C:\Program Files\MiKTeX 2.8\tex\generic\oberdiek\ifvtex.sty")
("C:\Program Files\MiKTeX 2.8\tex\latex\geometry\geometry.cfg"))
("C:\Documents and Settings\karoui\Application Data\MiKTeX\2.8\tex\latex\listin
gs\listings.sty"
("C:\Documents and Settings\karoui\Application Data\MiKTeX\2.8\tex\latex\listin
gs\lstmisc.sty")
("C:\Documents and Settings\karoui\Application Data\MiKTeX\2.8\tex\latex\listin
gs\listings.cfg")) ("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\lscape.sty"
("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\graphics.sty"
("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\trig.sty")
("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\graphics.cfg")
("C:\Program Files\MiKTeX 2.8\tex\latex\pdftex-def\pdftex.def")))
("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\graphicx.sty")
("C:\Program Files\MiKTeX 2.8\tex\latex\tools\multicol.sty")
("C:\Program Files\MiKTeX 2.8\tex\latex\base\makeidx.sty")
Writing index file Global.idx
("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\color.sty"
("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\color.cfg"))
("C:\Documents and Settings\karoui\Application Data\MiKTeX\2.8\tex\latex\setspa
ce\setspace.sty"
Package: `setspace' 6.7 <2000/12/01>
) ("E:\Rapport\Rapport TeX\Exemples\ModeleRapportStageLatex\Global.aux"
LaTeX Warning: Label `image_EFA' multiply defined.
LaTeX Warning: Label `image_EFA' multiply defined.
LaTeX Warning: Label `image_EFA' multiply defined.
LaTeX Warning: Label `image_EFA' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
LaTeX Warning: Label `image_courbe' multiply defined.
! Missing \endcsname inserted.
<to be read again>
\unhbox
l.81 \newlabel{image_crit\IeC {\`e}re}{{4.2}{26}}
?
所以我希望有人能帮助我。我删除了所有标签,方法是在%
它们前面加上。我删除了整个文本。什么都没有改变,我仍然得到同样的错误。
答案1
不要在\label
-argument 中使用带重音符号或命令的字符。标签只是一个标识键,应该是一个简单的 ascii 字符串。
然后删除 .aux 文件(它来自上次运行并且仍然包含错误的标签)并重试。
答案2
不要在标签中使用特殊字符,在你的情况下使用\label{image-critere}