我正在使用biblatex
来撰写我的论文,它通常运行良好。现在我想将引用放回到我的参考书目中。但是,在将选项放入序言后,反向引用仅出现在正常参考书目中,而不会出现在速记列表中。有人知道如何制作包括反向引用的速记列表吗?这是一个小例子(用 编译lualatex
,但我认为结果与 相同latex
):
\documentclass{memoir}
\usepackage{filecontents}
\begin{filecontents*}{mybib.bib}
@book{Abook,
author = {First Author and The Second Author},
title = {The Longtitle and not the Shorttitle},
shorthand = {LnS},
publisher = {The Publisher},
address = {Address},
year = {1965}}
@article{Aarticle,
author = {Article Author},
journal = {Journal Title},
pages = {113-126},
title = {Title of the Article},
volume = {65},
year = {1968}}
\end{filecontents*}
\usepackage[hidelinks]{hyperref}
\usepackage[style=philosophy-modern,backref=true,hyperref=true,language=auto,autocite=inline]{biblatex}
\defbibcheck{noshorthand}{%
\iffieldundef{shorthand}{}{\skipentry}}
\bibliography{mybib}
\bibintoc
\usepackage[ngerman,english]{babel}%english names of sections
\usepackage[babel,english=british]{csquotes}
\begin{document}
Backreference?
\cite{Abook}
\cite{Aarticle}
\printshorthands
\printbibliography[check=noshorthand]
\end{document}
结果:
答案1
修改shorthands
书目驱动程序似乎可以解决问题。
\documentclass{memoir}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{Abook,
author = {First Author and The Second Author},
title = {The Longtitle and not the Shorttitle},
shorthand = {LnS},
publisher = {The Publisher},
address = {Address},
year = {1965}}
@article{Aarticle,
author = {Article Author},
journal = {Journal Title},
pages = {113-126},
title = {Title of the Article},
volume = {65},
year = {1968}}
\end{filecontents*}
\usepackage[hidelinks]{hyperref}
\usepackage[style=philosophy-modern,backref=true,hyperref=true,language=auto,autocite=inline]{biblatex}
\defbibcheck{noshorthand}{%
\iffieldundef{shorthand}{}{\skipentry}}
\addbibresource{\jobname.bib}
\bibintoc
\usepackage[ngerman,english]{babel}%english names of sections
\usepackage[babel,english=british]{csquotes}
\DeclareBibliographyDriver{shorthands}{%
\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}%
\setunit{\bibpagerefpunct}\newblock% NEW
\usebibmacro{pageref}% NEW
\finentry}
\begin{document}
Backreference?
\cite{Abook}
\cite{Aarticle}
\printshorthands
\printbibliography[check=noshorthand]
\end{document}