如何在 biblatex 中自定义 postnotes 以便在每个标签后添加页码?

如何在 biblatex 中自定义 postnotes 以便在每个标签后添加页码?

当我尝试使用命令prenotepostnote选项\cite进行多次引用时,我得到以下结果

在此处输入图片描述

但是我想得到以下结果

[参见 Ker18,第 11 页;KÇC20,第 11 页;TW15,第 1961 页]

我想要的另一个变体是

[参见 Ker18;KÇC20;TW15;第 11、11 页,1961 年]

此外,似乎multipostnotedelim命令不会将其更改为分号\renewcommand*{\multipostnotedelim}{\addsemicolon\space}

我的MWE

\begin{filecontents*}{sample.bib}
@book{kerr2018introduction,
    title={Introduction to Energy and Climate - Developing a Sustainable Environment},
    author={Julie Kerr},
    edition={1},
    year={2018},
    publisher={CRC Press}
}
@book{kanoğlu2010fundamentals,
    title={Fundamentals and Applications of Renewable Energy},
    author={Kanoğlu, Mehmet and Çengel, Yunus and Cimbala, John},
    edition={1},
    year={2020},
    publisher={McGraw Hill}
}
@book{twidell2015renewable,
    title={Renewable Energy Resources},
    author={Twidell, John and Weir, Tony},
    edition={3},
    year={2015},
    publisher={Routledge}
}
\end{filecontents*}

\documentclass{book}

\usepackage[style=alphabetic, sorting=ydnt]{biblatex}
\addbibresource{sample.bib}

%\renewcommand*{\postnotedelim}{\addsemicolon\space}
\renewcommand*{\multipostnotedelim}{\addsemicolon\space}

\begin{document}
    
    \cite[see][11, 11, 1961]{kerr2018introduction,kanoğlu2010fundamentals,twidell2015renewable}
    
    \nocite{*}
    \printbibliography[heading=subbibliography]
    
\end{document}

答案1

为此,biblatex有“合格的引文列表”,它们是常规引文命令的变体,带有“s”,并接收多个引文键,带有单独的前/后注和全局前/后注(在括号中)。因此,对于您询问的两种情况,您可以使用:

\cites(see)()[11]{kerr2018introduction}[11]{kanoğlu2010fundamentals}[1961]{twidell2015renewable}

\cites(see)(11, 11, 1961){kerr2018introduction}{kanoğlu2010fundamentals}{twidell2015renewable}

在全:

\begin{filecontents*}{\jobname.bib}
@book{kerr2018introduction,
    title={Introduction to Energy and Climate - Developing a Sustainable Environment},
    author={Julie Kerr},
    edition={1},
    year={2018},
    publisher={CRC Press}
}
@book{kanoğlu2010fundamentals,
    title={Fundamentals and Applications of Renewable Energy},
    author={Kanoğlu, Mehmet and Çengel, Yunus and Cimbala, John},
    edition={1},
    year={2020},
    publisher={McGraw Hill}
}
@book{twidell2015renewable,
    title={Renewable Energy Resources},
    author={Twidell, John and Weir, Tony},
    edition={3},
    year={2015},
    publisher={Routledge}
}
\end{filecontents*}

\documentclass{book}

\usepackage[style=alphabetic, sorting=ydnt]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}

\cites(see)()[11]{kerr2018introduction}[11]{kanoğlu2010fundamentals}[1961]{twidell2015renewable}

\cites(see)(11, 11, 1961){kerr2018introduction}{kanoğlu2010fundamentals}{twidell2015renewable}

\nocite{*}
\printbibliography[heading=subbibliography]

\end{document}

在此处输入图片描述

相关内容