Ti illustro meglio:
sezione del preambolo:
`
\mainmatter
\pagestyle{fancy}\input{cap1}
\input{cap2}
\input{cap3}
\input{cap4}
\input{cap5}
\input{cap6}
\input{cap7}
\input{cap8}\input {biblio}
%\makeatletter
\let\@orig@endthebibliography\endthebibliography
\renewcommand\endthebibliography{%
\xdef\@kept@last@number{\the\c@enumiv}%
\@orig@endthebibliography}\newenvironment{thesitography}[1]
{\def\bibname{Siti consultati}%
\thebibliography{#1}%
\setcounter{enumiv}{\@kept@last@number}%
}
{\@orig@endthebibliography}
\makeatother`Mentre nel file biblio.tex ho trascritto esattamente quello che hai scritto tu:
`\begin{thebibliography}{99}
\bibitem{PMBOK} Project Management Institute, \emph{“ciao''}, 2000.
\end{thebibliography}\begin{thesitography}{99}
\bibitem{io} \texttt{www.io.it}
\end{thesitography} `
Il preambolo è ciò che sta tra \documentclass[…]{…} e \begin{document}. Non commentare \makeatletter, mi raccomando.
Qui hai definito l’ambiente da usare dopo averlo chiamato: è ovvio che non può funzionare, no?
Ciao
Enrico