On Mon, Jul 14, 2025 at 7:30 AM András Simonyi <[email protected]> wrote: > I gave a bit more thought to Ihor's suggestion and managed to solve the > problem using the export communication channel, which looks like a more > elegant solution indeed. I'm attaching the (somewhat tentative) patch in this > direction. Note that I had to introduce a flag property to indicate whether > the style blocks were already added because org-cite-csl-render-bibliography > is called more than once when there are several print_bibliography keywords > in the document.
This looks nice. You could change the flags name to :html-head-add-csl-style and turn it into a user-facing option so that CSL styling can be turned off by the user if desired. Regards, Nikolaos Chatzikonstantinou
