IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Discussion :

Erreur de compilation ! Undefined control sequence.

  1. #1
    Rédacteur

    Avatar de khayyam90
    Homme Profil pro
    Architecte de système d’information
    Inscrit en
    Janvier 2004
    Messages
    10 369
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Bas Rhin (Alsace)

    Informations professionnelles :
    Activité : Architecte de système d’information

    Informations forums :
    Inscription : Janvier 2004
    Messages : 10 369
    Points : 40 164
    Points
    40 164
    Par défaut Erreur de compilation ! Undefined control sequence.
    Bonjour,

    Je cherche à générer un dvi pour une formule mathématique indiquée rouge dans le code.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    \documentclass[12pt]{article}
    \usepackage{amsmath}
    \usepackage{amstext}
    \usepackage{amsfonts}
    \usepackage{amssymb}
    \usepackage{amssymb,amsmath}
    \begin{document}
    \pagestyle{empty}
    $\frac{\partial\mathbf{F}}{\partial\mathbf{X}}=
    \begin{bmatrix}
    \frac{\partial\mathbfF_{1,1}}{\partial\mathbfX}&\cdots&\frac{\partial\mathbfF_{n,1}}{\partial\mathbfX}\\
    \vdots&\ddots&\vdots\\
    \frac{\partial\mathbfF_{1,m}}{\partial\mathbfX}&\cdots&\frac{\partial\mathbfF_{n,m}}{\partial\mathbfX}\\
    \end{bmatrix}$
    \end{document}
    La formule est entrée par des utilisateurs, je ne peux donc modifier que le reste du code pour obtenir un fichier compilable.

    l'appel à latex toto.tex donne cette sortie, qui ne me parle pas vraiment
    Citation Envoyé par latex
    Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
    ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
    stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
    h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
    kish, ukrainian, nohyphenation, loaded.
    (/usr/share/texmf/tex/latex/base/article.cls
    Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
    (/usr/share/texmf/tex/latex/base/size12.clo
    File: size12.clo 2004/02/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
    )
    (/usr/share/texmf/tex/latex/amsmath/amsmath.sty
    Package: amsmath 2000/07/18 v2.13 AMS math feat
    (/usr/share/texmf/tex/latex/amsfonts/umsb.fd)
    ! Undefined control sequence.
    <argument> \partial \mathbfF
    _{1,1}
    l.11 ...{\partial\mathbfF_{1,1}}{\partial\mathbfX}
    &\cdots&\frac{\partial\mat...

    ?
    ! Emergency stop.
    <argument> \partial \mathbfF
    _{1,1}
    l.11 ...{\partial\mathbfF_{1,1}}{\partial\mathbfX}
    &\cdots&\frac{\partial\mat...

    No pages of output.
    Transcript written on 3b845809d948e4fb19d589c506db5643.log.
    ftroot@=\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=\toks15
    \row@=\count96
    \column@=\count97
    \maxfields@=\count98
    \andhelp@=\toks16
    \eqnshift@=\dimen106
    \alignsep@=\dimen107
    \tagshift@=\dimen108
    \tagwidth@=\dimen109
    \totwidth@=\dimen110
    \lineht@=\dimen111
    \@envbody=\toks17
    \multlinegap=\skip44
    \multlinetaggap=\skip45
    \mathdisplay@stack=\toks18
    LaTeX Info: Redefining \[ on input line 2666.
    LaTeX Info: Redefining \] on input line 2667.
    )
    (/usr/share/texmf/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.
    )
    (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty
    Package: amssymb 2002/01/22 v2.2d
    )
    No file 3b845809d948e4fb19d589c506db5643.aux.
    \openout1 = `3b845809d948e4fb19d589c506db5643.aux'.

    LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
    LaTeX Font Info: ... okay on input line 7.
    LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
    LaTeX Font Info: ... okay on input line 7.
    LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
    LaTeX Font Info: ... okay on input line 7.
    LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
    LaTeX Font Info: ... okay on input line 7.
    LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
    LaTeX Font Info: ... okay on input line 7.
    LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
    LaTeX Font Info: ... okay on input line 7.
    LaTeX Font Info: Try loading font information for U+msa on input line 9.
    (/usr/share/texmf/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 9.

    (/usr/share/texmf/tex/latex/amsfonts/umsb.fd
    File: umsb.fd 2002/01/19 v2.2g AMS font definitions
    )
    ! Undefined control sequence.
    <argument> \partial \mathbfF
    _{1,1}
    l.11 ...{\partial\mathbfF_{1,1}}{\partial\mathbfX}
    &\cdots&\frac{\partial\mat...

    ?
    ! Emergency stop.
    <argument> \partial \mathbfF
    _{1,1}
    l.11 ...{\partial\mathbfF_{1,1}}{\partial\mathbfX}
    &\cdots&\frac{\partial\mat...
    End of file on the terminal!


    Here is how much of TeX's memory you used:
    1107 strings out of 94501
    12011 string characters out of 1176789
    58623 words of memory out of 1000000
    4317 multiletter control sequences out of 10000+50000
    9222 words of font info for 35 fonts, out of 500000 for 2000
    580 hyphenation exceptions out of 1000
    27i,8n,22p,250b,88s stack positions out of 1500i,500n,5000p,200000b,5000s
    No pages of output.
    je note la présence du
    ! Undefined control sequence.
    <argument> \partial \mathbfF
    _{1,1}
    , mais je ne maitrise pas suffisamment latex pour comprendre ce que ça signifie.
    Quelqu'un a-t-il une idée ? un package manquant ?

    Les personnes qui pourront m'aider à résoudre ce problème auront l'immense joie d'avoir participé à l'amélioration des services de DVP dont ce problème fait partie.


  2. #2
    Expert éminent sénior

    Avatar de -Nikopol-
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mai 2013
    Messages
    2 174
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 49
    Localisation : France, Haute Marne (Champagne Ardenne)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Enseignement

    Informations forums :
    Inscription : Mai 2013
    Messages : 2 174
    Points : 11 289
    Points
    11 289
    Billets dans le blog
    5
    Par défaut
    Il s'agit juste d'un problème d'espace. Soit tu mets \mathbf{X} comme sur la première ligne ou alors \mathbf X. Sinon en écrivant \mathbfX, TeX cherche une macro nommée mathbfX qui bien évidemment n'existe pas.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    \documentclass[12pt]{article}
    \usepackage{amsmath}
    \usepackage{amstext}
    \usepackage{amsfonts}
    \usepackage{amssymb}
    \usepackage{amssymb,amsmath}
    \begin{document}
    \pagestyle{empty}
    $\frac{\partial\mathbf{F}}{\partial\mathbf{X}}=
    \begin{bmatrix}
    \frac{\partial\mathbf F_{1,1}}{\partial\mathbf X}&\cdots&\frac{\partial\mathbf F_{n,1}}{\partial\mathbf X}\\
    \vdots&\ddots&\vdots\\
    \frac{\partial\mathbf F_{1,m}}{\partial\mathbf X}&\cdots&\frac{\partial\mathbf F_{n,m}}{\partial\mathbf X}\\
    \end{bmatrix}$
    \end{document}
    La formule est entrée par des utilisateurs, je ne peux donc modifier que le reste du code pour obtenir un fichier compilable.
    Va falloir que les utilisateurs entrent leur formules correctement.

  3. #3
    Rédacteur

    Avatar de khayyam90
    Homme Profil pro
    Architecte de système d’information
    Inscrit en
    Janvier 2004
    Messages
    10 369
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Bas Rhin (Alsace)

    Informations professionnelles :
    Activité : Architecte de système d’information

    Informations forums :
    Inscription : Janvier 2004
    Messages : 10 369
    Points : 40 164
    Points
    40 164
    Par défaut
    en effet, merci pour ton aide

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Undefined control sequence
    Par Bloblotex dans le forum Débuter
    Réponses: 8
    Dernier message: 28/01/2013, 07h18
  2. Réponses: 14
    Dernier message: 28/06/2011, 15h26
  3. Equations : "Undefined control sequence"
    Par yeahna dans le forum Mathématiques - Sciences
    Réponses: 2
    Dernier message: 07/08/2009, 23h40
  4. Erreur de compilation "undefined reference"
    Par aljekeny dans le forum Débuter
    Réponses: 14
    Dernier message: 06/01/2009, 11h14
  5. Arbre avec pstricks : "undefined control sequence"
    Par yabb85 dans le forum Tableaux - Graphiques - Images - Flottants
    Réponses: 1
    Dernier message: 09/12/2007, 15h11

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo