I just started configurating classicthesis and only made the neccessary changes in classicthesis-config and the thesis itself. After fixing a few issues with ngerman babel, it's now working, but exits with errors.

1. ! LaTeX Error: Unknown option floatperchapterpdfspacing' for packageclassict hesis'.

concerning line 92 of classicthesis.sty, which is: \ProcessOptions\relax. This option was never given to the package? Here a piece of unchanged code (except commenting out the duplicate line, which didn't help) until this line:

\ProvidesPackage{classicthesis}[2011/01/24 v2.9 Typographic Style for a classic-looking thesis]
    \newboolean{@tocaligned} % the left column of the toc will be aligned (no indention)
    \newboolean{@eulerchapternumbers} % use AMS Euler for chapter font (otherwise Palatino)
    \newboolean{@drafting} % print version information on pages
    \newboolean{@linedheaders} % chaper headers will have line above and beneath
    \newboolean{@listsseparated} % toggles the vertical space between lof/lot entries of different chapters
    \newboolean{@nochapters} % disable all chapter-specific commands 
    \newboolean{@beramono} % toggle nice monospaced font (w/ bold) + pre-installed 
    \newboolean{@eulermath} % use awesome Euler fonts for math
    \newboolean{@parts} % use part division for the text
    \newboolean{@minionpro} % setup for minion pro font
    \newboolean{@minionprospacing} % use minion pro's textssc for letter spacing
    \newboolean{@pdfspacing} % use pdftex for letterspacing (via microtype)
    \newboolean{@subfig} % setup for preloaded @subfig package
    \newboolean{@a5paper} % use those tiny DIN A5 pages
    \newboolean{@dottedtoc} % page numbers in ToC flushed right
    \newboolean{@listings} % load listings package (if not already) and setup LoL
    \newboolean{@manychapters} % additional space in ToC after chapter number (if two digits are needed)
    \newboolean{@floatperchapter} % additional space in ToC after chapter number (if two digits are needed)

% ********************************************************************
% Options
% ******************************************************************** 
    \PackageWarningNoLine{classicthesis}{Package "subfigure" and option "subfigure" are deprecated, used "subfig" instead.}

2. ! LaTeX Error: Option clash for package xcolor. concerning line 172 of classicthesis.sty, which is: \definecolor{halfgray}{gray}{0.55}. Obviously the package was loaded before, but my search of the other documents for the phrase "xcolor" yielded nothing. Is there another package that loads xcolor beforehand? And should the \RequirePackage code not prevent that?

\RequirePackage[dvipsnames]{xcolor} % [dvipsnames] 
\definecolor{halfgray}{gray}{0.55} % chapter numbers will be semi transparent .5 .55 .6 .0
\definecolor{Maroon}{cmyk}{0, 0.87, 0.68, 0.32}
\definecolor{RoyalBlue}{cmyk}{1, 0.50, 0, 0}
\definecolor{Black}{cmyk}{0, 0, 0, 0}

Thanks! =)

  • Welcome, where is the original license and copyright note of the original package gone?
    – Johannes_B
    Sep 22 '16 at 6:00
  • you are right. I skimmed through the files, due to their length and number. copying this part too may have helped recognizing the old vesion: % Copyright (C) 2011 Andr\'e Miede miede.de Sep 22 '16 at 11:59
  1. floatperchapter, pdfspacing are two options, and the reason why latex sees them as one might be a missing comma.
  2. you have a 6 years old version of classicthesis.sty; all versions past 3.0 have had this as

\PassOptionsToPackage{dvipsnames}{xcolor} \RequirePackage{xcolor} which at least avoids such clashes (but gives somewhat unpredictable results)

Check this branch https://bitbucket.org/amiede/classicthesis/src/e02199

  • perfect. this version works far better, both problems solved. thanks! Sep 22 '16 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.