Un altro errore è inserire i capitoli che andranno a comporre la tua tesi, prima di \begin{document}.
Il corpo del documento va compreso tra \begin{document} e \end{document}.
grazie antonio, ma credo che sia a posto da questo punto di vista, per essere chiara (vista la mia scarsa conoscenza di latex) riporto tutto il codice del documento fino al capitolo che mi da problemi:
`#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass scrbook
\begin_preamble
\usepackage[italian]{babel}
\date{}
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{}
\end_preamble
\use_default_options true
\language italian
\inputencoding latin1
\font_roman lmodern
\font_sans lmss
\font_typewriter lmtt
\font_default_family rmdefault
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\float_placement h
\paperfontsize default
\spacing single
\use_hyperref false
\papersize a4paper
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic true
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\bullet 0 0 0 -1
\bullet 1 0 8 -1
\tracking_changes false
\output_changes false
\author “”
\author “”
\end_header
\begin_body
\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents
\end_inset
\end_layout
\begin_layout Chapter*
Introduzione
\end_layout`
se non sbaglio begin_document è all’inizio, e ho inserito il codice suggerito da lorenzo alla fine del mio preambolo, giusto?
grazie anche per l’indicazione delle guide, sto cercando una risposta anche lì nel frattempo…
valentina