Lingua italiana (babel) su Ubuntu

  • Creatore
    Topic
  • #30782
    Up
    0
    Down
    ::


    Salve a tutti, ho un problema durante l’utilizzo di LaTeX su Ubuntu (ver. 8.10),
    premetto che uso come compilatore Texmaker.
    Ecco il mio problema: mi torvo a scrivere su uno stesso file sia da Windows che da Ubuntu; ora però mentre su Windows, con TexnicCenter non ho problemi né warning; lo stesso file con lo stesso preambolo mi dà un warning sulla lingua:
    Riporto qui il warning per intero (per sicurezza)
    `
    Package babel Warning: No hyphenation patterns were loaded for
    (babel) the language `Italian'
    (babel) I will use the patterns loaded for \language=0 instead.
    \l@italian = a dialect from \language0
    Package babel Info: Making ” an active character on input line 91.
    ) (/usr/share/texmf-texlive/tex/generic/babel/english.ldf
    Language: english 2005/03/30 v3.3o English support from the babel system
    \l@british = a dialect from \language\l@english
    \l@UKenglish = a dialect from \language\l@english
    \l@canadian = a dialect from \language\l@american
    \l@australian = a dialect from \language\l@british
    \l@newzealand = a dialect from \language\l@british
    ))
    (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
    Package: inputenc 2006/05/05 v1.1b Input encoding file
    \inpenc@prehook=\toks14
    \inpenc@posthook=\toks15
    (/usr/share/texmf-texlive/tex/latex/base/latin1.def
    File: latin1.def 2006/05/05 v1.1b Input encoding file
    ))
    (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
    Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
    (/usr/share/texmf-texlive/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.
    ))
    (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
    Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
    (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
    Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
    \KV@toks@=\toks16
    )
    (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
    Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
    Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
    )
    (/etc/texmf/tex/latex/config/graphics.cfg
    File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
    )
    Package graphics Info: Driver file: dvips.def on input line 90.
    (/usr/share/texmf-texlive/tex/latex/graphics/dvips.def
    File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
    ))
    \Gin@req@height=\dimen104
    \Gin@req@width=\dimen105
    )
    (/usr/share/texmf-texlive/tex/latex/subfigure/subfigure.sty
    Package: subfigure 2002/03/15 v2.1.5 subfigure package
    \subfigtopskip=\skip43
    \subfigcapskip=\skip44
    \subfigcaptopadj=\dimen106
    \subfigbottomskip=\skip45
    \subfigcapmargin=\dimen107
    \subfiglabelskip=\skip46
    \c@subfigure=\count89
    \c@lofdepth=\count90
    \c@subtable=\count91
    \c@lotdepth=\count92
    ****************************************
    * Local config file subfigure.cfg used *
    ****************************************
    (/usr/share/texmf-texlive/tex/latex/subfigure/subfigure.cfg)
    \subfig@top=\skip47
    \subfig@bottom=\skip48
    )
    (/usr/share/texmf-texlive/tex/latex/listings/listings.sty
    \lst@mode=\count93
    \lst@gtempboxa=\box26
    \lst@token=\toks17
    \lst@length=\count94
    \lst@currlwidth=\dimen108
    \lst@column=\count95
    \lst@pos=\count96
    \lst@lostspace=\dimen109
    \lst@width=\dimen110
    \lst@newlines=\count97
    \lst@lineno=\count98
    \c@lstlisting=\count99
    \lst@maxwidth=\dimen111
    (/usr/share/texmf-texlive/tex/latex/listings/lstpatch.sty
    File: lstpatch.sty 2004/10/17 1.3b (Carsten Heinz)
    )
    (/usr/share/texmf-texlive/tex/latex/listings/lstmisc.sty
    File: lstmisc.sty 2004/09/07 1.3 (Carsten Heinz)
    \c@lstnumber=\count100
    \lst@skipnumbers=\count101
    \lst@framebox=\box27
    )
    (/usr/share/texmf-texlive/tex/latex/listings/listings.cfg
    File: listings.cfg 2004/09/05 1.3 listings configuration
    ))
    Package: listings 2004/10/17 1.3b (Carsten Heinz)
    (/usr/share/texmf-texlive/tex/latex/tools/indentfirst.sty
    Package: indentfirst 1995/11/23 v1.03 Indent first paragraph (DPC)
    )
    (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
    Package: amsmath 2000/07/18 v2.13 AMS math features
    \@mathmargin=\skip49
    For additional information on amsmath, use the `?' option.
    (/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
    Package: amstext 2000/06/29 v2.01
    (/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty
    File: amsgen.sty 1999/11/30 v2.0
    \@emptytoks=\toks18
    \ex@=\dimen112
    ))
    (/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty
    Package: amsbsy 1999/11/29 v1.2d
    \pmbraise@=\dimen113
    )
    (/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty
    Package: amsopn 1999/12/14 v2.01 operator names
    )
    \inf@bad=\count102
    LaTeX Info: Redefining \frac on input line 211.
    \uproot@=\count103
    \leftroot@=\count104
    LaTeX Info: Redefining \overline on input line 307.
    \classnum@=\count105
    \DOTSCASE@=\count106
    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@=\box28
    \strutbox@=\box29
    \big@size=\dimen114
    LaTeX Font Info: Redeclaring font encoding OML on input line 567.
    LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
    \macc@depth=\count107
    \c@MaxMatrixCols=\count108
    \dotsspace@=\muskip10
    \c@parentequation=\count109
    \dspbrk@lvl=\count110
    \tag@help=\toks19
    \row@=\count111
    \column@=\count112
    \maxfields@=\count113
    \andhelp@=\toks20
    \eqnshift@=\dimen115
    \alignsep@=\dimen116
    \tagshift@=\dimen117
    \tagwidth@=\dimen118
    \totwidth@=\dimen119
    \lineht@=\dimen120
    \@envbody=\toks21
    \multlinegap=\skip50
    \multlinetaggap=\skip51
    \mathdisplay@stack=\toks22
    LaTeX Info: Redefining \[ on input line 2666.
    LaTeX Info: Redefining \] on input line 2667.
    )
    (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
    Package: amssymb 2002/01/22 v2.2d
    (/usr/share/texmf-texlive/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-texlive/tex/latex/amscls/amsthm.sty
    Package: amsthm 2004/08/06 v2.20
    \thm@style=\toks23
    \thm@bodyfont=\toks24
    \thm@headfont=\toks25
    \thm@notefont=\toks26
    \thm@headpunct=\toks27
    \thm@preskip=\skip52
    \thm@postskip=\skip53
    \thm@headsep=\skip54
    \dth@everypar=\toks28
    )
    (/usr/share/texmf-texlive/tex/latex/enumitem/enumitem.sty
    Package: enumitem 2005/05/12 v1.1 Customized lists
    \labelindent=\skip55
    \enit@outerparindent=\dimen121
    )
    (/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty
    Package: natbib 2007/02/05 8.0 (PWD)
    \bibhang=\skip56
    \bibsep=\skip57
    LaTeX Info: Redefining \cite on input line 602.
    \c@NAT@ctr=\count114
    )
    (/usr/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty
    \fancy@headwidth=\skip58
    \f@ncyO@elh=\skip59
    \f@ncyO@erh=\skip60
    \f@ncyO@olh=\skip61
    \f@ncyO@orh=\skip62
    \f@ncyO@elf=\skip63
    \f@ncyO@erf=\skip64
    \f@ncyO@olf=\skip65
    \f@ncyO@orf=\skip66
    )
    (/usr/share/texmf-texlive/tex/latex/listings/lstlang1.sty
    File: lstlang1.sty 2004/09/05 1.3 listings language file
    ) (./main_tesi.aux)
    \openout1 = `main_tesi.aux'.
    LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 39.
    LaTeX Font Info: … okay on input line 39.
    LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 39.
    LaTeX Font Info: … okay on input line 39.
    LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 39.
    LaTeX Font Info: … okay on input line 39.
    LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 39.
    LaTeX Font Info: … okay on input line 39.
    LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 39.
    LaTeX Font Info: … okay on input line 39.
    LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 39.
    LaTeX Font Info: … okay on input line 39.
    LaTeX Font Info: Checking defaults for LGR/cmr/m/n on input line 39.
    LaTeX Font Info: Try loading font information for LGR+cmr on input line 39.
    (/usr/share/texmf-texlive/tex/generic/babel/lgrcmr.fd
    File: lgrcmr.fd 2001/01/30 v2.2e Greek Computer Modern
    )
    LaTeX Font Info: … okay on input line 39.
    LaTeX Font Info: Try loading font information for U+msa on input line 40.
    (/usr/share/texmf-texlive/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 40.
    (/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd
    File: umsb.fd 2002/01/19 v2.2g AMS font definitions
    ) [1
    ] [2
    ] [1] [2
    ]
    (./main_tesi.toc)
    \tf@toc=\write3
    \openout3 = `main_tesi.toc'.
    [3] [4
    ] (./main_tesi.lof)
    \tf@lof=\write4
    \openout4 = `main_tesi.lof'.
    [5] [6
    ] (./main_tesi.lot)
    \tf@lot=\write5
    \openout5 = `main_tesi.lot'.
    [7]
    [8
    ] [9] [10
    ] [11] [12
    ] [13] [14
    ]`

    Mentre il preambolo è il seguente:

    `
    %——————Classe del documento e pacchetti connessi alla lingua——%
    \documentclass[11pt,twoside,a4paper]{book}
    \usepackage[italian,english]{babel}
    \usepackage [latin1]{inputenc}
    \usepackage[T1]{fontenc}
    %——————Pacchetti per matematica e grafici————————-%
    \usepackage{graphicx}
    \usepackage{subfigure}
    \usepackage[]{listings}
    \usepackage{indentfirst}
    \usepackage{amsmath,amssymb,amsthm,amsfonts}
    \usepackage{enumitem}
    \usepackage{natbib}
    %——————Pacchetti per la gestione dell'impaginazione—————%
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \addtolength{\headheight}{15pt}
    \renewcommand{\chaptermark}[1]{\markboth {#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
    \fancyhf{}
    \fancyhead[RO,LE]{\thepage}
    \fancyhead[RE]{\leftmark}
    \fancyhead[LO]{\rightmark}
    \fancyfoot[CO,CE]{Nome – matricola}
    `

    Mi rendo conto che è un po’ lunghetto….
    Ho già cercato problemi analoghi sul forum, ma l’unico che ho trovato riguardava alla fine ‘pasticci nell’istallazione di tex-live2008″…non credo sia il mio caso…
    Sapreste aiutarmi?
    Grazie
    Nicola

Visualizzazione 4 filoni di risposte
  • Autore
    Risposte
    • #30783
      Up
      0
      Down
      ::

      Salve a tutti, ho un problema durante l’utilizzo di LaTeX su Ubuntu (ver. 8.10),
      premetto che uso come compilatore Texmaker.
      Ecco il mio problema: mi torvo a scrivere su uno stesso file sia da Windows che da Ubuntu; ora però mentre su Windows, con TexnicCenter non ho problemi né warning; lo stesso file con lo stesso preambolo mi dà un warning sulla lingua:

      C’è un filone in cui si tratta dello stesso problema. Quale versione di TeX hai installato? E come? Non basta dire “Ubuntu”. 🙁

      Ciao
      Enrico

    • #30784
      Up
      0
      Down
      ::


      Dimenticavo:
      sono da poconel fantastico mondo di Linux (Ubuntu 8.10)…ma se per vedere la versione installata di latex basta digitare su terminale ‘tex -version’ allora questa è la risposta:
      `
      TeX 3.141592 (Web2C 7.5.6)
      kpathsea version 3.5.6
      Copyright 2007 D.E. Knuth.
      `

      Sul come l’ho installata: sono andato su synaptic e ho cercato ‘TeX’, quindi ho marcato per l’installazione tutti i pacchetti fondamentali (alcuni li autoselezionava da solo) più altri che pensavo mi servissero…

    • #30785
      Up
      0
      Down
      ::

      Dimenticavo:
      sono da poconel fantastico mondo di Linux (Ubuntu 8.10)…ma se per vedere la versione installata di latex basta digitare su terminale ‘tex -version’ allora questa è la risposta:
      `
      TeX 3.141592 (Web2C 7.5.6)
      kpathsea version 3.5.6
      Copyright 2007 D.E. Knuth.
      `

      Sul come l’ho installata: sono andato su synaptic e ho cercato ‘TeX’, quindi ho marcato per l’installazione tutti i pacchetti fondamentali (alcuni li autoselezionava da solo) più altri che pensavo mi servissero…

      No, non basta. Hai installato teTeX 3 o TeX Live 2007? Hai installato il supporto per l’italiano?

      Ciao
      Enrico

    • #30786
      Up
      0
      Down
      ::


      ops….non avevo installato il pacchetto di texlive dell’italiano….sinceramente pensavo che installando TeX e i elativi pacchetti di lingua fosse finito tutto…non sapevo dell’esistenza di TeXlive….conosci una guida che spiega le relazioni fra TeX e TeXLive ???
      Grazie tante, cmq ho risolto il problema!
      ciao ciao
      Nicola

    • #30787
      Up
      0
      Down
      ::

      ops….non avevo installato il pacchetto di texlive dell’italiano….sinceramente pensavo che installando TeX e i elativi pacchetti di lingua fosse finito tutto…non sapevo dell’esistenza di TeXlive….conosci una guida che spiega le relazioni fra TeX e TeXLive ???
      Grazie tante, cmq ho risolto il problema!
      ciao ciao
      Nicola

      http://letmegooglethatforyou.com/?q=TeX+Live

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

Go to top