In my case, nocite contains a value of "[@*]". Would you please elaborate on what that means? As far as I know using --citeproc or not has no impact on the final result. I tried both variants as shown below: pandoc .\bibliography.bib -t markdown -s --citeproc pandoc .\bibliography.bib -t markdown -s I get the same output for either command. Both have a nocite of "[@*]". On Tue, 26 Jul 2022 at 14:53, John MacFarlane fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: 'blocks' is for the body of the document. We store the reference data in > the metadata. In this case it's all references, so no body. > > The 'nocite' entry causes all the references to be included in the > bibliography if you process this with --citeproc. We include that by > default so that you can do e.g. > > pandoc my.bib -s -o my.html --citeproc > > and get a formatted HTML bibliography with all the references. > > > > On Jul 26, 2022, at 4:47 AM, A A wrote: > > > > Dear John, > > Indeed, I see that there is an internal representation in the form of a > Meta object. I made a dummy bibliography with 4 entries. After converting > to JSON the following structure was apparent: > > > > { > > "pandoc-api-version": [...], > > "meta": { > > "nocite": {...} > > "references": {...} > > }, > > "blocks": [] > > } > > > > references contains a list of MetaMapswhich contain the recognizable > BibTeX data. blocks is empty and nocite contains some additional data which > I don’t understand. > > > > What is the role of nocite and blocks in this AST? > > > > Regards, > > > > Amine > > > > > > On Mon, 25 Jul 2022 at 18:01, John MacFarlane > wrote: > > > > If you do `pandoc yourbib.bib -t native -s` then you'll see how pandoc > represents bibiographies in its AST. All you need to do, then, is have > your custom reader create this sort of structure in the metadata. > > > > > > > > > On Jul 25, 2022, at 6:14 AM, A A wrote: > > > > > > Suppose that I would like to define my own markup format, something > that is not currently supported by pandoc. I could in theory write my own > reader and writer in Lua, making use of pandoc's AST elements, and would > then be able to convert to and from this new format to other recognized > formats. > > > > > > I'd like to know whether the same can be said of bibliographic > formats. Suppose I have a new one that I would like to bake into pandoc. > Since the bibliography seems to be decoupled from the AST, what would be > the best way to do this? > > > > > > -- > > > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgPP62P6%3DXwLSksRv-X11gW7p1A1%2BUhg824n5HAtE_49vw%40mail.gmail.com > . > > > > -- > > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/04A5D7A1-B4AD-4A59-AB54-7D5849F23ACA%40gmail.com > . > > > > -- > > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOt0AE-ibyTeUv-Ov_9pvNESyQWeqr%2BDwCjDdFQ9xHs%3DA%40mail.gmail.com > . > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/5BC2C9A0-8D21-43E6-B00B-99D7BC319AE4%40gmail.com > . > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgNAjuyXpG0M-FZhzuS%3DaBEZZ4Uanb6gX3NjB9fv0YASAQ%40mail.gmail.com.