Buonasera.
Compilo il codice che segue:`\documentclass[11pt,a4paper]{scrreprt}
\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage{microtype}
\usepackage{classicthesis-ldpkg}
\usepackage[subfig,parts,eulermath,pdfspacing,beramono]{classicthesis}
\usepackage[italian]{arsclassica}\makeatletter
\newenvironment{thesitography}[1]
{\def\refname{Sitografia}%
\def\bibname{Sitografia}%
\def\@biblabel##1{[S##1]}%
\def\@bibitem##1{\item\if@filesw \immediate\write\@auxout
{\string\bibcite{##1}{S\the\value{\@listctr}}}\fi\ignorespaces}%
\thebibliography{#1}}
{\endthebibliography}
\makeatother\begin{document}
\cleardoublepage
\manualmark
\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}}
\refstepcounter{dummy}
\addcontentsline{toc}{chapter}{\tocEntry{\bibname}}
\begin{thebibliography}{9}
\bibitem{vh} Victor Hugo, I Miserabili
\end{thebibliography}\manualmark
\markboth{\spacedlowsmallcaps{Sitografia}}{\spacedlowsmallcaps{Sitografia}}
\refstepcounter{dummy}
\addcontentsline{toc}{chapter}{\tocEntry{Sitografia}}
\begin{thesitography}{9}
\bibitem{wiki:fr} \url{http://en.wikipedia.org/wiki/}
\end{thesitography}
\end{document}`Funziona, ma ricevo l’errore:
! File ended while scanning use of \BR@@bibitem.
Sapete dirmi cosa significa?
Grazie,
GG
Lasciando una riga vuota dopo il secondo \bibitem,
`
[…]
\addcontentsline{toc}{chapter}{\tocEntry{Sitografia}}
\begin{thesitography}{9}
\bibitem{wiki:fr}
\url{http://en.wikipedia.org/wiki/}
\end{thesitography}
\end{document}`
l’errore scompare (http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2008-12/msg01049.html) però i riferimenti non sono più allineati. 🙁
Ciao,
Antonio