Re: Listings Matlab e accenti

#68463
Up
0
Down
::

Dork” post=67554ora aggiungo la riga anche agli altri e spero funzioni!)
p.s. c’è un modo per non doverla aggiungere ogni volta (nei prossimi documenti che produrrò)?

(…sempre che il problema si risolva così… ma mentre mi rispondete io intanto cambio tutto e compilo..)

ok..ora il testo che scrivo io non da nessun problema ma si blocca nell’importazione del file in quanto “traduce” il carattere accentato con la doppia croce e l’utf-8 non la sa interpretare (credo il problema sia questo…)
resta però l fatto che in matlab si apre coi caratteri accentati senza problemi. riporto l’errore (il file è il tretermini.m)

ps. sono consapevole che sono utili solo le ultime righe (infatti i riferimenti sono perforza tutti saltati fino alla prossima compilazione completa) ma mando tutto il resoconto perché…non si sa mai che scoprite qualcosa di nuovo invisibile ai miei occhi 🙂

grazie ancora.

`This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
\write18 enabled.
entering extended mode
(./LMC_Barycentric.tex
LaTeX2e <2011/06/27>
Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fleqn.clo)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/english.ldf
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.def))
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/italian.ldf))
(/usr/local/texlive/2011/texmf-dist/tex/latex/csquotes/csquotes.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/csquotes/csquotes.def)
(/usr/local/texlive/2011/texmf-dist/tex/latex/csquotes/csquotes.cfg))
(/usr/local/texlive/2011/texmf-dist/tex/latex/emptypage/emptypage.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/indentfirst.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/layaureo/layaureo.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/calc.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/microtype/microtype.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/microtype/microtype.cfg))
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdfpages/pdfpages.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/eso-pic/eso-pic.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdfpages/pppdftex.def))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/makeidx.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/local/texlive/2011/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/bbx/alphabetic.bbx
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/cbx/alphabetic.cbx)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.cfg))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amscls/amsthm.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/mnsymbol/MnSymbol.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ts1enc.def
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ts1enc.dfu))))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amscd.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/xspace.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/afterpage.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/lipsum/lipsum.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/mdwtools/footnote.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/listings/listings.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/listings/listings.cfg))
(/usr/local/texlive/2011/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/varioref.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/hyperref.cfg))

Package hyperref Message: Driver (autodetected): hpdftex.

(/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
Writing index file LMC_Barycentric.idx
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/lbx/italian.lbx)
(./LMC_Barycentric.aux
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/lbx/english.lbx)

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.65 …{toc}{\defcounter {refsection}{0}\relax }\

?
) (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/local/texlive/2011/texmf-dist/tex/latex/microtype/mt-cmr.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(./LMC_Barycentric.bbl)
(/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./LMC_Barycentric.out) (./LMC_Barycentric.out)
(./MaterialeInizialeFinale/Titolo.tex
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1cmss.fd)
<./figure/polloPallido.pdf, id=4, 406.51875pt x 406.51875pt>

(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/microtype/mt-msa.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/microtype/mt-msb.cfg)) [1{/usr/lo
cal/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./figure/polloP allido.pdf>] (./MaterialeInizialeFinale/Colophon.tex) [2]
(./MaterialeInizialeFinale/Sommario+Abstract.tex) [3] [4]
(./LMC_Barycentric.toc) [5] [6] (./LMC_Barycentric.lol) [7] [8]
(./LMC_Barycentric.lof) [9] [10] (./Capitoli/Introduzione.tex
(./Capitoli/Intro/Introduzione.tex

LaTeX Warning: Reference `cap:roots' on page xi undefined on input line 12.

LaTeX Warning: Reference `cap:quadgauss' on page xi undefined on input line 14.

LaTeX Warning: Reference `sec:quad' on page xi undefined on input line 14.

LaTeX Warning: Reference `cap:interpbary' on page xi undefined on input line 16
.

LaTeX Warning: Reference `sec:int' on page xi undefined on input line 16.

LaTeX Warning: Reference `sec:bary' on page xi undefined on input line 16.

[11]

LaTeX Warning: Reference `cap:diff' on page xii undefined on input line 18.

LaTeX Warning: Reference `app:intervalli' on page xii undefined on input line 2
0.

LaTeX Warning: Reference `app:grafici' on page xii undefined on input line 22.

LaTeX Warning: Reference `app:esempio' on page xii undefined on input line 24.

)) [12] (./Capitoli/Prerequisiti.tex
Capitolo 1.
(./Capitoli/Pre/PolinomiOrtogonali.tex

LaTeX Warning: Reference `eq:simm' on page 1 undefined on input line 33.

LaTeX Warning: Reference `eq:linear' on page 1 undefined on input line 33.

LaTeX Warning: Reference `eq:defpos' on page 1 undefined on input line 36.

LaTeX Warning: Reference `eq:linear' on page 1 undefined on input line 36.

[1]

LaTeX Warning: Reference `eq:defpos' on page 2 undefined on input line 63.

LaTeX Warning: Hyper reference `def:knorm' on page 2 undefined on input line 77
.

LaTeX Warning: Reference `def:knorm' on page 2 undefined on input line 77.

LaTeX Warning: Hyper reference `cap:roots' on page 2 undefined on input line 82
.

LaTeX Warning: Reference `cap:roots' on page 2 undefined on input line 82.

[2]

LaTeX Warning: Reference `eq:basepoli1' on page 3 undefined on input line 99.

LaTeX Warning: Reference `eq:linear' on page 3 undefined on input line 104.

LaTeX Warning: Reference `eq:basepoli2' on page 3 undefined on input line 104.

LaTeX Warning: Hyper reference `oss:gradminore' on page 3 undefined on input li
ne 108.

LaTeX Warning: Reference `oss:gradminore' on page 3 undefined on input line 108
.

LaTeX Warning: Reference `eq:defpos' on page 3 undefined on input line 113.

LaTeX Warning: Reference `eq:tretermini' on page 3 undefined on input line 115.

LaTeX Warning: Reference `oss:gradminore' on page 3 undefined on input line 115
.

LaTeX Warning: Reference `eq:tretermini' on page 3 undefined on input line 115.

LaTeX Warning: Reference `oss:gradminore' on page 3 undefined on input line 119
.

! Package inputenc Error: Unicode char \u8:‡\expandafter\lst@FillFixed@ not set
up for use with LaTeX.

See the inputenc package documentation for explanation.
Type H for immediate help.

l.5 …nerarli (considerando anche la possibilit‡
che i
?
`

Go to top