I am using a biblatex-gost package with a gost-numeric style. Here is a MWE:

    langid = {english},
    title = {Differential Equations Stability, Oscillations, Time Lags},
    author = {A. Halanay},
    location = {New York--London},
    publisher = {Acad. Press},
    year = {1968},
    pagetotal = {568},
    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},
    langid = {english},
    title = {Ordinary Differential Equations},
    author = {P. Hartman},
    location = {Philadelphia},
    publisher = {Society for Industrial and Applied Mathematics},
    year = {2002},
    pagetotal = {612},



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


But I get [1 -3 ] and [1 ; 2 ], respectively.

enter image description here

How do I remove extra spacing in the citation range? I need to have simply [1-3] and [1,2] (comma instead of a semicolon, if possible).

  • Can't reproduce the issue with pdflatex – DG' Jul 23 '18 at 19:15
  • Strange, because I have this problem in pdflatex. Added a screenshot. – user2513149 Jul 23 '18 at 19:19
  • I can't reproduce this either, I get [1--3] and [1; 2] as expected (by me anyway). Since you are using an outdated version this could be due to a bug somewhere that got fixed. Does the same problem occur with style=numeric instead of style=gost-numeric? – moewe Jul 23 '18 at 21:23
  • @moewe, after switching to style=numeric I get [1 , 2 , 3 ] and [2 , 1 ]. Extra spaces remain but the range dash is gone. – user2513149 Jul 24 '18 at 4:48
  • Change language=auto to language=autobib. – moewe Jul 24 '18 at 5:05

On a fully updated system I get

enter image description here

as desired.

In the comments we established that if you change language=auto to


the spaces disappear. That shows that the problem lies with the language definitions on your system. The possible sources of problems are

Since we don't have your files, you will have to investigate that yourself. While it may be tempting to just say language=autobib and not investigate the source of the spurious space further that just treats the symptom, not the cause. You may end up with unwanted spaces in other situations where there is no easy way out, so do investigate a bit.

If you want to change the separator from a semicolon

[1; 2]

into a comma you need


to get

[1, 2]

  • Works perfectly, thank you! You're a TEX wizard moewe. I will definitely mention you during my thesis defend) – user2513149 Jul 24 '18 at 5:22
  • @user2513149 You will want to find out the real source of those spurious spaces, though. The language=autobib is just a workaround and theoretically you could get unwanted spaces in the bibliography as well. So you should check out the three possible sources of the space I mentioned above. – moewe Jul 24 '18 at 5:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.