Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Hans Hagen via ntg-context
On 5/7/2022 12:33 AM, denis.ma...@unibe.ch wrote: -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Hans Hagen via ntg-context Gesendet: Freitag, 6. Mai 2022 23:45 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] Citeproc-lua [...] For the record: i

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Rik Kabel via ntg-context
On 2022-05-06 17:44, Hans Hagen via ntg-context wrote: [...] A bit like this: - Convert the whole bibliography database to html using pandoc in the preferred cs rendering. That should be fast. - Use the normal context commands for referencing a citation (the cite part is normally easy as

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Freitag, 6. Mai 2022 23:45 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] Citeproc-lua > > [...] > > For the record: i don't think you should write

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
Yes, Aditya. Citeproc-lua uses csl styles. Test suite coverage is not complete yet, though. Denis Von: ntg-context im Auftrag von Hans Hagen via ntg-context Gesendet: Freitag, 6. Mai 2022 23:44:38 An: Denis Maier via ntg-context Cc: Hans Hagen

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Hans Hagen via ntg-context
On 5/6/2022 11:02 PM, Denis Maier via ntg-context wrote: 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

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Hans Hagen via ntg-context
On 5/6/2022 11:09 PM, Aditya Mahajan via ntg-context wrote: 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

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Aditya Mahajan via ntg-context
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

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
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

[NTG-context] \xmlpos and \xmldepth misbehave? (again)

2022-05-06 Thread Pablo Rodriguez via ntg-context
Dear list, I have the folloing sample: \startbuffer[text] first level second level third level third level second level third level third level second level third level third level \stopbuffer \startxmlsetups xml:text \xmlsetsetup{#1}{doc|s|ss}{xml:*}

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Hans Hagen via ntg-context
On 5/6/2022 2:57 PM, Taco Hoekwater via ntg-context wrote: But: I personally do not understand how to do the integration with ConTeXt’s new biblio system. I only understand half of what ConTeXt does these days, and much less of what the LaTeX package is trying to achieve i.r.t. options. i'll

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Taco Hoekwater via ntg-context
Hi, I had a quick look at this and it seems very extensible if-not-quite ConTeXt-ready right away. On the input side, it reads a LaTeX .aux file to parse things like options, databases, and requested citations. For this, it uses a dedicated “citeproc” lua script that should be easy to