Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
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

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
Okay, that's all clear enough. Thank you. I'll keep working at it. Julian On 16/4/21 11:08 pm, Hans Hagen wrote: On 4/16/2021 12:22 PM, jbf wrote: There was no mention of the indicator anywhere in what I copied from your example. I did try indicator=no just now in case it should be made

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
I did, actually. But maybe I can play with that a bit further. My first attempt at doing that was unsuccessful (when I got to 'z' I thought I might be able to then go 'za' etc). I'll keep playing, but Hans' luacode approach might ultimately be the solution for me. He's given me the principles;

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
You are correct on both counts; it is not quite random (just not what I was looking for ) and yes, the abbreviated book title needs to be in the mix as well, just in case it also ends up throwing things out. But, as you can see subsequently, each contribution is making things clearer (for me,

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
On 4/16/2021 12:22 PM, jbf wrote: There was no mention of the indicator anywhere in what I copied from your example. I did try indicator=no just now in case it should be made explicit: You use a couple of chartacters that will be filtered (crlf and so). Try weird ones, like:

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Hans Åberg
> On 16 Apr 2021, at 10:36, Thomas A. Schmitz > wrote: > > On 4/16/21 10:26 AM, Hans Åberg wrote: >>> That it doesn’t update in the background is more a feature than a bug, >>> otherwise it would complain about broken/unavailable files during the TeX >>> runs. >> It is likely a bug: It has

Re: [NTG-context] register for biblical citations

2021-04-16 Thread r . ermers
It seems that the items are actually not randomly listed. It appears to me that the list is sorted on the chapter number, and then the verse number. The abbreviated book title is not involved in this sorting order, which it should be. Robert > Op 16 apr. 2021, om 12:22 heeft jbf het

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Henning Hraban Ramm
> Am 16.04.2021 um 11:47 schrieb jbf : > > So, not sure where to go from here. Could I perhaps return to my earlier > question, which indicated that by using the keyword approach [a] [b] and so > on, as far as [z] I was at least getting a passable result, but how could I > continue past [z]?

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
There was no mention of the indicator anywhere in what I copied from your example. I did try indicator=no just now in case it should be made explicit: (\setupregister[bibcit][language=biblical,before=,indicator=no] but that makes no difference either. Same result. Seemingly random index.

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
On 4/16/2021 11:47 AM, jbf wrote: Hans, thanks for your ingenious solution but there is still a way to go I suspect! I implemented (copy-paste) precisely the solution offered and I get an index but with some strange results ! Notice that in my previous own solution (but only as far as 26

[NTG-context] No space between \cite and next word.

2021-04-16 Thread Mikael Sundqvist
Hi, I think there has been some change recently. Is it on purpose that there is no space after the \cite. Look how the parenthesis that ends the citation and the word "text" are set without space inbetween. /Mikael \startbuffer[mybib] @article{a, author = {An Author}, title = {A title},

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
Hans, thanks for your ingenious solution but there is still a way to go I suspect! I implemented (copy-paste) precisely the solution offered and I get an index but with some strange results ! Notice that in my previous own solution (but only as far as 26 books!) I at least got an index in the

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Thomas A. Schmitz
On 4/16/21 10:26 AM, Hans Åberg wrote: That it doesn’t update in the background is more a feature than a bug, otherwise it would complain about broken/unavailable files during the TeX runs. It is likely a bug: It has worked in some past versions. It still works for me (I'm on the latest

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Hans Åberg
> On 15 Apr 2021, at 11:45, Henning Hraban Ramm wrote: > >> Am 15.04.2021 um 10:26 schrieb Hans van der Meer : >> >> Allthough a new pdf is created, this is not opened. If the pdf is open in >> Preview already, it is not updated unless switching to the Preview >> application. >> >> It

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
On 4/15/2021 11:28 AM, jbf wrote: My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6 (and so one for each Genesis reference, then moving on to Leviticus with [b] etc.) In other words, I have used the key