Biblatex - 删除引用范围内的额外间距

Biblatex - 删除引用范围内的额外间距

我正在使用biblatex-gost带有gost-numeric样式的包。以下是 MWE:

\documentclass[12pt,a4paper]{article}
\begin{filecontents}{\jobname.bib}
@book{halanay,
    langid = {english},
    title = {Differential Equations Stability, Oscillations, Time Lags},
    author = {A. Halanay},
    location = {New York--London},
    publisher = {Acad. Press},
    year = {1968},
    pagetotal = {568},
}
@book{lakshmikantham,
    langid = {english},
    title = {Theory of Integro-Differential Equations},
    author = {V. Lakshmikantham and M. R. M. Rao},
    location = {London},
    publisher = {Gordon and Breach},
    year = {1995},
    pagetotal = {384},
}
@book{hartman,
    langid = {english},
    title = {Ordinary Differential Equations},
    author = {P. Hartman},
    location = {Philadelphia},
    publisher = {Society for Industrial and Applied Mathematics},
    year = {2002},
    pagetotal = {612},
}
\end{filecontents}       
\usepackage[T2A]{fontenc}       
\usepackage[utf8]{inputenc}         
\usepackage[english,ukrainian]{babel} 
\usepackage[backend=biber,bibencoding=utf8,maxbibnames=999,style=gost-numeric,language=auto,autolang=other]{biblatex}
\addbibresource{\jobname.bib}

\toggletrue{bbx:gostbibliography}
\usepackage[autostyle]{csquotes}

\begin{document}

This was investigated in \cite{halanay,lakshmikantham,hartman}. And that -- in \cite{hartman,halanay}.

\end{document}

但我分别得到了[1 -3 ][1 ; 2 ]

在此处输入图片描述

如何删除引用范围内的多余空格?我只需要使用[1-3]and [1,2](如果可能,使用逗号代替分号)。

答案1

在完全更新的系统上我得到

在此处输入图片描述

如预期的。

在评论中我们确定,如果你更改language=auto

language=autobib

空格消失了。这表明问题出在你系统的语言定义上。问题的可能来源是

由于我们没有您的文件,因此您必须自己调查。虽然您可能很想说不language=autobib进一步调查虚假空间的来源,但这只是治标不治本。在其他没有简单解决方法的情况下,您可能会得到不需要的空间,因此请进行一些调查。


如果你想将分隔符从分号更改为

[1; 2]

变成你需要的逗号

\renewcommand*{\multicitedelim}{\addcomma\space}

要得到

[1, 2]

相关内容