Nous sommes le Sam 21 Juin, 2025 14:41
Supprimer les cookies

Soucis de compilation avec latex

Sur le logiciel libre en général ou un logiciel libre en particulier

Mer 25 Mars, 2009 11:29

voila j'ai un petit soucis de compilation lors de mon fichier ltex, et je ne vois pas trop quoi faire :

Code: Tout sélectionner
This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.6) (preloaded format=pdflatex 2007.10.29)  25 MAR 2009 11:14
entering extended mode
**D:/temporaire/clef/tex/cvelec.tex
(D:\temporaire\clef\tex\cvelec.tex
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files\MiKTeX 2.6\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.6\tex\latex\base\size10.clo"
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.6\tex\latex\base\inputenc.sty"
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

("C:\Program Files\MiKTeX 2.6\tex\latex\base\latin1.def"
File: latin1.def 2006/05/05 v1.1b Input encoding file
))
("C:\Program Files\MiKTeX 2.6\tex\latex\amsmath\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43

For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.6\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01

("C:\Program Files\MiKTeX 2.6\tex\latex\amsmath\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen103
))
("C:\Program Files\MiKTeX 2.6\tex\latex\amsmath\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen104
)
("C:\Program Files\MiKTeX 2.6\tex\latex\amsmath\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count87
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count88
\leftroot@=\count89
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count90
\DOTSCASE@=\count91
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen105
LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
\macc@depth=\count92
\c@MaxMatrixCols=\count93
\dotsspace@=\muskip10
\c@parentequation=\count94
\dspbrk@lvl=\count95
\tag@help=\toks17
\row@=\count96
\column@=\count97
\maxfields@=\count98
\andhelp@=\toks18
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
("C:\Program Files\MiKTeX 2.6\tex\latex\amsfonts\amsfonts.sty"
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 132.
)
("C:\Program Files\MiKTeX 2.6\tex\latex\amsfonts\amssymb.sty"
Package: amssymb 2002/01/22 v2.2d
)
("C:\Program Files\MiKTeX 2.6\tex\latex\base\makeidx.sty"
Package: makeidx 2000/03/29 v1.0m Standard LaTeX package
)
("C:\Program Files\MiKTeX 2.6\tex\latex\psnfss\pifont.sty"
Package: pifont 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
LaTeX Font Info:    Try loading font information for U+pzd on input line 63.

("C:\Program Files\MiKTeX 2.6\tex\latex\psnfss\upzd.fd"
File: upzd.fd 2001/06/04 font definitions for U/pzd.
)
LaTeX Font Info:    Try loading font information for U+psy on input line 64.

("C:\Program Files\MiKTeX 2.6\tex\latex\psnfss\upsy.fd"
File: upsy.fd 2001/06/04 font definitions for U/psy.
))
("C:\Program Files\MiKTeX 2.6\tex\latex\graphics\color.sty"
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

("C:\Program Files\MiKTeX 2.6\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.

("C:\Program Files\MiKTeX 2.6\tex\latex\pdftex-def\pdftex.def"
File: pdftex.def 2008/09/08 v0.04l Graphics/color for pdfTeX
\Gread@gobject=\count99
))
("C:\Program Files\MiKTeX 2.6\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

("C:\Program Files\MiKTeX 2.6\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
))
("C:\Program Files\MiKTeX 2.6\tex\generic\babel\babel.sty"
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.6\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files\MiKTeX 2.6\tex\generic\babel\frenchb.ldf"
Language: frenchb 2008/05/08 v2.2a French support from the babel system

("C:\Program Files\MiKTeX 2.6\tex\generic\babel\babel.def"
File: babel.def 2008/07/06 v3.8l Babel common definitions

! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns
                                                  {\languagename }
l.131 \main@language{english}
                             
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.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                             
                                                 
l.131 \main@language{english}
                             
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

\babel@savecnt=\count100
\U@D=\dimen112
)
Package babel Info: Making : an active character on input line 119.
Package babel Info: Making ; an active character on input line 120.
Package babel Info: Making ! an active character on input line 121.
Package babel Info: Making ? an active character on input line 122.
\FB@Mht=\dimen113
\std@mcc=\count101
\dec@mcc=\count102
\parindentFFN=\dimen114

*************************************
* Local config file frenchb.cfg used
*
("C:\Program Files\MiKTeX 2.6\tex\generic\babel\frenchb.cfg")
! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns
                                                  {\languagename }
l.974 \ldf@quit\CurrentOption
                             
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.

)) ("C:\Program Files\MiKTeX 2.6\tex\latex\carlisle\scalefnt.sty"
Overfull \hbox (368.80157pt too wide) in paragraph at lines 131--1
[]\T1/cmr/m/n/10 english                                                       
                                                                               
                                                                               
                                                                            fre
nch
 []


Underfull \hbox (badness 10000) in paragraph at lines 131--1

 []

) ("C:\Program Files\MiKTeX 2.6\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks21
)
("C:\Program Files\MiKTeX 2.6\tex\latex\geometry\geometry.sty"
Package: geometry 2008/12/21 v4.2 Page Geometry

("C:\Program Files\MiKTeX 2.6\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2007/12/12 v1.6 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
)
("C:\Program Files\MiKTeX 2.6\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
Package ifvtex Info: VTeX not detected.
)
\Gm@cnth=\count103
\Gm@cntv=\count104
\c@Gm@tempcnt=\count105
\Gm@bindingoffset=\dimen115
\Gm@wd@mp=\dimen116
\Gm@odd@mp=\dimen117
\Gm@even@mp=\dimen118
\Gm@dimlist=\toks22

("C:\Program Files\MiKTeX 2.6\tex\latex\geometry\geometry.cfg")) (cvelec.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.

("C:\Program Files\MiKTeX 2.6\tex\context\base\supp-pdf.tex"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count106
\scratchdimen=\dimen119
\scratchbox=\box28
\nofMPsegments=\count107
\nofMParguments=\count108
\everyMPshowfont=\toks23
\MPscratchCnt=\count109
\MPscratchDim=\dimen120
\MPnumerator=\count110
\everyMPtoPDFconversion=\toks24
)
LaTeX Info: Redefining \degres on input line 17.
LaTeX Info: Redefining \dots on input line 17.
LaTeX Info: Redefining \up on input line 17.

*geometry auto-detecting driver*
*geometry detected driver: pdftex*
-------------------- Geometry parameters
paper: a4paper
landscape: --
twocolumn: --
twoside: --
asymmetric: --
h-parts: 28.45274pt, 540.60239pt, 28.45274pt
v-parts: 28.45274pt, 788.14136pt, 28.45274pt
hmarginratio: --
vmarginratio: --
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: --
driver: pdftex
-------------------- Page layout dimensions and switches
\paperwidth  597.50787pt
\paperheight 845.04684pt
\textwidth  540.60239pt
\textheight 788.14136pt
\oddsidemargin  -43.81725pt
\evensidemargin -43.81725pt
\topmargin  -80.81725pt
\headheight 12.0pt
\headsep    25.0pt
\footskip   30.0pt
\marginparwidth 57.0pt
\marginparsep   11.0pt
\columnsep  10.0pt
\skip\footins  9.0pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000

(1in=72.27pt, 1cm=28.45pt)
-----------------------

Underfull \hbox (badness 10000) in paragraph at lines 20--28

 []

LaTeX Font Info:    Try loading font information for OMS+cmr on input line 34.
("C:\Program Files\MiKTeX 2.6\tex\latex\base\omscmr.fd"
File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available
(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 34.
LaTeX Font Info:    Try loading font information for U+msa on input line 41.

("C:\Program Files\MiKTeX 2.6\tex\latex\amsfonts\umsa.fd"
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info:    Try loading font information for U+msb on input line 41.

("C:\Program Files\MiKTeX 2.6\tex\latex\amsfonts\umsb.fd"
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
)
Underfull \hbox (badness 10000) in paragraph at lines 100--101

 []


Underfull \hbox (badness 10000) in paragraph at lines 120--121

 []


Underfull \hbox (badness 10000) in paragraph at lines 148--150

 []


Underfull \hbox (badness 10000) in paragraph at lines 194--201
[][]
 []


Overfull \hbox (12.20076pt too wide) in paragraph at lines 194--201
[]
 []


Overfull \vbox (129.53734pt too high) has occurred while \output is active []


[1

{psfonts.map}] [2] (cvelec.aux) )
Here is how much of TeX's memory you used:
 3116 strings out of 95282
 36185 string characters out of 1184715
 101604 words of memory out of 1096600
 6175 multiletter control sequences out of 60000
 10653 words of font info for 30 fonts, out of 1000000 for 2000
 14 hyphenation exceptions out of 8191
 27i,8n,24p,271b,263s stack positions out of 5000i,500n,10000p,200000b,32768s
{cm-super-t1.enc}<C:/Program Files/MiKTeX 2.6/
fonts/type1/bluesky/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.6/fonts/type1/publ
ic/cm-super/sfbx1000.pfb><C:/Program Files/MiKTeX 2.6/fonts/type1/public/cm-sup
er/sfbx1200.pfb><C:/Program Files/MiKTeX 2.6/fonts/type1/public/cm-super/sfbx17
28.pfb><C:/Program Files/MiKTeX 2.6/fonts/type1/public/cm-super/sfrm1000.pfb><C
:/Program Files/MiKTeX 2.6/fonts/type1/urw/zapfding/uzdr.pfb>
Output written on cvelec.pdf (2 pages, 80470 bytes).
PDF statistics:
 34 PDF objects out of 300000 (max. 8388607)
 0 named destinations out of 300000 (max. 131072)
 1 words of extra memory for PDF output out of 65536 (max. 10000000)

noir_desir

Messages : 346

Mer 25 Mars, 2009 13:55

salut
tu n'aurais pas une image incluse dans ton fichier par hasard?
sous quel format est cette image?

vérifie que tes balises sont bien fermés
http://toitoinebzh.blog.free.fr/
toitoinebzh

Messages : 269

Mer 25 Mars, 2009 15:17

A priori aucune image, que de l'écriture.
Par contre sur le fichier finale, j'ai un english écrit tous en haut.
noir_desir

Messages : 346

Mer 25 Mars, 2009 21:52

Est-ce que tu pourrais faire un copier/coller de ton préambule (tout ce qui est avant le \begin{document} ) ?

À part le package color, vraiment obsolète (préfère xcolor), je ne vois rien de problématique et je pense aussi à une balise mal fermée.
Sebastien

Messages : 730
Géo : Sainte-Marie (974)

Jeu 26 Mars, 2009 09:18

Oui pas de soucis :

Code: Tout sélectionner
documentclass[10pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{pifont}
\usepackage{color}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage{geometry}
\geometry{a4paper,top=1cm,bottom=1cm,left=1cm,right=1cm}
\pagestyle{empty}
\author{fabien}
\definecolor{vert}{rgb}{0,0.5,0}
\definecolor{bleu}{rgb}{0.85,0.95,1}
\begin{document}
noir_desir

Messages : 346

Jeu 26 Mars, 2009 09:24

Qu'y a-t-il à la ligne 131?
Code: Tout sélectionner
! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns
                                                  {\languagename }
l.131 \main@language{english}


C'est une faute de copié-collé ou bien il manque un \ à la première ligne?
Code: Tout sélectionner
documentclass[10pt,a4paper]{article}
lebendre

Messages : 1417
Géo : Sur ma montagne

Jeu 26 Mars, 2009 09:45

J'ai refait une mise à jour des packages, et une recompilation plus de soucis.
Merci à tous pour votre aide :P

Par contre je ne comprend pas trop cette phrase du compilateur :

Underfull \hbox (badness 10000) in paragraph at lines 100--101
noir_desir

Messages : 346

Ven 27 Mars, 2009 12:21

noir_desir a écrit:Par contre je ne comprend pas trop cette phrase du compilateur :

Underfull \hbox (badness 10000) in paragraph at lines 100--101


Il y a un truc qui déborde dans la marge, probablement un mot, quelques lettres... Pas forcément toujours visible à l'écran, tu peux le faire signaler davantage en utilisant le mode brouillon.
Sebastien

Messages : 730
Géo : Sainte-Marie (974)

Ven 27 Mars, 2009 15:58

Mode brouillon :?
euh la j'avoue ne pas connaitre.
noir_desir

Messages : 346

Ven 27 Mars, 2009 16:06

noir_desir a écrit:Mode brouillon :?
euh la j'avoue ne pas connaitre.

une petite vadrouille de quelques secondes sur un moteur de recherche:
http://www.ukonline.be/programmation/la ... /page3.php (pour les images)
http://www.math.uiuc.edu/~hildebr/tex/packages.html (pour le document)
http://www.developpez.net/forums/d40067 ... ode-draft/ (pour toute une discussion...)

Pour ton Underfull \hbox, c'est simplement que LaTeX fait du mieux qu'il peut (ou plutôt du mieux qui soit) pour que le document soit beau. Alors si par hasard il doit mettre de trop gros espaces pour justifier le texte, ou au contraire de trop petits s'il rajoute un mot en fin de ligne, alors il fait dépasser un bout dans la marge, et puis comme ça le document reste joli! Et comme LaTeX est courtois, il te l'indique :wink:
lebendre

Messages : 1417
Géo : Sur ma montagne

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit