From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
denis.maier.lists@mailbox.org,
Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Citeproc
Date: Wed, 7 Oct 2020 12:01:56 +0200 [thread overview]
Message-ID: <e39fbded-afda-55bc-32e5-805dd662ff4c@xs4all.nl> (raw)
In-Reply-To: <2038934832.155715.1601974232110@office.mailbox.org>
On 10/6/2020 10:50 AM, denis.maier.lists@mailbox.org wrote:
> Taco Hoekwater <taco@elvenkind.com <mailto:taco@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 more like a macro
>> processing language. Parsing and interpreting that should not be all
>> that hard, I expect. If I had to do this, I would convert the XML
>> <macro> tags into actual lua functions while parsing the XML. The
>> implied processing language is quite straightforward (unlike the
>> stack-based postfix language in bibtex bst files). I don’t have time
>> right now, but if someone reminds me in two months or so, I might have
>> a go at it.
that was indeed what stroke me when i saw the code: it's just some
simple language wrapped in angle bracked ... straightforward conversion
to lua seems not that hard (if statements mixed with some funcition calls)
> That would be great. I'll remind you, be sure.
>
> I agree the whole endeavour should be not to hard although there are
> some pitfalls, especially regarding disambiguation and so. Anyway, let's
> discuss details later, and let me know if I can be of any help, even if
> it's just cheerleading.
i was thinking of a mid winter cold evenings project -)
(so we can pick up this thread later)
Hans
-----------------------------------------------------------------
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 Wiki!
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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-10-07 10:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-04 20:58 Citeproc Denis Maier
2020-10-05 0:47 ` Citeproc Aditya Mahajan
2020-10-05 12:02 ` Citeproc Hans Hagen
2020-10-05 12:41 ` Citeproc Denis Maier
2020-10-05 19:19 ` Citeproc Aditya Mahajan
2020-10-05 12:55 ` Citeproc Denis Maier
2020-10-05 20:04 ` Citeproc Hans Hagen
2020-10-05 20:26 ` Citeproc Denis Maier
2020-10-06 7:25 ` Citeproc Taco Hoekwater
2020-10-06 8:50 ` Citeproc denis.maier.lists
2020-10-07 10:01 ` Hans Hagen [this message]
2020-10-07 11:04 ` Citeproc Denis Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e39fbded-afda-55bc-32e5-805dd662ff4c@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=denis.maier.lists@mailbox.org \
--cc=ntg-context@ntg.nl \
--cc=taco@elvenkind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).