I am struggling to find a way to generate a bibliography in the APA style while using biblatex with backend=bibtex, not biber (otherwise a bunch of other errors show up). I am using TeXstudio. My code is the following:
%\listfiles
\documentclass[a5paper,10.22pt,twoside,openany]{book}
\usepackage[english]{babel}
\usepackage[a5paper,top=1in,bottom=1.25in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{bbold}
\usepackage{upgreek}
\usepackage{csquotes}
\usepackage{booktabs}
\usepackage[backend=bibtex,citestyle=authoryear,maxbibnames=99]{biblatex}
\DeclareUnicodeCharacter{2212}{-}
\addbibresource{Bibliography.bib}
\begin{document}
...........................................................
\chapter*{Bibliography}
\printbibliography[
heading=none,
heading=bibintoc,
heading=subbibliography,
title={Scientific books and papers},
keyword=science
]
\printbibliography[
heading=none,
heading=bibintoc,
heading=subbibliography,
title={Legislative texts},
keyword=law
]
\printbibliography[
heading=none,
heading=bibintoc,
heading=subbibliography ,
title={Official documents and reports},
keyword=report
]
\printbibliography[
heading=none,
heading=bibintoc,
heading=subbibliography ,
title={Websites},
keyword=website
]
\printbibliography[
heading=none,
heading=bibintoc,
heading=subbibliography ,
title={Newspaper articles},
keyword=news
]
\thispagestyle{empty}
\markboth{}{}
\cleardoublepage
\thispagestyle{empty}
\end{document}
Does anybody have any ideas on how to modify it to get an APA bibliography? Thank you very much in advance!!
EDIT: If I configure my editor for biber instead of bibtex as suggested in Biblatex with Biber: Configuring my editor to avoid undefined citations, and I use \usepackage[backend=biber,style=apa,citestyle=authoryear,maxbibnames=99]{biblatex},
what I get when compiling is (here, I am calling "test.tex" my main file):
INFO - This is Biber 2.12
INFO - Logfile is 'test.blg'
INFO - Reading 'test.bcf'
INFO - Found 93 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'Bibliography.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'Bibliography.bib'
FATAL - Caught signal: SEGV
Likely your .bib has a very bad entry which causes libbtparse to crash:
biblatex(as implemented bybiblatex-apa'sstyle=apa,) you must use Biber.biblatex-apawill complain if you try and use BibTeX withbackend=bibtex,as some of its features will not work with BibTeX. What problems did you have with Biber? – moewe Apr 06 '21 at 15:35.blgand.logfiles here. Try a small example document like https://gist.github.com/moewew/3de6d1d34d608cac03ae6b148b3756a4 first (this example should be compilable without any change the.bibfile loaded there is available and will be found automatically on all systems withbiblatex). – moewe Apr 06 '21 at 15:39\addbibresourcecommand requires the file extension, so you must use\addbibresource{Bibliography.bib}. – Alan Munn Apr 06 '21 at 16:42.bibentry. You should not usecitestyle=authoryearwith theapastyle (which is already an author year style). But to diagnose this you will need to either inspect your.bibfile manually looking for e.g. missing commas between fields, etc. or selectively comment out citations to find which entry is failing. – Alan Munn Apr 06 '21 at 17:26.bibfile, so that is where you should look for the error. If you can't share your.bibfile with us, though, we can't really give any more useful hints than: Try binary search (i.e. delete half of your file until you find the problematic entry). – moewe Apr 12 '21 at 20:48