11

Is there a way to filter \printbibliography using multiple keywords that are present in the .bib file entries ?

For exemple, I'd like the command \printbibliography[keyword={key_1,key_2,key_3}] to print ONLY the entries that combines the keywords like key_1 AND key_2 AND key_3.

21

The right syntax is:

\printbibliography[keyword={key_1}, keyword={key_2}, keyword={key_3}]

And for omitting those specific keywords the syntax is:

\printbibliography[notkeyword={key_1}, notkeyword={key_2}, notkeyword={key_3}]


Same works with category and notcategory.

  • Are you sure? In the version on my system here (2.8) you can "stack" notkeyword but you can't stack keyword and you need to define a filter for that. I haven't got 2.9 to test, but there's nothing in the release notes about it. – Paul Stanley Jun 5 '14 at 11:07
  • Why shouldn't that work? See manual, 3.6.2 The Bibliography. I'm using bilatex v2.8a / biber v1.8 – musicman Jun 5 '14 at 11:58
  • You are quite right, and I was quite wrong. – Paul Stanley Jun 5 '14 at 13:31
  • 2
    this works like AND. How would you combine keyword with OR? – buhtz May 5 '18 at 20:40
  • The syntax for OR is given here: tex.stackexchange.com/questions/367083/… – Prof.Chaos Jan 24 at 13:00

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.