New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accept ; as keyword separator #241

Closed
maxheld83 opened this Issue Jun 11, 2014 · 5 comments

Comments

Projects
None yet
3 participants
@maxheld83

maxheld83 commented Jun 11, 2014

biblatexcurrently appears to expect , as a separator between keywords (etc.), as per a discussion over at kBibDesk and the BibLaTeX docs:

@Book{key,
keywords      = {primary,some,other,keywords},
...

Unfortunately, BibDesk the leading FOSS *.bibeditor, defaults to ; as a separator for keywords in some circumstances.

As is, BibLaTeX does not find semicolon separated keywords, as in:

\printbibliography[
    keyword=Apple,
    title={Apples}
]

where:

@book{worm2014,
    Author = {Worm, Appleeater},
    Keywords = {Apple; Fruit},
    Publisher = {Sometree},
    Title = {I Like Apples},
    Year = {2014},
}

This causes a major headache and takes for ever to figure out and/or fix.

I'm not entirely sure what the canonical *.bib-way is in this case, so I filed this issue and one over at BibDesk, but sure would be nice if at least one side would solve this.

@plk

This comment has been minimized.

Owner

plk commented Jun 11, 2014

This is already implemented when using biber as the biblatex backend. See biber's "--xsvsep" option.

@maxheld83 maxheld83 referenced this issue Jun 11, 2014

Closed

change keyword separator to , not ; #4

2 of 2 tasks complete
@maxheld83

This comment has been minimized.

maxheld83 commented Jun 11, 2014

@plk thanks!

I'm still a bit confused, because was, in this case already using biber as backend, as in:

\usepackage
    [
        style=authoryear-comp,
        backend=biber,
        maxbibnames=99,
        %citestyle=authoryear-icomp
    ]
    {biblatex}

So what's up with that? And what's the --xsvsep option? Can't find (but one mention) about it in the Biber docs ...

Anyway, BibLaTeX seems fantastic (we just need a shorter manual :) )

@plk

This comment has been minimized.

Owner

plk commented Jun 11, 2014

Just run biber with --help to see all options - most options aren't in the biber PDF manual. There you'll find --xsvsep. You can set this to a regexp to allow multiple separators.

@maxheld83

This comment has been minimized.

maxheld83 commented Jun 11, 2014

thanks, fantastic.
Just as an aside, I wonder (since I've had many run-ins with allegedly non-standard *.bibis there an accepted standard for the file format?

@plk

This comment has been minimized.

Owner

plk commented Jun 11, 2014

Well, the bibtex documentation defined this originally. The format supported by biber has some minor variations as it uses a library called btparse which is very compatible. I have hacked the btparse code and also added things to biber to allow it to support a superset of the original bibtex format (things like utf8).

@plk plk closed this Jun 24, 2014

@moewew moewew added the question label May 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment