Внутритекстовое цитирование не работает

Внутритекстовое цитирование не работает

Рассмотрим MWE ниже.

Все цитаты работают, кроме england2002. Он возвращает толькоанглия2002но нет цитат. Как это можно решить?

\documentclass[a4paper,12pt]{report}
\usepackage[backend=biber, natbib=true, style=authoryear, uniquename=false]   {biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{renshaw1998,
title={A stochastic model underlying the chain-ladder technique},
author={Renshaw, Arthur E and Verrall, Richard J},
journal={British Actuarial Journal},
volume={4},
number={04},
pages={903--923},
year={1998},
publisher={Cambridge Univ Press}
}

@article{england2002,
title={Stochastic claims reserving in general insurance},
author={England, Peter D and Verrall, Richard J},
journal={British Actuarial Journal},
volume={8},
number={03},
pages={443--518},
year={2002},
publisher={Cambridge Univ Press}
}

@book{efron1994,
title={An introduction to the bootstrap},
author={Efron, Bradley and Tibshirani, Robert J},
year={1994},
publisher={CRC press}
}
\end{filecontents}

\begin{document}[a4paper,12pt]

I cite  \citet{renshaw1998} and \citet{england2002} and \citet{efron1994}
\end{document}

решение1

Вот рабочий пример вашего кода с некоторыми исправлениями.

\documentclass[a4paper,12pt]{report}
%!!! changed, use of biblatex moved after filecontents
\usepackage{filecontents}
\begin{filecontents}{bib}    %!!! changed, jobname removed
@article{renshaw1998,
title={A stochastic model underlying the chain-ladder technique},
author={Renshaw, Arthur E and Verrall, Richard J},
journal={British Actuarial Journal},
volume={4},
number={04},
pages={903--923},
year={1998},
publisher={Cambridge Univ Press}
}

@article{england2002,
title={Stochastic claims reserving in general insurance},
author={England, Peter D and Verrall, Richard J},
journal={British Actuarial Journal},
volume={8},
number={03},
pages={443--518},
year={2002},
publisher={Cambridge Univ Press}
}

@book{efron1994,
title={An introduction to the bootstrap},
author={Efron, Bradley and Tibshirani, Robert J},
year={1994},
publisher={CRC press}
}
\end{filecontents}
\usepackage[style=alphabetic,citestyle=alphabetic,backend=biber,backref=true]{biblatex}    %!!! changed and moved here
\addbibresource{bib}    %!!! new, declearation inserted
\DeclareFieldFormat[inbook]{citetitle}{#1}    %!!! new, optional
\DeclareFieldFormat[inbook]{title}{#1}    %!!! new, optional

\begin{document}    %!!! changed, declarion already handled in documentclass

I cite \cite{renshaw1998} and \cite{england2002} and \cite{efron1994}        %!!! changed

% bibliography    %!!! new, optional
\printbibliography    %!!! new, optional
\end{document} 

См. также вНа обороте. Ссылка на Overleaf — онлайн-среду TeX — может оказаться полезной для воспроизведения MWE.

Связанный контент