00refs.yaml: incollection type not rendering booktitle and editor fields

Everything related to the development of modules in jamovi
Post Reply
GmA
Posts: 33
Joined: Wed Mar 19, 2025 3:23 pm

00refs.yaml: incollection type not rendering booktitle and editor fields

Post by GmA »

Hi all,

I am developing a jamovi module and have encountered an issue with rendering references for book chapters (chapters in edited volumes).
In my 00refs.yaml, I have an entry like this:

mostellerparunak1985:
type: 'incollection'
author: 'Mosteller, F., & Parunak, A.'
year: 1985
title: 'Identifying extreme cells in a sizable contingency table: Probabilistic and exploratory approaches'
booktitle: 'Exploring Data Tables, Trends, and Shapes'
editor: 'Hoaglin, D. C., Mosteller, F., & Tukey, J. W.'
publisher: 'Wiley'
pages: '189-224'

However, the rendered output only shows:

Mosteller, F., & Parunak, A. (1985). Identifying extreme cells in a sizable contingency table: Probabilistic and exploratory approaches. Wiley.

The booktitle (Exploring Data Tables, Trends, and Shapes) and editor fields are not being rendered at all. The expected output would be something like:

Mosteller, F., & Parunak, A. (1985). Identifying extreme cells in a sizable contingency table: Probabilistic and exploratory approaches. In D. C. Hoaglin, F. Mosteller, & J. W. Tukey (Eds.), Exploring Data Tables, Trends, and Shapes (pp. 189-224). Wiley.

I have already resolved a separate issue where journal names were not appearing for articles (I was using journal: instead of publisher:), but I cannot find documentation on the correct field names for the incollection type.
Questions:

Does jamovi support the incollection type for book chapters?
If so, what are the correct field names to use for the book title and editors?
If not currently supported, is there a recommended workaround other than embedding all the information in the title field?

I am using jamovi 2.6.26.

Many thanks for any guidance!
Gianmarco
User avatar
jonathon
Posts: 2925
Joined: Fri Jan 27, 2017 10:04 am

Re: 00refs.yaml: incollection type not rendering booktitle and editor fields

Post by jonathon »

i've not heard of 'incollection' before, and i suspect the person who wrote the reference renderer may not have either.

take a look at the renderer here:

https://github.com/jamovi/jamovi/blob/m ... #L269-L308

feel free to propose some changes to it.

jonathon
User avatar
yurismol
Posts: 54
Joined: Sat May 27, 2023 6:40 am
Location: Chita
Contact:

Re: 00refs.yaml: incollection type not rendering booktitle and editor fields

Post by yurismol »

I also had critical problems with the program running in an already compiled module due to incomprehensible errors in 00refs.yaml
Attachments
error 00refs.yaml
(2.37 KiB) Downloaded 2762 times
Post Reply