我在 biblatex 条目中使用shorthand = {Text}
简写来更改内联引用。但是,简写也会更改参考书目条目。我如何告诉 biblatex 不要在参考书目条目中使用简写,而是使用作者条目?这个帖子定义一个命令,用于从参考书目中彻底删除该条目。我想我的情况是对其进行了轻微修改,但我不知道该如何进行。我的 MWE:
\documentclass[11pt]{article}
\usepackage{filecontents,xcolor}
\usepackage[colorlinks=true,linkcolor=blue, citecolor=blue]{hyperref}
\usepackage[style=authoryear-comp,url=false,isbn=false,maxcitenames=3,maxbibnames=99,backend=bibtex]{biblatex}
\begin{filecontents}{bib.bib}
@book{OECD08,
title={Growing Unequal?: Income Distribution and Poverty in OECD Countries},
author={OECD},
year={2008},
publisher={OECD Publishing, Paris}
}
@book{OECD08b,
title={Growing Unequal?: Income Distribution and Poverty in OECD Countries},
shorthand = {2008}
author={OECD},
year={2008},
publisher={OECD Publishing, Paris}
}
\end{filecontents}
\addbibresource{bib.bib}
\begin{document}
I want the result to be like this:\\
\begin{quote}
This topic has been addressed by the OECD in numerous reports, including Growing Unequal (\textcolor{blue}{2008}).
\end{quote}
My workaround using the shorthand in bibliography item "OECD08b" looks like this:\\
\begin{quote}
This topic has been addressed by the OECD in numerous reports, including Growing Unequal (\textcite{OECD08b}).\\
\end{quote}
The problem, is that the bibliography changes too. I want it to look like a normal reference. Compare them below. \nocite{OECD08}
\printbibliography
\end{document}
输出:
答案1
最严重的问题是 后面缺少一个逗号shorthand = {2008}
。BibTeXOECD08b
跳过了条目的其余部分,无法读取author
。在条目中添加逗号后,条目看起来与预期一致。
@book{OECD08b,
title = {Growing Unequal?: Income Distribution and Poverty in OECD Countries},
shorthand = {2008},
author = {OECD},
year = {2008},
publisher = {OECD Publishing, Paris}
}
通常情况下,ashorthand
不会影响参考书目中的输出。在许多情况下,它甚至没有被提及。这就是为什么人们通常会打印一个带有 的简写列表来\printshorthands
解析简写。
但是,我不会像 那样(滥用)速记shorthand = {2008}
。速记应该是作品的简短、令人难忘且相当自然的缩写/称呼。我认为它受到德语的影响很大“西格尔”,很好的例子是临界值康德的《实践批判》(特别是如果你在写关于康德的文章,并提到他的许多作品)或根摩西第一书。
由于您使用的是作者-年份引用格式,因此我认为对于某些采用标题-年份格式的条目,偏离此格式非常不自然。这会使引用在最后的参考书目中更难找到。
我会选择
This topic has been addressed by the OECD in numerous reports,
including \citetitle{OECD08} \parencite{OECD08}.
或者
This topic has been addressed by the OECD in numerous reports,
including \citetitle{OECD08} \parencite*{OECD08}.
如果你想明确提及标题。如果标题不是那么重要,你甚至可以选择
This topic has been addressed by the OECD in numerous reports,
including \cite{OECD08}.
但对我来说这感觉有点奇怪。
带星号的引用命令版本不会打印作者姓名,如果您不想重复姓名,则它很有用,因为您已经在同一个句子的显眼位置提到过它。
\documentclass[11pt]{article}
\usepackage{filecontents,xcolor}
\usepackage[colorlinks=true,linkcolor=blue, citecolor=blue]{hyperref}
\usepackage[style=authoryear-comp, url=false, isbn=false, maxcitenames=3 ,maxbibnames=999, backend=biber]{biblatex}
\begin{filecontents}{bib.bib}
@book{OECD08,
title = {Growing Unequal?},
subtitle = {Income Distribution and Poverty in OECD Countries},
author = {OECD},
year = {2008},
publisher = {OECD Publishing, Paris}
}
@book{OECD08b,
title = {Growing Unequal?: Income Distribution and Poverty in OECD Countries},
shorthand = {2008},
author = {OECD},
year = {2008},
publisher = {OECD Publishing, Paris}
}
\end{filecontents}
\addbibresource{bib.bib}
\begin{document}
This topic has been addressed by the OECD in numerous reports,
including \citetitle{OECD08} \parencite{OECD08}.
This topic has been addressed by the OECD in numerous reports,
including \citetitle{OECD08} \parencite*{OECD08}.
\printbibliography
\newrefsection
\nocite{OECD08b}
\printbibliography
\end{document}