I am in the process of updating my CV using LaTeX. In my CV, I have a list of publications, reports, etc., and I would like to use biblatex
to manage these lists. Currently, all of my publications are maintained in a single .bib
file, and ideally, I want it to stay this way.
Here is a simple example of how I would like my publications printed in my CV, where the largest labelnumber also equals the total number of references in a particular section:
Publications & Presentations
JOURNAL ARTICLES
[3] Author, A.;
Author, B. Journal Article 1 …
[2] Author, C.; Author, D.
Journal Article 2 …
[1] Author, E.; Author, F. Journal Article 3
…REPORTS
[2] Author, G.; Author, H. Report 1 …
[1] Author,
I.; Author, J. Report 2 …
I can separate the reference types using \defbibfilter
and \printbibliography[filter=...]
. However, the only way I can get the references to print in the bibliography without a citation is with \nocite{*}
. When I use \nocite{*}
, all of the references in my .bib
file are added to the .bbl
file so that the labelnumbers are larger than the actual number of references for a particular type. For example, if there are 8 total references in the .bib
file, with 4 articles and 4 reports, the bibliography prints as:
Publications & Presentations
JOURNAL ARTICLES
[8] Author,
Author …
[7] Author, Author …
[6] Author, Author …
[5] Author, Author …REPORTS
[8] Author…
[7] Author…
[6] Author…
[5]
Author…
Is there any way to \nocite
only certain types of references in the .bib
file? For example, \nocite{type=article}
? Or is there another biblatex
command that will allow me to cite a particular entry type (article
, report
, book
, etc.) rather than citing with a citation key?
Best Answer
A descending
labelnumber
in the bibliography is easy to obtain when entries for the subbibliographies are drawn from separatebib
files. The problem is addressed in this post.Like any citation command,
\nocite
makes bibliographic data available tobiblatex
. It can't be limited toentrytype
a priori unless you pass a list of entry keys that areentrytype
-specific. For example:Descending
labelnumber
with onebib
file can be obtained by making the item countersentrytype
-specific. An easy way to perform counting and printing byentrytype
is to modify\bibbycategory
. The code below demonstrates this approach. It assumes that bibliographic data are made available only via\nocite
.Extensions to flexible
category
definitions and all citation commands are possible. For an illustration, see this previous answer.