derric / cleanthesis

Clean Thesis is a clean, simple, and elegant LaTeX style (or template) for thesis documents.
http://cleanthesis.der-ric.de/
902 stars 116 forks source link

Citation styles cound not be found. #139

Open busiing opened 1 year ago

busiing commented 1 year ago

I can not get my hands on why it is not possible to get other citationstyles working. Oveleaf states that biber citation styles are working. But even if I use bitex or biblatex as bibsys some citationstyles are not working.

I noticed this trying to use apa, apalike, apalike2 and some others. But I don't know if this is an CleanThesis Issue or an overleaf issue. I haven't found the in-depth overleaf documentation.

Hopefully someone can add some more information. If context is given it would help be getting started to contribute :)

Apa is working, but for some others, this is the error occuring: `See the biblatex package documentation for explanation. Type H for immediate help. ...

l.15570 \RequireBibliographyStyle{\blx@bbxfile}

The bibliography style 'apalike' could not be found.`

busiing commented 1 year ago

As far as I understand CleanThesis, the biber/biblatex package(s) are all working fine, the Bibtex styles are not working.

Overleaf lists the working citation styles for biblatex here and for bibtex here.

Within the CleanThesis Docs we can find:

\optitem[bibtex]{bibsys}{\opt{biber},\opt{bibtex}}

Sets whether to use \texttt{biber} or \texttt{bibtex} as citation management tool (engine).
The default (still) is \texttt{bibtex}.

"\texttt{Biber} [is] a BibTeX replacement for users of BibLaTeX", see \url{http://biblatex-biber.sourceforge.net/}.

For setting up the CleanThesis in my-thesis-setup.tex we use bibsys = biber (default) and could change it to supposedly bibtex. The the for the style bibstyle = alphabetic (default) and could change it to supposedly apalike (bibtex bibliography stiles).

\PassOptionsToPackage{% setup clean thesis style
    figuresep=colon,%
    hangfigurecaption=false,%
    hangsection=true,%
    hangsubsection=true,%
    sansserif=false,%
    configurelistings=true,%
    colorize=full,%
    colortheme=bluemagenta,%
    configurebiblatex=true,%
    bibsys=biber,%
    bibfile=bib-refs,%
    bibstyle=alphabetic,%
    bibsorting=nty,%
}{cleanthesis}

The variable bibsys is then given to cleanthesis.sys which format the document:


% OPTION bibsys
% --> values = biber|bibtex
\define@choicekey*[ct]{cthesis}{bibsys}[\val\bibsysnr]{biber,bibtex}[bibtex]{\def\cthesis@bibsys{#1}}
\setkeys[ct]{cthesis}{bibsys=bibtex}```