texlive2017 non funziona più [risolto]

  • Creatore
    Topic
  • #110796
    davidebond
    Partecipante
      Up
      0
      Down
      ::


      Salve. Ecco il mwe:

      `
      \documentclass[12pt]{article}
      \usepackage{latexsym}

      \begin{document}

      \begin{equation}
      \int_{a}^{b} f(x)\text{d} x=0.123456789
      \end{equation}

      \end{document}

      Il testo non si compila. Ecco quanto dice il terminale:

      [code]
      Running `LaTeX' on `prova14c' with “pdflatex -file-line-error -interaction=nonstopmode “\input” “prova14c.tex”''
      This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/W32TeX) (preloaded format=pdflatex)
      restricted \write18 enabled.
      entering extended mode
      LaTeX2e <2017-04-15>
      Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
      (./prova14c.tex (c:/texlive/2017/texmf-dist/tex/latex/base/article.cls
      Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
      (c:/texlive/2017/texmf-dist/tex/latex/base/size12.clo))
      (c:/texlive/2017/texmf-dist/tex/latex/base/latexsym.sty) (./prova14c.aux)
      (c:/texlive/2017/texmf-dist/tex/latex/base/ulasy.fd)
      ./prova14c.tex:7: Undefined control sequence.
      l.7 \int_{a}^{b} f(x)\text
      {d} x=0.123456789
      [1{c:/texlive/2017/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
      (./prova14c.aux) )
      (see the transcript file for additional information)
      Output written on prova14c.pdf (1 page, 34203 bytes).
      Transcript written on prova14c.log.

      TeX Output exited abnormally with code 1 at Fri Jun 16 18:13:03
      `

      [/code]

      Cosa devo correggere?

      Grazie. Ciao,

      davide

    Visualizzazione 2 filoni di risposte
    • Autore
      Risposte
      • #110797
        claudio
        Partecipante
          Up
          0
          Down
          ::


          hai tolto la matematica volendo fare
          matematica 🙂
          ora compila
          `
          \documentclass[12pt]{article}
          \usepackage{latexsym}
          \usepackage{amsmath}
          \usepackage{amsfonts}
          \usepackage{amssymb}
          \begin{document}

          \begin{equation}
          \int_{a}^{b} f(x)\text{d} x=0.123456789
          \end{equation}

          \end{document}

          `
          claudio

          ps
          comunque ho fatto anche io un piccolo errore …

        • #110798
          OldClaudio
          Partecipante
            Up
            0
            Down
            ::


            Se non carichi amsmath, \text non è definito.

            L’errore residuo è che se carichi amssymb NON devi caricare né latexsy, né amsfonts.

          • #110799
            davidebond
            Partecipante
              Up
              0
              Down
              ::


              Il punto è che prima caricando latexsym e amssymb funzionava. Non ho mai caricato né amsfonts, né amsmath. Adesso, caricando amsmath funziona.

              Grazie. Ciao,

              davide

              P.S. Lo so che non devo caricare latexsym con amssymb, ma dopo tanti anni che lo faccio seguendo Grätzer è diventato automatico.

          Visualizzazione 2 filoni di risposte
          • Devi essere connesso per rispondere a questo topic.

          Go to top