allora questa è la mia classe:
`
\documentclass[a4paper, 12pt]{book}%
\usepackage[UTF8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
%\usepackage{hyperref}
\usepackage{lmodern} %ANTI SGRANAGGIO!!! %Type1-font for non-english texts and characters
\usepackage{url}
\usepackage{float}
%% Multibibliografia per fa funzionare sitografia %%%%%%%%%%%
\usepackage[resetlabels]{multibib}
\newcites{web}{Siti Web Consultati}
%% Line Spacing %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{setspace}
%\singlespacing %% 1-spacing (default)
\onehalfspacing %% 1,5-spacing
%\doublespacing %% 2-spacing
%% Other Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{a4wide} %%Smaller margins = more text per page.
%\usepackage{fancyhdr} %%Fancy headings
%\usepackage{longtable} %%For tables, that exceed one page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Options / Modifications
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\input{options} %You need a file 'options.tex' for this
%% ==> TeXnicCenter supplies some possible option files
%% ==> with its templates (File | New from Template…).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Comandi e ambienti definiti da me
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{tab}[1]%
{\begin{tabular}{|#1|}\hline}%
{\hline\end{tabular}}
\newenvironment{tabSenzaLinee}[1]%
{\begin{tabular}{|#1|}}%
{\end{tabular}}
\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{graphicx}
%———————————————————-
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\newenvironment{proof}[1][Proof]{\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
%———————————————————-
%Lettere Lituane
\usepackage{newunicodechar}
\newunicodechar{Ė}{\.{E}}
\newunicodechar{Į}{\k{I}}
\newunicodechar{Ų}{\textogonekcentered{U}}
\newunicodechar{Ū}{\={U}}
\newunicodechar{ė}{\.{e}}
\newunicodechar{į}{\k{i}}
\newunicodechar{ų}{\k{u}}
\newunicodechar{ū}{\={u}}
\begin{document}
\frontmatter
\pagestyle{empty} %No headings for the first pages.
\title{Social Network Analysis\\Progetto Veivirzenu Gimnazija}
\author{Andrea Febbo\\Mat: 0000555778}
\date{Anno Accademico 2011/2012}
\maketitle
\tableofcontents%Stampa l'indice.
\input{files/introduzione}
\mainmatter
\pagestyle{headings}
a ą b c č d e ę ė f g h i į y j k l m n o p r s š t u ų ū v z ž
A Ą B C Č D E Ę Ė F G H I Į Y J K L M N O P R S Š T U Ų Ū V Z Ž
\input{files/obbiettivi}
\input{files/raccolta}
\input{files/analisi}
\input{files/conclusioni}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% BIBLIOGRAFIA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\addcontentsline{toc}{chapter}{\bibname}
\nocite{*}
\bibliographystyle{plain}
\bibliography{bibliografia}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% SITOGRAFIA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\addcontentsline{toc}{chapter}{Siti Web Consultati}
\nociteweb{*}
\bibliographystyleweb{plain}
\bibliographyweb{web}
%% The List of Figures
\clearpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
%% The List of Tables
%\clearpage
%\addcontentsline{toc}{chapter}{List of Tables}
%\listoftables
%\appendix
%\chapter{The First Appendix}
\end{document}
`
Questo codice non so perche mi da appunto gli otto errori.
però se scrivo questo tex non me li da:
`
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{newunicodechar}
\newunicodechar{Ė}{\.{E}}
\newunicodechar{Į}{\k{I}}
\newunicodechar{Ų}{\textogonekcentered{U}}
\newunicodechar{Ū}{\={U}}
\newunicodechar{ė}{\.{e}}
\newunicodechar{į}{\k{i}}
\newunicodechar{ų}{\k{u}}
\newunicodechar{ū}{\={u}}
\pagestyle{empty}
\begin{document}
a ą b c č d e ę ė f g h i į y j k l m n o p r s š t u ų ū v z ž
A Ą B C Č D E Ę Ė F G H I Į Y J K L M N O P R S Š T U Ų Ū V Z Ž
\end{document}
`
sapete dirmi perché?