typst / hayagriva

Rusty bibliography management.
Apache License 2.0
314 stars 47 forks source link

Conference proceedings published as a book chapter #94

Closed yochem closed 9 months ago

yochem commented 9 months ago

I'm wondering how to cite a conference proceedings published as book chapter in APA:

Bedenel, A.-L., Jourdan, L., & Biernacki, C. (2019). Probability estimation by an adapted genetic algorithm in web insurance. In R. Battiti, M. Brunato, I. Kotsireas, & P. Pardalos (Eds.), Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization (pp. 225–240). Springer. https://doi.org/10.1007/978-3-030-05348-2_21

I tried:

test:
  type: chapter
  author:
    - Bedenel, A. L.
    - Jourdan, L.
    - Biernacki, C.
  date: 2019
  title: Probability estimation by an adapted genetic algorithm in web insurance
  page-range: 225–240
  serial-number:
    doi: 10.1007/978-3-030-05348-2_21
  parent:
    type: book
    editor:
      - Battiti, R.
      - Brunato, M.
      - Kotsireas, I.
      - Pardalos, P.
    title: 'Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization'
    publisher: Springer

Result: Bedenel, A. L., Jourdan, L., & Biernacki, C. (2019). Probability estimation by an adapted genetic algorithm in web insurance. In Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization (pp. 225–240). Springer. https://doi.org/10.1007/978-3-030-05348-2_21

When changing editor to author, we almost get the desired result, but missing the (Eds.) part of course:

Bedenel, A. L., Jourdan, L., & Biernacki, C. (2019). Probability estimation by an adapted genetic algorithm in web insurance. In R. Battiti, M. Brunato, I. Kotsireas, & P. Pardalos, Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization (pp. 225–240). Springer. https://doi.org/10.1007/978-3-030-05348-2_21

It thus seems that parent.editor is skipped on book chapters, but parent.author is not.

As a side question: how to get the "Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization" part right? I would expect to create a parent of the book with title "Learning and intelligent optimization" and volume 11353. That parent would be series/periodical with title "Lecture notes in computer science".

yochem commented 9 months ago

found it: editor should not be in the parent, but in the main part. I would still argue this is unexpected, since they are the editors of the whole book, not the chapter.

This gives the desired result:

test:
  type: article
  author:
    - Bedenel, A. L.
    - Jourdan, L.
    - Biernacki, C.
  editor:
    - Battiti, R.
    - Brunato, M.
    - Kotsireas, I.
    - Pardalos, P.
  date: 2019
  title: Probability estimation by an adapted genetic algorithm in web insurance
  page-range: 225–240
  serial-number:
    doi: 10.1007/978-3-030-05348-2_21
  parent:
    type: book
    title: 'Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization'
    publisher: Springer
zepinglee commented 9 months ago

I try to fix this issue in #96 and it works with the previous bib data.

Bedenel, A. L., Jourdan, L., & Biernacki, C. (2019). Probability estimation by an adapted genetic algorithm in web insurance. In R. Battiti, M. Brunato, I. Kotsireas, & P. Pardalos (Eds.), Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization (pp. 225–240). Springer. https://doi.org/10.1007/978-3-030-05348-2_21

BTW, does hayagriva have the volume-title field? In that way the title 'Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization' can be split into three fields: title, volume, and volume-title.

yochem commented 9 months ago

BTW, does hayagriva have the volume-title field? In that way the title 'Lecture notes in computer science: Vol. 11353. Learning and intelligent optimization' can be split into three fields: title, volume, and volume-title.

I was really hoping that hayagriva supported this. IMO, it would make more sense to add the series as a parent of the parent:

test:
  type: chapter
  author:
    - Bedenel, A. L.
    - Jourdan, L.
    - Biernacki, C.
  date: 2019
  title: Probability estimation by an adapted genetic algorithm in web insurance
  page-range: 225–240
  serial-number:
    doi: 10.1007/978-3-030-05348-2_21
  parent:
    type: book
    volume: 11353
    editor:
      - Battiti, R.
      - Brunato, M.
      - Kotsireas, I.
      - Pardalos, P.
    title: 'Learning and intelligent optimization'
    publisher: Springer
    parent:
      title: Lecture notes in computer science
      type: periodical/book
zepinglee commented 9 months ago

APA treats volume title and series title differently and I'd expect hayagriva to distinguish them.

APA §9.28:

If a numbered book volume has its own title, include the volume number and title after the main title of the book. A colon follows the main title, "Volume" is abbreviated "Vol.," and a period follows the volume number, after which the volume title appears.

Main title of book: Vol. 2. Volume title (2nd ed., pp. xx-xx).

Example 30, § 10.2: One volume of a multivolume work

Travis, C. B., & White, J. W. (Eds.). (2018). APA handbook of the psychology of women: Vol. 1. History, theory, and battlegrounds. American Psychological Association. https://doi.org/10.1037/0000059-000

  • If the volume has its own title, include the volume number and title after the main title in italics (as in the Travis & White example).

Example 31, § 10.2: Book in a series

Madigan, S. (2019). Narrative therapy (2nd ed.). American Psychological Association. https://doi.org/10.1037/0000131-000

  • For a series of conceptually related titles, the series title is not included in the reference (this book is part of the Theories of Psychotherapy Series; see Section 9.20).
yochem commented 9 months ago

May i suggest volume.title and volume.number instead of volume-title, to be consistent with e.g. serial-number?