
私は biblatex を使用して、単語だけでなく著者の索引も取得しようとしています。ただし、タイトルは表示したくありません。次の MWE は索引にタイトルを表示します。
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{my.bib}
@article{sanchez16,
title={Use of Damage Rating Index to Quantify Alkali-Silica Reaction Damage in Concrete: Fine versus Coarse Aggregate.},
author={Sanchez, L. and Fournier, B. and Jolin, M. },
journal={ACI Materials Journal},
volume={113},
number={4},
year={2016}
}
\end{filecontents}
\usepackage{makeidx}
\makeindex
\usepackage[style=numeric,natbib=true,backend=bibtex,sorting=nyt,refsegment=section,defernumbers=true,maxnames=4,indexing=cite
]{biblatex}
\addbibresource{my.bib}
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\begin{document}
\citet{sanchez16} have shown
\index{Computer}
\printbibliography
\printindex
\end{document}
答え1
ほとんどの引用コマンドは、索引付けのためにbibmacroを呼び出しますciteindex
。そのマクロの標準的な定義は次のとおりbiblatex.def
です。
\newbibmacro*{citeindex}{%
\ifciteindex
{\indexnames{labelname}%
\indexfield{indextitle}}
{}}
名前のみをインデックス化したい場合は、このマクロを再定義することができます。
\documentclass{article}
\usepackage{makeidx}
\makeindex
\usepackage[style=numeric, natbib=true, backend=bibtex, sorting=nyt,
indexing=cite]{biblatex}
\renewbibmacro*{citeindex}{%
\ifciteindex
{\indexnames{labelname}}
{}}
\addbibresource{biblatex-examples.bib}
\begin{document}
\citet{sigfridsson} have shown
\index{Computer}
\printbibliography
\printindex
\end{document}