BibTeX and R
BibTeX
is a well-known format for storing references created by Oren Patashnik and Leslie Lamport back in 1985.
BibTeX can be reused by other software, such as LaTeX, to add references
to scholarly works. An example structure of a BibTeX
entry would be:
@book{einstein1921,
    title        = {Relativity: The Special and the General Theory},
    author       = {Einstein, A.},
    year         = 1920,
    publisher    = {Henry Holt and Company},
    address      = {London, United Kingdom},
    isbn         = 9781587340925
}
In this case, the entry (identified as einstein1921)
refers to a book. This entry can then be used in a document to include
references to it. In R (R Core Team 2021), we can replicate this
structure using the bibentry() and toBibtex()
functions:
entry <- bibentry("book",
  key = "einstein1921",
  title = "Relativity: The Special and the General Theory",
  author = person("A.", "Einstein"),
  year = 1920,
  publisher = "Henry Holt and Company",
  address = "London, United Kingdom",
  isbn = 9781587340925,
)
toBibtex(entry)
#> @Book{einstein1921,
#>   title = {Relativity: The Special and the General Theory},
#>   author = {A. Einstein},
#>   year = {1920},
#>   publisher = {Henry Holt and Company},
#>   address = {London, United Kingdom},
#>   isbn = {9781587340925},
#> }
The final results of the entry as a text string would be coerced as:
Einstein A (1920). Relativity: The Special and the General
Theory. Henry Holt and Company, London, United Kingdom. ISBN
9781587340925.
Additionally, the cffr package (Hernangómez
2021) incorporates the following capabilities that can be
used to read and transform BibTeX format into different
formats:
- cff_read_bib()reads *.bib files.
- cff_read_bib_text()can read BibTeX
entries that are already stored in a variable.
- A S3 method toBibtex.cff()that converts fromcffobjects to Bibtex objects (seeutils::toBibtex()).
string <- "@book{einstein1921,
    title        = {Relativity: The Special and the General Theory},
    author       = {Einstein, A.},
    year         = 1920,
    publisher    = {Henry Holt and Company},
    address      = {London, United Kingdom},
    isbn         = 9781587340925}"
# To cff
library(cffr)
cff_format <- cff_read_bib_text(string)
cff_format
#> - type: book
#>   title: 'Relativity: The Special and the General Theory'
#>   authors:
#>   - family-names: Einstein
#>     given-names: A.
#>   year: '1920'
#>   publisher:
#>     name: Henry Holt and Company
#>     address: London, United Kingdom
#>   isbn: '9781587340925'
# To BibTeX with S3 method
toBibtex(cff_format)
#> @Book{einstein:1920,
#>   title = {Relativity: The Special and the General Theory},
#>   author = {A. Einstein},
#>   year = {1920},
#>   publisher = {Henry Holt and Company},
#>   address = {London, United Kingdom},
#>   isbn = {9781587340925},
#> }
 
Entry Models
This section presents the specific mapping proposed for each of the
BibTeX entries, providing further information on how
each field is treated. Examples are adapted from the xampl.bib file
provided with the bibtex package (Patashnik and Berry
2010).
@article
The crosswalk of @article does not require any
special treatment.
@article Model
| @article | type: article, magazine-article,
newspaper-article |  | 
| author (required) | authors |  | 
| title (required) | title |  | 
| journal (required) | journal |  | 
| year (required) | year |  | 
| volume | volume |  | 
| number | issue |  | 
| pages | start and end |  | 
| month | month |  | 
| note | notes |  | 
Examples
BibTeX entry
@article{article-full,
    title        = {The Gnats and Gnus Document Preparation System},
    author       = {Leslie A. Aamport},
    year         = 1986,
    month        = jul,
    journal      = {{G-Animal's} Journal},
    volume       = 41,
    number       = 7,
    pages        = {73+},
    note         = {This is a full ARTICLE entry}
}
CFF entry
- type: article
  title: The Gnats and Gnus Document Preparation System
  authors:
  - family-names: Aamport
    given-names: Leslie A.
  year: '1986'
  month: '7'
  journal: G-Animal's Journal
  volume: '41'
  issue: '7'
  notes: This is a full ARTICLE entry
  start: 73+
From CFF to BibTeX
@Article{aamport:1986,
  title = {The Gnats and Gnus Document Preparation System},
  author = {Leslie A. Aamport},
  year = {1986},
  month = {jul},
  journal = {G-Animal's Journal},
  volume = {41},
  number = {7},
  pages = {73+},
  note = {This is a full ARTICLE entry},
}
 
@book / @inbook
In terms of the fields required in BibTeX, the primary difference
between @book and @inbook is that
@inbook requires a chapter or
page field, while @book does not even
allow these fields as optional. Therefore, we propose that an
@inbook entry in CFF be treated as a
@book with the following supplementary fields:
- section: To denote the specific chapter
within the book.
- start-end: To indicate the range of pages
covered by the section.
Additionally, note that in CFF, the series
field corresponds to collection-title, and the
address field represents the publisher’s
address. By last, the key collection-type would be
populated with book-series.
@book / @inbook Model
| @book, @inbook | type: book | If section or start-end informed, it
would be treated as @inbook | 
| author (required) | authors | At least one of author,editor
required | 
| editor (required) | editors | At least one of author,editor
required | 
| title (required) | title |  | 
| publisher (required) | publisher |  | 
| year (required) | year |  | 
| chapter (required in
@inbook only) | section | Not even optional in @book | 
| pages (required in
@inbook only) | start and end | Not even optional in @book | 
| volume | volume |  | 
| number | issue |  | 
| series | collection-title |  | 
| address | address property of publisher |  | 
| edition | edition |  | 
| month | month |  | 
| note | notes |  | 
| type | Ignored | Only optional in @inbook | 
There are notable differences in how BibTeX and
BibLaTeX handle the @inbook entry
(further discussed in the Appendix A). We
propose to treat a BibLaTeX @inbook as a BibTeX
@incollection.
Examples: @book
BibTeX entry
@book{book-full,
    title        = {Seminumerical Algorithms},
    author       = {Donald E. Knuth},
    year         = 1981,
    month        = 10,
    publisher    = {Addison-Wesley},
    address      = {Reading, Massachusetts},
    series       = {The Art of Computer Programming},
    volume       = 2,
    note         = {This is a full BOOK entry},
    edition      = {Second}
}
CFF entry
- type: book
  title: Seminumerical Algorithms
  authors:
  - family-names: Knuth
    given-names: Donald E.
  year: '1981'
  month: '10'
  publisher:
    name: Addison-Wesley
    address: Reading, Massachusetts
  collection-title: The Art of Computer Programming
  collection-type: book
  volume: '2'
  notes: This is a full BOOK entry
  edition: Second
From CFF to BibTeX
@Book{knuth:1981,
  title = {Seminumerical Algorithms},
  author = {Donald E. Knuth},
  year = {1981},
  month = {oct},
  publisher = {Addison-Wesley},
  address = {Reading, Massachusetts},
  series = {The Art of Computer Programming},
  volume = {2},
  note = {This is a full BOOK entry},
  edition = {Second},
}
Examples: @inbook
BibTeX entry
@inbook{inbook-full,
    title        = {Fundamental Algorithms},
    author       = {Donald E. Knuth},
    year         = 1973,
    month        = 10,
    publisher    = {Addison-Wesley},
    address      = {Reading, Massachusetts},
    series       = {The Art of Computer Programming},
    volume       = 1,
    pages        = {10--119},
    note         = {This is a full INBOOK entry},
    edition      = {Second},
    type         = {Section},
    chapter      = {1.2}
}
CFF entry
- type: book
  title: Fundamental Algorithms
  authors:
  - family-names: Knuth
    given-names: Donald E.
  year: '1973'
  month: '10'
  publisher:
    name: Addison-Wesley
    address: Reading, Massachusetts
  collection-title: The Art of Computer Programming
  collection-type: book
  volume: '1'
  notes: This is a full INBOOK entry
  edition: Second
  section: '1.2'
  start: '10'
  end: '119'
From CFF to BibTeX
@InBook{knuth:1973,
  title = {Fundamental Algorithms},
  author = {Donald E. Knuth},
  year = {1973},
  month = {oct},
  publisher = {Addison-Wesley},
  address = {Reading, Massachusetts},
  series = {The Art of Computer Programming},
  volume = {1},
  pages = {10--119},
  note = {This is a full INBOOK entry},
  chapter = {1.2},
  edition = {Second},
}
 
@booklet
In @booklet address is mapped to
location.
@booklet Model
| @booklet | type: pamphlet |  | 
| title (required) | title |  | 
| author | authors |  | 
| howpublished | medium |  | 
| address | location |  | 
| month | month |  | 
| year | year |  | 
| note | notes |  | 
Examples
BibTeX entry
@booklet{booklet-full,
    title        = {The Programming of Computer Art},
    author       = {Jill C. Knvth},
    date         = {1988-03-14},
    month        = feb,
    address      = {Stanford, California},
    note         = {This is a full BOOKLET entry},
    howpublished = {Vernier Art Center}
}
CFF entry
- type: pamphlet
  title: The Programming of Computer Art
  authors:
  - family-names: Knvth
    given-names: Jill C.
  date-published: '1988-03-14'
  month: '2'
  location:
    name: Stanford, California
  notes: This is a full BOOKLET entry
  medium: Vernier Art Center
  year: '1988'
From CFF to BibTeX
@Booklet{knvth:1988,
  title = {The Programming of Computer Art},
  author = {Jill C. Knvth},
  year = {1988},
  month = {feb},
  address = {Stanford, California},
  note = {This is a full BOOKLET entry},
  howpublished = {Vernier Art Center},
  date = {1988-03-14},
}
 
@conference / @inproceedings
Note that in this case, organization is mapped to
institution. Additionally, series would be
ignored as there is not clear mapping on CFF for this field.
@conference / @inproceedings Model
| @conference / @inproceedings | type: conference-paper, conference |  | 
| author (required) | authors |  | 
| title (required) | title |  | 
| booktitle (required) | collection-title and conference | Additionally collection-type would be populated
as “proceedings” | 
| year (required) | year |  | 
| editor | editors |  | 
| volume | volume |  | 
| number | issue |  | 
| series | Ignored |  | 
| pages | start and end |  | 
| address | address property of conference |  | 
| month | month |  | 
| organization | institution |  | 
| publisher | publisher |  | 
| note | notes |  | 
Examples
BibTeX entry
@inproceedings{inproceedings-full,
    title        = {On Notions of Information Transfer in {VLSI} Circuits},
    author       = {Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis},
    year         = 1983,
    month        = mar,
    booktitle    = {Proc. Fifteenth Annual ACM Symposium on the Theory of Computing},
    publisher    = {Academic Press},
    address      = {Boston},
    series       = {All ACM Conferences},
    number       = 17,
    pages        = {133--139},
    editor       = {Wizard V. Oz and Mihalis Yannakakis},
    organization = {The OX Association for Computing Machinery}
}
CFF entry
- type: conference-paper
  title: On Notions of Information Transfer in VLSI Circuits
  authors:
  - family-names: Oaho
    given-names: Alfred V.
  - family-names: Ullman
    given-names: Jeffrey D.
  - family-names: Yannakakis
    given-names: Mihalis
  year: '1983'
  month: '3'
  collection-title: Proc. Fifteenth Annual ACM Symposium on the Theory of Computing
  collection-type: proceedings
  publisher:
    name: Academic Press
  issue: '17'
  editors:
  - family-names: Oz
    given-names: Wizard V.
  - family-names: Yannakakis
    given-names: Mihalis
  institution:
    name: The OX Association for Computing Machinery
  start: '133'
  end: '139'
  conference:
    name: Proc. Fifteenth Annual ACM Symposium on the Theory of Computing
    address: Boston
From CFF to BibTeX
@InProceedings{oaho_etall:1983,
  title = {On Notions of Information Transfer in VLSI Circuits},
  author = {Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis},
  year = {1983},
  month = {mar},
  booktitle = {Proc. Fifteenth Annual ACM Symposium on the Theory of Computing},
  publisher = {Academic Press},
  address = {Boston},
  editor = {Wizard V. Oz and Mihalis Yannakakis},
  number = {17},
  pages = {133--139},
  organization = {The OX Association for Computing Machinery},
}
 
@incollection
As booktitle is a required field, we propose to map
that field to collection-title and the type to
generic. Therefore, an @incollection is a
type: generic with a collection-title key.
Additionally, series and type would
be ignored as there is not clear mapping on CFF for this
field.
@incollection Model
| @incollection | type: generic | Including a collection-title value | 
| author (required) | authors |  | 
| title (required) | title |  | 
| booktitle (required) | collection-title | Additionally collection-type would be populated
as “collection” | 
| publisher (required) | publisher |  | 
| year (required) | year |  | 
| editor | editors |  | 
| volume | volume |  | 
| number | issue |  | 
| series | Ignored |  | 
| type | Ignored |  | 
| chapter | section |  | 
| pages | start and end |  | 
| address | address property of publisher |  | 
| edition | edition |  | 
| month | month |  | 
| note | notes |  | 
Examples
BibTeX entry
@incollection{incollection-full,
    title        = {Semigroups of Recurrences},
    author       = {Daniel D. Lincoll},
    year         = 1977,
    month        = sep,
    booktitle    = {High Speed Computer and Algorithm Organization},
    publisher    = {Academic Press},
    address      = {New York},
    series       = {Fast Computers},
    number       = 23,
    pages        = {179--183},
    note         = {This is a full INCOLLECTION entry},
    editor       = {David J. Lipcoll and D. H. Lawrie and A. H. Sameh},
    chapter      = 3,
    type         = {Part},
    edition      = {Third}
}
CFF entry
- type: generic
  title: Semigroups of Recurrences
  authors:
  - family-names: Lincoll
    given-names: Daniel D.
  year: '1977'
  month: '9'
  collection-title: High Speed Computer and Algorithm Organization
  collection-type: collection
  publisher:
    name: Academic Press
    address: New York
  issue: '23'
  notes: This is a full INCOLLECTION entry
  editors:
  - family-names: Lipcoll
    given-names: David J.
  - family-names: Lawrie
    given-names: D. H.
  - family-names: Sameh
    given-names: A. H.
  section: '3'
  edition: Third
  start: '179'
  end: '183'
From CFF to BibTeX
@InCollection{lincoll:1977,
  title = {Semigroups of Recurrences},
  author = {Daniel D. Lincoll},
  year = {1977},
  month = {sep},
  booktitle = {High Speed Computer and Algorithm Organization},
  publisher = {Academic Press},
  address = {New York},
  editor = {David J. Lipcoll and D. H. Lawrie and A. H. Sameh},
  number = {23},
  pages = {179--183},
  note = {This is a full INCOLLECTION entry},
  chapter = {3},
  edition = {Third},
}
 
@manual
As in the case of @conference
/ @inproceedings, organization is
mapped to institution.
@manual Model
| @manual | type: manual |  | 
| title (required) | title |  | 
| author | authors |  | 
| organization | institution |  | 
| address | address property of organization | On missing organization mapped to
location | 
| edition | edition |  | 
| month | month |  | 
| year | year |  | 
| note | notes |  | 
Examples
BibTeX entry
Note that month can’t be coerce to a single integer
in the range 1--12 as required on CFF, so it is ignored to
avoid validation errors.
@manual{manual-full,
  title        = {The Definitive Computer Manual},
    author       = {Larry Manmaker},
    year         = 1986,
    month        = {apr-may},
    address      = {Silicon Valley},
    note         = {This is a full MANUAL entry},
    organization = {Chips-R-Us},
    edition      = {Silver}
}
CFF entry
- type: manual
  title: The Definitive Computer Manual
  authors:
  - family-names: Manmaker
    given-names: Larry
  year: '1986'
  month: '4'
  notes: This is a full MANUAL entry
  institution:
    name: Chips-R-Us
    address: Silicon Valley
  edition: Silver
From CFF to BibTeX
@Manual{manmaker:1986,
  title = {The Definitive Computer Manual},
  author = {Larry Manmaker},
  year = {1986},
  month = {apr},
  address = {Silicon Valley},
  note = {This is a full MANUAL entry},
  edition = {Silver},
  organization = {Chips-R-Us},
}
 
@mastersthesis / @phdthesis
In terms of field required on BibTeX, it is identical for both
@mastersthesis and @phdthesis.
We propose here to identify each type of thesis using the key
thesis-type So if thesis-type contains a regex pattern
(?i)(phd) it would be recognized as
@phdthesis.
Additionally, school would be mapped to
institution.
@mastersthesis / @phdthesis Model
| @mastersthesis, @phdthesis | type: thesis | Use also thesis-type for identifying the thesis
type. | 
| author (required) | authors |  | 
| title (required) | title |  | 
| school (required) | institution |  | 
| year (required) | year |  | 
| type | Ignored |  | 
| address | address property of institution |  | 
| month | month |  | 
| note | notes |  | 
Examples: @mastersthesis
BibTeX entry
@mastersthesis{mastersthesis-full,
    title        = {Mastering Thesis Writing},
    author       = {Edouard Masterly},
    year         = 1988,
    month        = jun,
    address      = {English Department},
    note         = {This is a full MASTERSTHESIS entry},
    school       = {Stanford University},
    type         = {Master's project}
}
CFF entry
- type: thesis
  title: Mastering Thesis Writing
  authors:
  - family-names: Masterly
    given-names: Edouard
  year: '1988'
  month: '6'
  notes: This is a full MASTERSTHESIS entry
  institution:
    name: Stanford University
    address: English Department
  thesis-type: Master's Thesis
From CFF to BibTeX
@MastersThesis{masterly:1988,
  title = {Mastering Thesis Writing},
  author = {Edouard Masterly},
  year = {1988},
  month = {jun},
  address = {English Department},
  note = {This is a full MASTERSTHESIS entry},
  school = {Stanford University},
}
Examples: @phdthesis
BibTeX entry
@phdthesis{phdthesis-full,
    title        = {Fighting Fire with Fire: Festooning {F}rench Phrases},
    author       = {F. Phidias Phony-Baloney},
    year         = 1988,
    month        = jun,
    address      = {Department of French},
    note         = {This is a full PHDTHESIS entry},
    school       = {Fanstord University},
    type         = {{PhD} Dissertation}
}
CFF entry
- type: thesis
  title: 'Fighting Fire with Fire: Festooning French Phrases'
  authors:
  - family-names: Phony-Baloney
    given-names: F. Phidias
  year: '1988'
  month: '6'
  notes: This is a full PHDTHESIS entry
  institution:
    name: Fanstord University
    address: Department of French
  thesis-type: PhD Thesis
From CFF to BibTeX
@PhdThesis{phonybaloney:1988,
  title = {Fighting Fire with Fire: Festooning French Phrases},
  author = {F. Phidias Phony-Baloney},
  year = {1988},
  month = {jun},
  address = {Department of French},
  note = {This is a full PHDTHESIS entry},
  school = {Fanstord University},
}
 
@misc
The crosswalk of @misc does not require any special
treatment. This entry does not require any
field.
Note also that it is mapped to type: generic as @incollection, but in this case
booktitle is not even an option, so the proposed
definition should cover both @misc and
@incollection without problems.
@misc Model
| @misc | type: generic |  | 
| author | authors |  | 
| title | title |  | 
| howpublished | medium |  | 
| month | month |  | 
| year | year |  | 
| note | notes |  | 
Examples
BibTeX entry
@misc{misc-full,
    title        = {Handing out random pamphlets in airports},
    author       = {Joe-Bob Missilany},
    year         = 1984,
    month        = oct,
    note         = {This is a full MISC entry},
    howpublished = {Handed out at O'Hare}
}
CFF entry
- type: generic
  title: Handing out random pamphlets in airports
  authors:
  - family-names: Missilany
    given-names: Joe-Bob
  year: '1984'
  month: '10'
  notes: This is a full MISC entry
  medium: Handed out at O'Hare
From CFF to BibTeX
@Misc{missilany:1984,
  title = {Handing out random pamphlets in airports},
  author = {Joe-Bob Missilany},
  year = {1984},
  month = {oct},
  note = {This is a full MISC entry},
  howpublished = {Handed out at O'Hare},
}
 
@proceedings
The proposed model is consistent with @conference /
@inproceedings. Note that
@proceedings does not prescribe a
author field. On this cases, as authors is
required on CFF, we would use anonymous when converting to
CFF and omit it on the conversion from CFF to
BibTeX.
@proceedings Model
| @proceedings | type: proceedings |  | 
| title (required) | title and conference |  | 
| year (required) | year |  | 
| editor | editors |  | 
| volume | volume |  | 
| number | issue |  | 
| series | collection-title | Additionally collection-type would be populated
as “proceedings” | 
| address | address property of conference |  | 
| month | month |  | 
| organization | institution |  | 
| publisher | publisher |  | 
| note | notes |  | 
Examples
BibTeX entry
@proceedings{proceedings-full,
    title        = {Proc. Fifteenth Annual ACM Symposium on the Theory of Computing},
    year         = 1983,
    month        = mar,
    publisher    = {Academic Press},
    address      = {Boston},
    series       = {All ACM Conferences},
    number       = 17,
    note         = {This is a full PROCEEDINGS entry},
    editor       = {Wizard V. Oz and Mihalis Yannakakis},
    organization = {The OX Association for Computing Machinery}
}
CFF entry
- type: proceedings
  title: Proc. Fifteenth Annual ACM Symposium on the Theory of Computing
  authors:
  - name: anonymous
  year: '1983'
  month: '3'
  publisher:
    name: Academic Press
  collection-title: All ACM Conferences
  collection-type: proceedings
  issue: '17'
  notes: This is a full PROCEEDINGS entry
  editors:
  - family-names: Oz
    given-names: Wizard V.
  - family-names: Yannakakis
    given-names: Mihalis
  institution:
    name: The OX Association for Computing Machinery
  conference:
    name: All ACM Conferences
    address: Boston
From CFF to BibTeX
@Proceedings{oz_etall:1983,
  title = {Proc. Fifteenth Annual ACM Symposium on the Theory of Computing},
  year = {1983},
  month = {mar},
  publisher = {Academic Press},
  address = {Boston},
  editor = {Wizard V. Oz and Mihalis Yannakakis},
  series = {All ACM Conferences},
  number = {17},
  note = {This is a full PROCEEDINGS entry},
  organization = {The OX Association for Computing Machinery},
}
 
@techreport
The crosswalk of @techreport does not require any
special treatment.
@techreport Model
| @techreport | type: report |  | 
| author (required) | authors |  | 
| title (required) | title |  | 
| institution (required) | institution |  | 
| year (required) | year |  | 
| type | Ignored |  | 
| number | issue |  | 
| address | address property of institution |  | 
| month | month |  | 
| note | notes |  | 
Examples
BibTeX entry
@techreport{techreport-full,
    title        = {A Sorting Algorithm},
    author       = {Tom Terrific},
    year         = 1988,
    month        = oct,
    address      = {Computer Science Department, Fanstord, California},
    number       = 7,
    note         = {This is a full TECHREPORT entry},
    institution  = {Fanstord University},
    type         = {Wishful Research Result}
}
CFF entry
- type: report
  title: A Sorting Algorithm
  authors:
  - family-names: Terrific
    given-names: Tom
  year: '1988'
  month: '10'
  issue: '7'
  notes: This is a full TECHREPORT entry
  institution:
    name: Fanstord University
    address: Computer Science Department, Fanstord, California
From CFF to BibTeX
@TechReport{terrific:1988,
  title = {A Sorting Algorithm},
  author = {Tom Terrific},
  year = {1988},
  month = {oct},
  address = {Computer Science Department, Fanstord, California},
  number = {7},
  note = {This is a full TECHREPORT entry},
  institution = {Fanstord University},
}
 
@unpublished
The crosswalk of @unpublished does not require any
special treatment.
@unpublished Model
| @unpublished | type: unpublished |  | 
| author (required) | authors |  | 
| title (required) | title |  | 
| note (required) | notes |  | 
| month | month |  | 
| year | year |  | 
Examples
BibTeX entry
@unpublished{unpublished-minimal,
    title        = {Lower Bounds for Wishful Research Results},
    author       = {Ulrich Underwood and Ned Net and Paul Pot},
    note         = {Talk at Fanstord University (this is a minimal UNPUBLISHED entry)}
}
CFF entry
- type: unpublished
  title: Lower Bounds for Wishful Research Results
  authors:
  - family-names: Underwood
    given-names: Ulrich
  - family-names: Net
    given-names: Ned
  - family-names: Pot
    given-names: Paul
  notes: Talk at Fanstord University (this is a minimal UNPUBLISHED entry)
From CFF to BibTeX
@Unpublished{underwood_etall,
  title = {Lower Bounds for Wishful Research Results},
  author = {Ulrich Underwood and Ned Net and Paul Pot},
  note = {Talk at Fanstord University (this is a minimal UNPUBLISHED entry)},
}
 
 
Appendix A: @inbook in BibTeX and BibLaTeX
The definition of @inbook and
@incollection in BibTeX (Patashnik
1988) is as follows:
- @inbook: A part of a book, which may be a
chapter (or section) and/or a range of pages. Required fields: author or
editor, title, chapter and/or pages, publisher, year (…) 
- @incollection: A part of a book having its own
title. Required fields: author, title, booktitle, publisher, year
(…) 
Whereas BibLaTeX (Kime, Wemheuer, and Lehman 2023)
specifies:
- @inbook: A part of a book which forms a
self-contained unit with its own title. Note that the profile of
this entry type is different from standard BibTeX, see § 2.3.1.
Required fields: author, title, booktitle, year/date (…).
When considering required fields, an important difference is
booktitle requirement in BibLaTeX.
Notably, BibTeX @incollection requires also this field.
Moreover, both BibTeX @incollection and
BibLaTeX @inbook emphasize its reference to “a part
of a book (…) with its own title”.
In this document, the proposed crosswalk ensures full compatibility
with BibTeX. Hence, we propose to consider a
BibLaTeX @inbook entry as equivalent to a
BibTeX @incollection, given the congruence in their
definitions and field requirements.
Examples
BibTeX entry
@inbook{inbook-biblatex,
    author       = {Yihui Xie and Christophe Dervieux and Emily Riederer},
    title        = {Bibliographies and citations},
    booktitle    = {{R} Markdown Cookbook},
    date         = {2023-12-30},
    publisher    = {Chapman and Hall/CRC},
    address      = {Boca Raton, Florida},
    series       = {The {R} Series},
    isbn         = 9780367563837,
    url          = {https://bookdown.org/yihui/rmarkdown-cookbook},
    chapter      = {4.5}
}
CFF entry
- type: generic
  title: Bibliographies and citations
  authors:
  - family-names: Xie
    given-names: Yihui
  - family-names: Dervieux
    given-names: Christophe
  - family-names: Riederer
    given-names: Emily
  collection-title: R Markdown Cookbook
  collection-type: collection
  date-published: '2023-12-30'
  publisher:
    name: Chapman and Hall/CRC
    address: Boca Raton, Florida
  isbn: '9780367563837'
  url: https://bookdown.org/yihui/rmarkdown-cookbook
  section: '4.5'
  year: '2023'
  month: '12'
From CFF to BibTeX
@InCollection{xie_etall:2023,
  title = {Bibliographies and citations},
  author = {Yihui Xie and Christophe Dervieux and Emily Riederer},
  year = {2023},
  month = {dec},
  booktitle = {R Markdown Cookbook},
  publisher = {Chapman and Hall/CRC},
  address = {Boca Raton, Florida},
  isbn = {9780367563837},
  url = {https://bookdown.org/yihui/rmarkdown-cookbook},
  chapter = {4.5},
  date = {2023-12-30},
}