在一个图书项目中,当引用已引用的作品时,我想从脚注中的引文中删除“参见注释...”字段。我的引文风格verbose-inote
引用了这些情况:作者。(短)标题,参见。n. XX。我想删除“参见 n. XX”。参见 MWE。
我该怎么做?我试过了,但没有成功:
\renewbibmacro*{cite:seenote}{}
按照biblatex-dw
样式建议的。但是这个宏没有在中定义verbose-inote
。
仅仅切换到另一种风格不是一个选择,因为它非常接近我的需求,我已经进行了大量定制,verbose-inote
而且这本书已经接近准备好印刷了。
梅威瑟:
\documentclass{book}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{AB,
author = {Author Beta},
title = {Title},
shortjournal = {ABC},
journal ={AllButCrash},
pages = {1-23},
year={2009}}
@ARTICLE{AB2,
author = {Author Beta},
title = {Title2},
shortjournal = {No ABC},
journal ={Not AllButCrash},
pages = {1-42},
year={2019}}
@ARTICLE{CD,
author = {Changed Director},
title = {Title},
journal ={Boring Texts},
pages = {23-42},
year={2019}}
\end{filecontents}
\usepackage[backend=biber,style=verbose-inote,sorting=nyt,bibencoding=utf8,citereset=chapter,citepages=separate,refsection=none,autocite=footnote,isbn=false,doi=false,url=false,eprint=false,date=short]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
A reference here.\footcite{AB,AB2} See also.\footcite{CD} However, second quote should be shortened but without "`See note"'.\footcite{AB} Equally.\footcites{AB2}[and][]{CD}
\end{document}
答案1
“参见注释”位直接编码到footcite:note
bibmacro 中(verbose-inote.cbx
,第 165-183 页),要删除它,我们只需删除宏的最后一位。
\documentclass{book}
\usepackage[backend=biber,
style=verbose-inote,
sorting=nyt,
refsection=none,
citereset=chapter,
autocite=footnote,
isbn=false, doi=false, url=false, eprint=false,
date=short,
citepages=separate,]{biblatex}
\renewbibmacro*{footcite:note}{%
\ifnameundef{labelname}
{\printfield{label}}
{\printnames{labelname}}%
\ifsingletitle
{}
{\setunit*{\printdelim{nametitledelim}}%
\printfield[title]{labeltitle}}}
\addbibresource{biblatex-examples.bib}
\begin{document}
A reference here.\footcite{sigfridsson,worman}
See also.\footcite{nussbaum}
However, second quote should be shortened but without "`See note"'.\footcite{sigfridsson}
Equally.\footcites{worman}[and][]{nussbaum}
\end{document}
请注意,我发现使用sorting=nyt,
是style=verbose-inote,
有问题的,因为该作品主要引用作者和标题,因此按名称-标题-年份(默认sorting=nty,
)排序会更自然。