I would like to have numeric citation style in my main document, sorted in order and also at the end where the Bibliography is published, have it in Apa style with LastName, Firstname Year printed.
So far I got the numeric and sorting order right, but can't figure out how to get the apa style in the end, can someone help me ? In my tex file I got the following setting:
\usepackage[%
backend=bibtex % biber or bibtex
,citestyle=numeric-comp % numerical-compressed
,sorting=none % no sorting
,sortcites=true % some other example options ...
,block=none
,indexing=false
,citereset=none
,isbn=true
,url=true
,doi=true % prints doi
,natbib=true % if you need natbib functions
]{biblatex}
\addbibresource{\jobname.bib}
By the way, I don't know why but it doesn't show also the last visited on when it's an online ressource. For example here is one entry in my bib file
@misc{wordnet,
title={WordNet: A Lexical Database for English},
url={https://wordnet.princeton.edu/},
urldate={2018-24-02},
author={author not named}
}
Best Answer
You can control the
citestyle
andbibstyle
separately. So it is theoretically possible to havecitestyle=numeric-comp
andbibstyle=apa
.There are a few caveats, though
apa
needs the Biber backend, so you need to switch frombackend=bibtex
tobackend=biber
and need to run Biber instead of BibTeX (Biblatex with Biber: Configuring my editor to avoid undefined citations)The bibliography environment will not be numbered if you only load
bibstyle=apa
, so you also need to loadnumeric.bbx
again. Below this is done withIt is not recommended to mix the highly specialised
biblatex-apa
style with different styles.Then
gives you
Maybe it would be enough for you to combine
numeric-comp
with the standardauthoryear
bibstyle as in Combining style numeric with style authoryear in BibLaTeX. In that case you could continue using BibTeX, even though I would recommend you switch to Biber anyway.The
urldate
issue is caused by a misformatted date: All dates must be given inYYYY-MM-DD
format and so2018-24-02
is not a valid date. The 24 February 2018 is2018-02-24
.