使用 biblatex 超链接到特定的 \printbibliography

使用 biblatex 超链接到特定的 \printbibliography

在我的论文中,我必须在文档开头列出它所基于的论文。所以我有这样的陈述

\printbibliography[keyword=own,heading=none]

在第一页中,关键字“own”选择了我的论文。然后,在最后我打印了完整的参考书目(也包括我自己的论文):

\printbibliography[heading=none]

但是,现在每次我\cite转到自己的一篇论文时,创建的链接都会链接到第一个参考书目。因此,如果我单击正文中的引文,我会跳转到最前面。我使用 biblatex、biber 和 hyperref。有没有办法打印(部分)参考书目而不注册链接密钥?

编辑:一个例子

\documentclass{book}

\usepackage[backend=biber,style=alphabetic,safeinputenc]{biblatex}
\usepackage{hyperref}

\begin{filecontents}{local.bib}
    @unpublished{myown,
        Author = {Joran},
        Title = {My own paper},
        keywords = {own}
    }
    @unpublished{notmyown,
        Author = {Someone},
        Title = {This is not my own paper},
    }
\end{filecontents}

\addbibresource{local.bib}

\begin{document}
\printbibliography[keyword=own,heading=none]
\clearpage
\noindent An example of my own paper: \cite{myown}\\
An example of another paper: \cite{notmyown}
\clearpage
\printbibliography[heading=none]
\end{document}

答案1

我认为目前还没有官方界面。但您可以在本地抑制锚点的创建,然后 biblatex 将在主参考书目中创建它们:

\documentclass{book}

\usepackage[backend=biber,style=alphabetic,safeinputenc]{biblatex}
\usepackage{hyperref}

\begin{filecontents}{local.bib}
    @unpublished{myown,
        Author = {Joran},
        Title = {My own paper},
        keywords = {own}
    }
    @unpublished{notmyown,
        Author = {Someone},
        Title = {This is not my own paper},
    }
\end{filecontents}

\addbibresource{local.bib}

\begin{document}
\begingroup
\makeatletter\def\blx@anchor{}
\printbibliography[keyword=own,heading=none]
\endgroup
\clearpage
\noindent An example of my own paper: \cite{myown}\\
An example of another paper: \cite{notmyown}
\clearpage
\printbibliography[heading=none]
\end{document}

相关内容