Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 2
mineure

29 Sep '17, 00:57

Pathe's gravatar image

Pathe
7.5k49208252

Comment indexer automatiquement un auteur dans une footnote ?note en bas de page ?

Je cherche à créer un index des auteurs dans ma thèse. Malheureusement, quand un auteur est cité dans une footnote, note en bas de page, il n'est présent dans l'index. Ainsi : Ainsi : comment ajouter automatiquement un auteur présent dans une footnote note en bas de page dans notre index ? index ? Voici un MWE ECM qui illustre le problème : problème : \documentclass[a4paper,french]{article} \begin{filecontents}{bib.bib} @article{Foo2035, author = {Foop, Beck}, journal = {Journal}, year = {2010}, title = {Title}, doi = {doi}, } @article{Foo2034, author = {Foot, Lise}, journal = {Journal}, year = {2010}, title = {Title}, doi = {doi}, } }\end{filecontents} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{libertine} \usepackage{textcomp} \usepackage[backend=biber, style=apa, indexing=cite, sortlocale=fr_FR, maxnames=15, ]{biblatex} \DeclareLanguageMapping{french}{french-apa}%La bibliographie est en APA français \usepackage{apalike}%La bibliographie est en APA \DefineBibliographyExtras{french}{\restorecommand\mkbibnamelast}% La bibliographie est en français \addbibresource{bib.bib} \DeclareUnicodeCharacter{00A0}{ } \usepackage[babel=true]{csquotes} \usepackage[makeindex]{splitidx} \renewbibmacro*{citeindex}{% \ifboolexpr{ test {\ifciteindex} and not test {\iffootnote} } {\indexnames{author}}{}}\makeindex \usepackage{babel} \begin{document} \cite{Foo2035} pensait aux oiseaux quand il écrivait son livre\footnote{Comme le disait \textcite{Foo2034} les oiseaux sont importants.} \printbibliography \printindex \end{document} Dans l'exemple suivant Beck Foop est indexé, mais pas Lise Foot.
cliquez ici pour masquer/afficher la révision 1

28 Sep '17, 14:33

florentgio's gravatar image

florentgio
147511

Comment indexer automatiquement un auteur dans une footnote ?

Je cherche à créer un index des auteurs dans ma thèse. Malheureusement, quand un auteur est cité dans une footnote, il n'est présent dans l'index. Ainsi : comment ajouter automatiquement un auteur présent dans une footnote dans notre index ? Voici un MWE qui illustre le problème : \documentclass[a4paper,french]{article} \begin{filecontents}{bib.bib} @article{Foo2035, author = {Foop, Beck}, journal = {Journal}, year = {2010}, title = {Title}, doi = {doi}, } @article{Foo2034, author = {Foot, Lise}, journal = {Journal}, year = {2010}, title = {Title}, doi = {doi}, } }\end{filecontents} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{libertine} \usepackage{textcomp} \usepackage[backend=biber, style=apa, indexing=cite, sortlocale=fr_FR, maxnames=15, ]{biblatex} \DeclareLanguageMapping{french}{french-apa}%La bibliographie est en APA français \usepackage{apalike}%La bibliographie est en APA \DefineBibliographyExtras{french}{\restorecommand\mkbibnamelast}% La bibliographie est en français \addbibresource{bib.bib} \DeclareUnicodeCharacter{00A0}{ } \usepackage[babel=true]{csquotes} \usepackage[makeindex]{splitidx} \renewbibmacro*{citeindex}{% \ifboolexpr{ test {\ifciteindex} and not test {\iffootnote} } {\indexnames{author}}{}}\makeindex \usepackage{babel} \begin{document} \cite{Foo2035} pensait aux oiseaux quand il écrivait son livre\footnote{Comme le disait \textcite{Foo2034} les oiseaux sont importants.} \printbibliography \printindex \end{document} Dans l'exemple suivant Beck Foop est indexé, mais pas Lise Foot.

C'est votre première visite ici ? Consultez la FAQ !

×