Re: [NTG-context] Citeproc-lua

2022-05-07 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Samstag, 7. Mai 2022 01:15 > An: Maier, Denis Christian (UB) ; ntg-context@ntg.nl > Betreff: Re: AW: [NTG-context] Citeproc-lua > > On 5/7/2022 12:33 AM, denis.ma...@unibe.ch wrote: > >> -Ursprün

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 th

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 recor

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
Betreff: Re: [NTG-context] Citeproc-lua 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 C

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 anyway

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 ci

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
esendet: Freitag, 6. Mai 2022 14:57 > An: mailing list for ConTeXt users > Cc: Maier, Denis Christian (UB) > Betreff: Re: [NTG-context] Citeproc-lua > > Hi, > > I had a quick look at this and it seems very extensible if-not-quite ConTeXt- > ready right away. >

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 h

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 modify/c

[NTG-context] Citeproc-lua

2022-05-03 Thread Denis Maier via ntg-context
Hi, I just came across this: https://github.com/zepinglee/citeproc-lua Thats's an lua implemenation of the CSL language targeting LaTeX. I don't know if the processor itself contains any LaTeX specific code, but it looks like the integration basically happens here : https://github.com/zepinglee/

Re: [NTG-context] Citeproc

2020-10-07 Thread Denis Maier
Am 07.10.2020 um 12:01 schrieb Hans Hagen: On 10/6/2020 10:50 AM, denis.maier.li...@mailbox.org wrote: Taco Hoekwater mailto:t...@elvenkind.com>> hat am 06.10.2020 09:25 geschrieben: I recall discussing this idea with Bruce D’Arcus a long time ago (somewhere in the early 00-es, maybe). The

Re: [NTG-context] Citeproc

2020-10-07 Thread Hans Hagen
On 10/6/2020 10:50 AM, denis.maier.li...@mailbox.org wrote: Taco Hoekwater mailto:t...@elvenkind.com>> hat am 06.10.2020 09:25 geschrieben: I recall discussing this idea with Bruce D’Arcus a long time ago (somewhere in the early 00-es, maybe). The CSL files look like XML, but really they are

Re: [NTG-context] Citeproc

2020-10-06 Thread denis . maier . lists
Taco Hoekwater hat am 06.10.2020 09:25 geschrieben:   I recall discussing this idea with Bruce D’Arcus a long time ago (somewhere in the early 00-es, maybe). The CSL files look like XML, but really th

Re: [NTG-context] Citeproc

2020-10-06 Thread Taco Hoekwater
> On 5 Oct 2020, at 22:26, Denis Maier wrote: > > Am 05.10.2020 um 22:04 schrieb Hans Hagen: >> if it's an xml spec then using lua makes not that much sense (no gain) .. >> just process the xml > Hmm, but the XML is just a descriptive grammar of how bibliographies and > citations should be r

Re: [NTG-context] Citeproc

2020-10-05 Thread Denis Maier
Am 05.10.2020 um 22:04 schrieb Hans Hagen: if it's an xml spec then using lua makes not that much sense (no gain) .. just process the xml Hmm, but the XML is just a descriptive grammar of how bibliographies and citations should be rendered. As Aditya has pointed out it's quite similar to the r

Re: [NTG-context] Citeproc

2020-10-05 Thread Hans Hagen
On 10/5/2020 2:55 PM, Denis Maier wrote: Am 05.10.2020 um 02:47 schrieb Aditya Mahajan: John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell and whil

Re: [NTG-context] Citeproc

2020-10-05 Thread Aditya Mahajan
On Mon, 5 Oct 2020, Hans Hagen wrote: > On 10/5/2020 2:47 AM, Aditya Mahajan wrote: > > > John MacFarlane, the developper of Pandoc, has released a new Citeproc > > > that generates citations and bibliographies using CSL style files (CSL= > > > citation style language). While it is written in Hask

Re: [NTG-context] Citeproc

2020-10-05 Thread Denis Maier
Am 05.10.2020 um 02:47 schrieb Aditya Mahajan: John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell and while it's primarily intended for use with Pan

Re: [NTG-context] Citeproc

2020-10-05 Thread Denis Maier
Am 05.10.2020 um 14:02 schrieb Hans Hagen: i have no clue what csl is but I assume it's just some key / value thing as the bib module itself should to the logic Sorry, I should have provided more background information. CSL = Citation Style Language; see https://citationstyles.org/ In the wo

Re: [NTG-context] Citeproc

2020-10-05 Thread Hans Hagen
On 10/5/2020 2:47 AM, Aditya Mahajan wrote: John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell and while it's primarily intended for use with Pandoc

[NTG-context] Citeproc

2020-10-04 Thread Denis Maier
Hi, John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell and while it's primarily intended for use with Pandoc, it can also be used in other conte

Re: [NTG-context] Citeproc

2020-10-04 Thread Aditya Mahajan
> John MacFarlane, the developper of Pandoc, has released a new Citeproc > that generates citations and bibliographies using CSL style files (CSL= > citation style language). While it is written in Haskell and while it's > primarily intended for use with Pandoc, it can also be used in other > c