[NTG-context] Citeproc-lua

Aditya Mahajan adityam at umich.edu
Fri May 6 23:09:49 CEST 2022



On Fri, 6 May 2022, Denis Maier via ntg-context wrote:

> Hi,
> thanks for your assessment. Indeed, that looks very promising.
> 
> I've now had a chance to look at this a bit more too.  Not that I understand that stuff in detail, but anyway...
> 
> I also have the impression that extending citeproc-formats.lua should be the easiest part. As an aside, I think the HTML is in there because that is needed for the test suite, but for ConTeXt we should be able to copy the LaTeX mapping and tweak a few things here and there.
>
> The LaTeX package is hard to understand, at least if you're not used to the "new" latex3 programming syntax and style. I also can only guess what that stuff does. But as you say this is rather isolated from the citeproc processing, so I guess the main task would be to come up with an equivalent ConTeXt module that writes the citations to the tuc file, calls the citeproc engine, and uses the results for the output. Right? (I.e., AFAICS, everything that lives under https://github.com/zepinglee/citeproc-lua/tree/main/citeproc should pretty much just work, while https://github.com/zepinglee/citeproc-lua/tree/main/latex must be adapted.)

Does citeproc-lua/biblatex support using CSL files (https://citationstyles.org/). IMO, that is currently the biggest limitation of the context bib module that only a few citation styles are supported. Developing a new citation style is relatively easy but a lot of work. Being able to use CSL will simplify things (from the point of view of the user) a lot.

Aditya


More information about the ntg-context mailing list