之前已经问过几次了,但是根据biblatex-chicago
第 178 页的手册,这个问题应该在 2018 年 1 月的 1.0rc5 中修复(至少对于书籍的字幕而言)。
incollection
我的问题是,在and类型中,问号后面仍然会出现逗号article
。
我看见此解决方案这可能有效,但我希望也许我的加载方式有问题biblatex-chicago
,我可以轻松修复。
这是我的 MWE:
\documentclass[letterpaper,12pt]{report}
\usepackage{polyglossia}
\setmainlanguage[variant=us]{english}
\usepackage[english=american]{csquotes}
\usepackage[noibid,backend=biber,notes,isbn=false,shorthandfull,shorthandfirst,inheritshorthand=true,citereset=chapter,longcrossref=bib]{biblatex-chicago}
\usepackage{filecontents}
\begin{filecontents}{temp.bib}
@collection{bigbook,
editor = {John Q. Editormann},
title = {A Collection of Essays},
publisher = {Oxford University Press},
address = {Oxford},
year = {1995}}
@incollection{incol,
crossref = {bigbook},
author = {Steve Authormann},
title = {Where is the Comma?},
pages = {1-15}}
@article{art1,
author = {Mark Articlemann},
title = {Is there a Comma?},
journal = {Journal of Grammar Questions},
volume = {2},
issue = {3},
year = {1995},
pages = {16-30}}
\end{filecontents}
\addbibresource{temp.bib}
\begin{document}
I need to reference this in a footnote.\footcite[12]{incol} But this is
another footnote.\footcite[18]{art1}
\clearpage
\printbibliography
\end{document}
脚注如下:
标题中的问号后面不应该有逗号。删除它们的最佳方法是什么?
我继续展示了我目前正在使用的所有选项,biblatex-chicago
尽管它们对于这个 MWE 来说不是必需的。
提前致谢!
答案1
通过 ,\DeclarePunctuationPairs{<identifier>}{<characters>}
您可以判断biblatex
哪个<characters>
标点符号<identifier>
是允许的。所有其他标点符号<identifier>
均被禁止。(当然,只有当所有标点符号都使用 的标点符号命令排版时,这才能正常工作。但在和其他精心编写的样式biblatex
中就是这种情况。)biblatex-chicago
biblatex
biblatex
逗号的默认设置是
\DeclarePunctuationPairs{comma}{*!?}
允许在缩写点后以及感叹号和问号后使用逗号。
本地化american
模块问题\uspunctuation
,设置
\DeclarePunctuationPairs{comma}{*}
仅允许在缩写点后使用逗号,而在所有其他情况下则禁止使用逗号。
但随后biblatex-chicago
明确推翻了这一决定(例如chicago-notes.cbx
,2020/04/20 v 3.14)
% American-specific punctuation change for 16th edition %
\DefineBibliographyExtras{american}{%
\DeclarePunctuationPairs{comma}{*!?}}
并再次允许在“!”和“?”后使用逗号。
您可以按如下方式覆盖
\documentclass[letterpaper,12pt]{article}
\usepackage{polyglossia}
\setmainlanguage[variant=us]{english}
\usepackage[english=american]{csquotes}
\usepackage[backend=biber,notes,
noibid,
% citereset=chapter,
shorthandfull,shorthandfirst,inheritshorthand=true,
longcrossref=bib,
isbn=false,
]{biblatex-chicago}
\DefineBibliographyExtras{american}{\DeclarePunctuationPairs{comma}{*}}
\begin{filecontents}{\jobname.bib}
@collection{bigbook,
editor = {John Q. Editormann},
title = {A Collection of Essays},
publisher = {Oxford University Press},
address = {Oxford},
year = {1995},
}
@incollection{incol,
crossref = {bigbook},
author = {Steve Authormann},
title = {Where is the Comma?},
pages = {1-15},
}
@article{art1,
author = {Mark Articlemann},
title = {Is there a Comma?},
journal = {Journal of Grammar Questions},
volume = {2},
issue = {3},
year = {1995},
pages = {16-30},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
I need to reference this in a footnote.\footcite[12]{incol} But this is
another footnote.\footcite[18]{art1}
\printbibliography
\end{document}