I can't respond to your specific issue, but just to throw another potential into the mix, the Typst team made their own YAML bibliography format and toolset:

https://github.com/typst/hayagriva

They have a CLI to convert to BibLaTeX, which Pandoc can read, so that may be one solution depending on how you feel about the Hayagriva data model...

Ian

On Wednesday 6 December 2023 at 00:41:54 UTC+8 lucabal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
Hi,

  I'd like to  use a YAML file format, which I consider easier to write and more human-readable w.r.t. bib format, but using the biblatex data model (defined in chapter 2 of BibLaTeX manual, found at ctan/biblatex), which I prefer over CSL data model (defined in appendix III and IV of CSL 1.0.2 specifications).

  As far as I understand, by default, pandoc expects (ref. pandoc/manual, sec. Specifying bibliographic data)

    BibLaTeX data in a file formatted as .bib
    BibTeX data in a file formatted as .bib (and and extension as .bibtex)
    CSL data in a file formatted as JSON
    CSL data in a file formatted as YAML
    RIS data in a file formatted as .ris

Is it a way to use BibLaTeX data model in a YAML formatted file? Is there any caveats? There is a need of a Lua Filter? What does pandoc use to parse .yaml or .bib files and to write those? Where should I begin?

Thanks,
Luca

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/eab2fe42-dc5d-4822-b7a8-b57260e66364n%40googlegroups.com.