From: jbf <roma83537@gmail.com>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: register for biblical citations
Date: Sat, 17 Apr 2021 15:04:36 +1000 [thread overview]
Message-ID: <eecfbcdd-cf90-0594-25fd-1380ce98154b@gmail.com> (raw)
In-Reply-To: <66b8c942-b7b1-7f8b-5177-411fd8009948@xs4all.nl>
You will be happy to know that this works perfectly, and naturally I
extended the pattern to cover another 30 books or so. I don't
necessarily understand the Lua code, but I did take the trouble to look
through sort-ini.lua to get some kind of idea of what was happening and
basically to understand where you were getting things like: sorters and
interfaces.variables.before from. At least I could see that much!
Thank you Hans,
Julian
On 16/4/21 11:08 pm, Hans Hagen wrote:
> sorters.definitions["biblical"] = {
> method = interfaces.variables.before,
> replacements = {
> { "Gen", utf.char(0xFF01) },
> { "Ex", utf.char(0xFF02) },
> { "Lev", utf.char(0xFF03) },
> { "Deut", utf.char(0xFF04) },
> { "Lam", utf.char(0xFF05) },
> { "Dan", utf.char(0xFF06) },
> { "Joel", utf.char(0xFF07) },
> { "Ps", utf.char(0xFF08) },
> { "Prov", utf.char(0xFF09) },
> { "Sir", utf.char(0xFF0A) },
> { "Mt", utf.char(0xFF0B) },
> { "Mk", utf.char(0xFF0C) },
> },
> }
___________________________________________________________________________________
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:[~2021-04-17 5:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-14 21:16 jbf
2021-04-15 8:08 ` Hans Hagen
2021-04-15 9:28 ` jbf
2021-04-16 7:24 ` Hans Hagen
2021-04-16 9:47 ` jbf
2021-04-16 10:06 ` Hans Hagen
2021-04-16 10:22 ` jbf
2021-04-16 10:57 ` r.ermers
2021-04-16 22:33 ` jbf
2021-04-16 13:08 ` Hans Hagen
2021-04-16 22:39 ` jbf
2021-04-17 5:04 ` jbf [this message]
2021-04-17 7:10 ` Hans Hagen
2021-04-16 10:54 ` Henning Hraban Ramm
2021-04-16 22:37 ` jbf
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=eecfbcdd-cf90-0594-25fd-1380ce98154b@gmail.com \
--to=roma83537@gmail.com \
--cc=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
/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).