On 5/6/2022 11:09 PM, Aditya Mahajan via ntg-context wrote:

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

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.

the main question is 'how easy is it to convertt one of these xml defs into a context rendering' ... probably somethng we can do stepwise

using some external solution creates a dependency (and also maintainance issue i guess) and there is a good change for interferences

(btw, in the apa one that we support the main complication is that it has many variants / border cases)


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net

Reply via email to