如何使用 biblatex 避免问号后出现点?

如何使用 biblatex 避免问号后出现点?

使用下面定义的宏,我在问号后面\DeclareFieldFormat[article]{title}{\mkbibemph{#1.\isdot}\addspace} 得到了一个点。是否可以将点设为默认值,但在句子末尾使用问号来避免出现该问题?.?

输出

%%
\documentclass{scrartcl}
\usepackage{biblatex}
\begin{filecontents}[overwrite]{testbib.bib}  
@article{kahle:2018,
    author = {Reinhard Kahle and Isabel Oitavem},
    journal = {Kairos. Journal of Philosophy \& Science},
    number = {1},
    pages = {1--11},
    title = {What is Hilbert's 24th Problem?},
    volume = {20},
    year = {2018}}
%
@book{querenburg,
    author = {Boto von Querenburg},
    publisher = {Springer},
    title = {Mengentheoretische Topologie},
    year = {2000}}
\end{filecontents}   
%%
\addbibresource{testbib.bib}
%%
\DeclareFieldFormat[article]{title}{\mkbibemph{#1.\isdot}\addspace}
%%
\begin{document}
\nocite{*}
\printbibliography
\end{document}

答案1

biblatex自动执行此操作。

它不会为您执行此操作,因为您在title格式中放了一个点。

你的格式应该是:

\DeclareFieldFormat[article]{title}{\mkbibemph{#1}}

平均能量损失

\documentclass{scrartcl}
\usepackage{biblatex}
\begin{filecontents}[overwrite]{testbib.bib}  
@article{kahle:2018,
    author = {Reinhard Kahle and Isabel Oitavem},
    journal = {Kairos. Journal of Philosophy \& Science},
    number = {1},
    pages = {1--11},
    title = {What is Hilbert's 24th Problem?},
    volume = {20},
    year = {2018}}
@book{querenburg,
    author = {Boto von Querenburg},
    publisher = {Springer},
    title = {Mengentheoretische Topologie},
    year = {2000}}
@article{volterra:1981,
    author = {Volterra, V.},
    journal = {Battaglini G.},
    pages = {76--87},
    title = {Some observation on pointwise discontinuous functions},
    volume = {19},
    year = {1881}}
\end{filecontents}   
\addbibresource{testbib.bib}
\DeclareFieldFormat[article]{title}{\mkbibemph{#1}}
\begin{document}
\nocite{*}
\printbibliography
\end{document}

输出

相关内容