Dear All, On Tue, 25 Oct 2022 at 13:16, Ihor Radchenko <yanta...@posteo.net> wrote: > Maybe file a bug report to citeproc repo?
I've ended up making the necessary changes in citeproc and also posted a patch here which should enable formatting in locators. Marvin, I'd appreciate it if you could test it. best wishes, András On Tue, 25 Oct 2022 at 13:16, Ihor Radchenko <yanta...@posteo.net> wrote: > > András Simonyi <andras.simo...@gmail.com> writes: > > >> No. It is some bug in org-cite-csl--create-structure. > >> I am CCing the oc-csl maintainer. > >> András, can you please take a look? > > > > first of all, apologies for reacting that late. I had a look now, and > > the reason of the behaviour is not an oc-csl bug, but rather a > > citeproc-el limitation: formatting is not supported in locators, so if > > present it is passed in an unparsed form through the processor and it > > depends on the used citeproc output formatter what happens to it > > during finalization. In practice, Org markup seems to go through > > unchanged when the citeproc output format is set to Org. As a > > consequence, a possible workaround for making the html export work > > with formatted locators is to circumvent the citeproc-el html > > formatter by exporting the Org document first to Org and then the > > result to html. Of course, this solution might lose some advanced html > > formatting produced by directly using citeproc such as small caps or > > style-specific bibliography indentation. > > Maybe file a bug report to citeproc repo? > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92>