TransWikia.com

Author's name does not appear in the bibliography with rusnat style

TeX - LaTeX Asked by Anne-Laure on November 20, 2020

I am quite new to LaTex, so no offense if I don’t understand everything 🙂

Until now, all references are working perfectly. I use citep and bibliographystyle{rusnat}. However, for one reference, LaTex do the compilation, citation in the text is correct, but author’s name does not appear in the bibliography.

Here is my bib file:

    @article{grimonprez_bien-etre_2019,
    title = {Le bien-{^e}tre des animaux d{textquoteright}{'e}levage : mythe ou r{'e}alit{'e} juridique ?},
    language = {fr},
    author = {Grimonprez, Beno{^i}t},
    year = {2019},
    pages = {14},
    file = {Grimonprez - Le bien-{^e}tre des animaux d{textquoteright}{'e}levage  mythe ou r{'e}al.pdf:C:UsersAnne-Laure MathyZoterostorageHFRB6MYTGrimonprez - Le bien-{^e}tre des animaux d{textquoteright}{'e}levage  mythe ou r{'e}al.pdf:application/pdf}}

@book{muller_a_2008,
    address = {Paris; Versailles},
    title = {{'A} l'abattoir: travail et relations professionnelles face au risque sanitaire},
    isbn = {978-2-7351-1170-1 978-2-7592-0051-1},
    shorttitle = {{'A} l'abattoir},
    language = {French},
    publisher = {{'E}ditions de la Maison des sciences de l'homme ; {'E}ditions Quae},
    author = {Muller, S{'e}verin},
    year = {2008},
    note = {OCLC: 262718567}
}

Here is my LaTex file (part of it).

documentclass{book}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage[francais]{babel}
usepackage{lmodern}
usepackage{graphicx}
usepackage{amsthm}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mathrsfs}
usepackage{color}
usepackage{colortbl}
usepackage{url}
usepackage{array}
usepackage{supertabular}
usepackage{lscape}
usepackage{longtable}
usepackage{natbib}

definecolor{gris1}{gray}{0.4}

title{yyyyyy}
author{textsc{kkkk}}
date{today}

begin{document}
maketitle

frontmatter
tableofcontents

chapter{Introduction}


mainmatter
part{Revue de la littérature}
chapter{chap1}

L'intérêt pour l'activité d'abattage a été étudié à plusieurs reprises en sciences sociales. Toutefois, la condition animale en elle-même y est très peu abordée, sans doute parce que les acteurs de terrain eux-mêmes la considère comme un non-sujet citep{muller_a_2008}, mais aussi car l'objet d'une telle recherche est souvent accueilli, tout au plus. L'animal constitue donc un objet de travail doublement particulier, à la fois pour l'ouvrier, qui n'opère pas sur une chose inanimée mais également pour le chercheur, qui doit proposer une place nouvelle à l'animal dans son champ de recherche citep{grimonprez_bien-etre_2019}.

bibliographystyle{rusnat}
setcitestyle{authoryear, open={(},close={)}}
bibliography{bibli}
addcontentsline{toc}{chapter}{Bibliographie}
end{document}
bibliographystyle{rusnat}
setcitestyle{authoryear, open={(},close={)}}
bibliography{bibli}

As I said, it worked successfully for previous references. Is there some information missing in the bibfile for this type of bibliography style?

The error I got from LaTex is: While executing – line 884 – rusnat.bst

Thank you in advance for your help 🙂

One Answer

Too long for a comment, but here is a MWE of using biblatex. Note that this requites a recent latex installation because of the [overwrite] option to the filecontents env.

documentclass[a4paper]{article}

usepackage[french]{babel}

begin{filecontents}[overwrite]{jobname-refs.bib}
@article{grimonprez_bien-etre_2019,
title = {Le bien-{^e}tre des animaux d{textquoteright}{'e}levage : mythe ou r{'e}alit{'e} juridique ?},
language = {fr},
author = {Grimonprez, Beno{^i}t},
year = {2019},
pages = {14},
volume={1},
}
end{filecontents}

usepackage{csquotes}

usepackage[natbib,style=authoryear]{biblatex}

addbibresource{jobname-refs.bib}

begin{document}

section{blablabla}
my text citep{grimonprez_bien-etre_2019}.

printbibliography


end{document}

enter image description here

Answered by daleif on November 20, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP