Hayagriva export: Encyclopedia article doesn't have parent

Author: laikqCreated Aug 22, 2026Updated Sep 20, 2026
Labelsawaiting-user-feedback

Debug log ID

DTZ4JWUH-refs-euc/10.0/✓

What happened?

Hayagriva export of items with type "Encyclopedia Article" don't get a parent, therefore rendering incorrectly.

Take for example a Wikipedia article. Better BibLaTeX export result:

biblatex
@inreference{LeadLeadDating2025,
  title = {Lead–Lead Dating},
  booktitle = {Wikipedia},
  date = {2025-03-24T11:21:43Z},
  url = {https://en.wikipedia.org/w/index.php?title=Lead%E2%80%93lead_dating&oldid=1282108712},
  urldate = {2026-08-22},
  abstract = {…},
  langid = {english},
  annotation = {Page Version ID: 1282108712},
  file = {$HOME/Zotero/storage/9IUUWBLU/index.html}
}

Compare Hayagriva export:

yaml
LeadLeadDating2025:
  date: '2025-03-24'
  language: en
  title: Lead–lead dating
  type: entry
  url:
    date: '2026-08-22'
    value: https://en.wikipedia.org/w/index.php?title=Lead%E2%80%93lead_dating&oldid=1282108712

This is apparently not yet handled in hayagriva.ts. I'm willing to implement this myself if I find the time.

Source: retorquere/zotero-better-bibtex