Added new package option bibfile: allows you to link/use arbitrary bibtex files
This commit is contained in:
@@ -6,6 +6,7 @@ cleanthesis repository.
|
||||
=== Latest Dev ===
|
||||
- Created this changelog text file
|
||||
- Fixed broken package option/parameter colorize (hrzbrg)
|
||||
- New package option bibfile: allows you to link/use arbitrary bibtex files
|
||||
|
||||
=== v0.2.3 ===
|
||||
- Fixed line breaks for long chapter headlines (caused text overlapping)
|
||||
|
BIN
cleanthesis.pdf
BIN
cleanthesis.pdf
Binary file not shown.
@@ -106,6 +106,12 @@
|
||||
\define@choicekey*[ct]{cthesis}{bibsys}[\val\bibsysnr]{biber,bibtex}[bibtex]{\def\cthesis@bibsys{#1}}
|
||||
\setkeys[ct]{cthesis}{bibsys=bibtex}
|
||||
|
||||
% OPTION bibfile
|
||||
% --> values = file name of your bibtex file
|
||||
\define@key[ct]{cthesis}{bibfile}[bib-refs]{\def\cthesis@bibfile{#1}}
|
||||
\setkeys[ct]{cthesis}{bibfile=bib-refs}
|
||||
|
||||
|
||||
\DeclareOptionX*{
|
||||
\PackageWarning{cleanthesis}{Unknown option ‘\CurrentOption’}%
|
||||
}
|
||||
@@ -304,7 +310,7 @@
|
||||
maxcitenames=2,%
|
||||
mincitenames=1%
|
||||
]{biblatex}
|
||||
\bibliography{bib-refs}
|
||||
\bibliography{\cthesis@bibfile}
|
||||
\DefineBibliographyStrings{ngerman}{%
|
||||
andothers = {{et\,al\adddot}}, % 'et al.' instead of 'u.a.'
|
||||
backrefpage = {{zitiert auf Seite}},%
|
||||
|
@@ -140,6 +140,11 @@ The default (still) is \texttt{bibtex}.
|
||||
|
||||
"\texttt{Biber} [is] a BibTeX replacement for users of BibLaTeX", see \url{http://biblatex-biber.sourceforge.net/}.
|
||||
|
||||
\optitem[bib-refs]{bibfile}{file name of your bibtex file}
|
||||
|
||||
Sets the file name of the bibtex file used for the bibliography.
|
||||
If this option is not used (defined), the package looks for the default bibliography \texttt{bib-refs.bib}.
|
||||
|
||||
\end{optionlist}
|
||||
|
||||
\end{document}
|
||||
|
Reference in New Issue
Block a user