Re: Problemi con siunitx

#62768
tonegas
Partecipante
    Up
    0
    Down
    ::


    Scusa, si in effetti se non dico il sistema operativo.
    Uso una ubuntu 10.04.
    Ho fatto una tutto il possibile ho istallato l3kernel e l3packages e poi ho istallato siunitx, nella cartella corretta.
    Infatti ora quando faccio \usepackage{siunitx} non da errori e compila ma quando vado ad usare una qualsiasi funzione del pacchetto mi dice “Undefined control sequence” poi il nome del comando che avevo provato ad usare.

    es.
    `
    \documentclass[a4paper,10pt]{article}
    \usepackage[utf8x]{inputenc}
    \usepackage{siunitx}

    %opening
    \title{}
    \author{}

    \begin{document}

    \maketitle

    \begin{abstract}
    Prova \num{2.4}
    \end{abstract}

    \section{}

    \end{document}
    `

    compilo con latex

    `
    *****
    ***** LaTeX output:
    ***** cd “/home/tonegas”
    ***** latex -interaction=nonstopmode 'vai.tex'
    *****
    This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
    entering extended mode
    (./vai.tex
    LaTeX2e <2009/09/24>
    Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
    yphenation, italian, loaded.
    (/usr/share/texmf-texlive/tex/latex/base/article.cls
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    (/usr/share/texmf-texlive/tex/latex/base/size10.clo))
    (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
    (/usr/share/texmf-texlive/tex/latex/ucs/utf8x.def))
    (/usr/share/texmf-texlive/tex/latex/ucs/ucs.sty
    (/usr/share/texmf-texlive/tex/latex/ucs/data/uni-global.def))
    (/usr/share/texmf-texlive/tex/latex/siunitx/siunitx.sty
    (/usr/share/texmf-texlive/tex/latex/expl3/expl3.sty
    (/usr/share/texmf-texlive/tex/latex/expl3/l3names.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3basics.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3expan.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3tl.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3num.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3intexpr.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3quark.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3seq.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3toks.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3int.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3prg.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3clist.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3token.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3io.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3prop.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3msg.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3skip.sty))
    (/usr/share/texmf-texlive/tex/latex/expl3/l3box.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3keyval.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3keys.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3precom.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3calc.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3xref.sty)
    (/usr/share/texmf-texlive/tex/latex/expl3/l3file.sty)
    ! siunitx Error

    (siunitx) Support package expl3 too old.

    For immediate help type H <return>.

    l.41 }

    ) (./vai.aux) (/usr/share/texmf-texlive/tex/latex/ucs/ucsencs.def)
    ! Undefined control sequence.
    l.14 Prova \num
    {2.4}
    [1] (./vai.aux) )
    (see the transcript file for additional information)
    Output written on vai.dvi (1 page, 468 bytes).
    Transcript written on vai.log.
    `

    grazie ancora
    Gas

    Go to top