Estou usando o Biblatex mas ao compilar o documento, recebi o erro
Sequência de controle indefinida. \end Atualizei todos os pacotes no MikTeX mas nada mudou. Alterei as configurações de Biber para Bibtex mas depois gera erros diferentes e pede para usar o biber. Estou usando um arquivo bibtex gerado por mendley para referência.
Um exemplo mínimo de trabalho é fornecido abaixo:
\documentclass[USenglish,12pt,a4paper]{article}
\usepackage{microtype}
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{float}
\usepackage{url}\usepackage{microtype}
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{float}
\usepackage{url}
\usepackage[backend=biber,style=apa,citestyle=authoryear,
bibstyle=apa,natbib=true]
{biblatex}
\addbibresource{library.bib}
\begin{document}
\section{Introduction}
The section is introduced by \cite{BCBS2016}. This section provides the necessary details of introduction \citep{}.
\printbibliography
\end{document}
Duas entradas fornecidas no arquivo bib são colocadas aqui:
@techreport{BCBS2016,
address = {Basel},
author = {BCBS},
booktitle = {Basel III Document},
institution = {Basel Committee on Banking Supervision},
isbn = {9291313734},
number = {July},
publisher = {Bank for International Settlements},
title = {{Revision to the secuitisation framework}},
url = {http://www.bis.org/bcbs/publ/d374.pdf},
year = {2016}
}
@article{Chiesa2008,
author = {Chiesa, Gabriella},
doi = {10.1016/j.jfi.2008.07.003},
file = {:C$\backslash$:/Users/Ahmed Arif/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Chiesa - 2008 - Optimal credit risk transfer, monitored finance, and banks.pdf:pdf},
isbn = {1042-9573},
issn = {10429573},
journal = {Journal of Financial Intermediation},
keywords = {Credit risk transfer,Monitoring incentives,Prudential regulation},
number = {4},
pages = {464--477},
title = {{Optimal credit risk transfer, monitored finance, and banks}},
volume = {17},
year = {2008}
}
Responder1
Você está esquecendo de carregar babel
. E a linguagem deve ser chamada american
.
\begin{filecontents*}{\jobname.bib}
@techreport{BCBS2016,
address = {Basel},
author = {BCBS},
booktitle = {Basel III Document},
institution = {Basel Committee on Banking Supervision},
isbn = {9291313734},
number = {July},
publisher = {Bank for International Settlements},
title = {{Revision to the secuitisation framework}},
url = {http://www.bis.org/bcbs/publ/d374.pdf},
year = {2016}
}
@article{Chiesa2008,
author = {Chiesa, Gabriella},
doi = {10.1016/j.jfi.2008.07.003},
file = {:C$\backslash$:/Users/Ahmed Arif/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Chiesa - 2008 - Optimal credit risk transfer, monitored finance, and banks.pdf:pdf},
isbn = {1042-9573},
issn = {10429573},
journal = {Journal of Financial Intermediation},
keywords = {Credit risk transfer,Monitoring incentives,Prudential regulation},
number = {4},
pages = {464--477},
title = {{Optimal credit risk transfer, monitored finance, and banks}},
volume = {17},
year = {2008}
}
\end{filecontents*}
\documentclass[american,12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{amsmath}
\usepackage{microtype}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{url}
\usepackage[
backend=biber,
style=apa,
citestyle=authoryear,
bibstyle=apa,
natbib=true
]{biblatex}
\addbibresource{\jobname.bib}
\DeclareLanguageMapping{american}{american-apa}
\begin{document}
\section{Introduction}
The section is introduced by \cite{BCBS2016}. This section provides the
necessary details of introduction \citep{Chiesa2008}.
\printbibliography
\end{document}
Notas
Eu costumava filecontents*
não destruir meus arquivos e dar um exemplo independente. Use seu próprio library.bib
arquivo para o seu documento.
Removi os pacotes que você carregou duas vezes e reorganizei um pouco o preâmbulo.