Skip to content

Biber 2.15 handles {-} in names incorrectly #329

@lorenzhs

Description

@lorenzhs

I use biber through the debian package, and 2.15 landed in Debian unstable a few days ago. My bibliography file contains several entries where dashes in names of the author are escaped: author={Hans{-}Peter Geerdes}. This worked fine with biber 2.14 but produces a bbl file with too many closing } with biber 2.15:

@misc{geerdes1998fish,
  author = {Hans{-}Peter Geerdes and others},
  title = {How much is the fish?},
  year = 1998
}
    \entry{geerdes1998fish}{misc}{}
      \true{moreauthor}
      \true{morelabelname}
      \name{author}{1}{}{%
        {{hash=fb1a47834c2a69da853e28fd2db2b299}{%
           family={Geerdes},
           familyi={G\bibinitperiod},
           given={Hans{-}Peter},
           giveni={H\bibinithyphendelim }\bibinitperiod}}}%
      }
      \strng{namehash}{b8530f63a23c20acbfc51e7e7fbc5399}
      \strng{fullhash}{b8530f63a23c20acbfc51e7e7fbc5399}
      \strng{bibnamehash}{b8530f63a23c20acbfc51e7e7fbc5399}
      \strng{authorbibnamehash}{b8530f63a23c20acbfc51e7e7fbc5399}
      \strng{authornamehash}{b8530f63a23c20acbfc51e7e7fbc5399}
      \strng{authorfullhash}{b8530f63a23c20acbfc51e7e7fbc5399}
      \field{labelalpha}{Gee+98}
      \field{sortinit}{G}
      \field{sortinithash}{62eb2aa29549e4fdbd3cb154ec5711cb}
      \field{labelnamesource}{author}
      \field{labeltitlesource}{title}
      \field{title}{How much is the fish?}
      \field{year}{1998}
    \endentry

The } after \bibinithyphendelim should not be there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions