Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • This looks interesting. Does it work with \nocite{*} or does it depend on explicit citation of each item in the bibliography? Can it be generalised to multiple criteria/keywords (eg type=report AND keyword=MyProject AND notkeyword=ProgressReport)? Thanks. Commented Aug 12, 2012 at 21:06
  • oh, it's a better way ! no problem of time for running. It's working with nocite. And you can make a lot of test : for exemple :\ifkeyword{toto}{\ifkeyword{titi}{}{\stepcounter{toto}}}{}. You should read the manual of biblatex : theres is a lot of test. Commented Aug 12, 2012 at 21:30
  • but the manual say Note that, if there are any refsection environments in the document and an entry is cited in more than one of them, the ⟨code⟩ may be executed multiple times for an entry. I don't know in your case. But why not. Commented Aug 12, 2012 at 21:35
  • @Audrey yes, that is why it could be a problem, in some context. But I think you suggestion is better than mine, for time processing. Commented Aug 12, 2012 at 22:18
  • This works well, and is fast. However I prefer Maieul's method since it uses the same selection criteria as \printbibligraphy. This allows me to set say \myprojectreports to "keyword=myproject,type=report" once and refer to it when counting and when generating the bibliography. Some of my selection criteria are quite complicated, so keeping a single copy is much easier. Thanks though - I'm sure this will come in useful someday. Commented Aug 13, 2012 at 12:11