Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 7:01 PM, Joey McCollum wrote: Looks like it was just a small oversight on my part; I had to make sure I added a corresponding \s!btx:\s!list:\s!author:invertedfirst setup for list entries. Here's what finally works: ``` \startsetups \s!btx:\s!cite:\s!author:invertedfirst    

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
Looks like it was just a small oversight on my part; I had to make sure I added a corresponding \s!btx:\s!list:\s!author:invertedfirst setup for list entries. Here's what finally works: ``` \startsetups \s!btx:\s!cite:\s!author:invertedfirst \ifnum\currentbtxauthorindex>\plusone

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
Good suggestion! I removed my changes to publ-aut.lua for now and tried adding each of the two setups you described to publ-imp-author.mkvi (where it seemed to fit best). But simply specifying ``` \definebtx [sbl:\s!list:author] [sbl:\s!list] [\c!authorconversion=invertedfirst] ``` in my

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 5:06 AM, Joey McCollum via ntg-context wrote: All right, I figured out where I needed to make this change for it to take effect. The relevant script is publ-aut.lua. The code I needed to change was for the "oneauthor" function definition, which itself is located in the "btxauthor"

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-14 Thread Joey McCollum via ntg-context
All right, I figured out where I needed to make this change for it to take effect. The relevant script is publ-aut.lua. The code I needed to change was for the "oneauthor" function definition, which itself is located in the "btxauthor" function definition. My changes are detailed below: ```

[NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-03 Thread Joey McCollum via ntg-context
Hi, I mentioned this in an earlier e-mail but thought that now might be a good time to describe this issue in detail. I'd like to define a new authorconversion that renders the first author in a list differently than the remaining authors in the list. Specifically, I'd like to use the "inverted"