Ciao a tutti,
volevo provare lo stile classicthesis per la mia tesi e vedere cosa ne sarebbe venuto fuori ma probabilmente per qualche errore di compatibilità con gli altri pacchetti o per qualche altro motivo (probabilmente banale) tutto quello che riesco a vedere sono errori di compilazione:
Il mio codice è questo:
`\documentclass[a4paper,11pt,italian,titlepage]{scrartcl}
\author{Autore}
\title{Titolo}\usepackage[latin1]{inputenc}
\usepackage[italian]{babel}\usepackage[dvips]{graphicx}
\graphicspath{images}\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{nextpage}
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,citecolor=magenta}
\usepackage{booktabs}%package per le tabelle che sostituisce hline
\usepackage[font=small,format=hang,labelfont={sf,bf}]{caption}%stile per le didascalie
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\newcommand{\otoprule}{\midrule[\heavyrulewidth]}%per le tabelle
\begin{document}
\maketitle
\cleartooddpage[\thispagestyle{empty}]
\tableofcontents
\cleartooddpage[\thispagestyle{empty}]
\input{Introduzione.tex}
\cleartooddpage[\thispagestyle{empty}]
\input{Cap1.tex}……………………………………
\cleartooddpage[\thispagestyle{empty}]
\input{bibliografia.tex}
\cleartooddpage[\thispagestyle{empty}]
\end{document}`
che compila tranquillamente e mi stampa il pdf come è giusto che sia.
Invece se provo ad inserire
`\usepackage{classicthesis}`
mi da errore in fase di compilazione.
`
(“C:\Programmi\MiKTeX 2.7\tex\latex\koma-script\scrpage2.sty”)! LaTeX Error: \chaptermark undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type Hfor immediate help.
…l.299 …smallcaps{#1}}{\spacedlowsmallcaps{#1}}}}
(“C:\Programmi\MiKTeX 2.7\tex\latex\titlesec\titlesec.sty”)
(“C:\Programmi\MiKTeX 2.7\tex\latex\tocloft\tocloft.sty”Package tocloft Note: The document has section divisions.
)
! LaTeX Error: \cftchappresnum undefined.
! LaTeX Error: \cftchapafterpnum undefined.
l.408 }`
Qualcuno sa spiegarmi come risolverlo e vedere finalmente classicthesis all’opera?
Grazie
Adam
Se non l’hai già letta, ti consiglio questa guida: http://www.lorenzopantieri.net/LaTeX_files/ClassicThesis.pdf.
Ciao,
Antonio