[NTG-context] Unable to install lmtx

2021-09-15 Thread Alain Delmotte via ntg-context
Hi! I can't anymore install ConTeXt lmtx and wanted to use PPCHTeX and I always got an error message. So I wanted to run mtxrun --generate, but the access was denied. I then wanted to run the last install.bat (I am on Windows 10) but I always get a message from

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] Changing the style of author’s surname in a custom bibliographical style

2021-09-15 Thread Tomáš V via ntg-context
I’ve found an answer to my first problem. The functions, that print out the names in the list, are defined in publ-imp-author.mkvi. I copied the responsible function to publ-imp-iso690.mkiv, edited one line (see code below) and everything works as intended. Tomáš % publ-imp-iso690.mkiv

[NTG-context] Number conversion in btxlist and citations

2021-09-15 Thread kauśika cittūr via ntg-context
Dear all, I have a simple btx definition 'mylist' for which I have written a simple publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have ⋮ \definebtx [mylist] [default=default,specification=mylist] \definebtxrendering [mylist] [specification=mylist] \setupbtxlist

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] PDF metadata and pdfx keys

2021-09-15 Thread kauśika cittūr via ntg-context
On Wednesday, September 15, 2021 6:07:09 PM IST Hans Hagen wrote: > On 9/15/2021 1:27 PM, kauśika cittūr via ntg-context wrote: > > On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote: > >> Dear all, > >> > >> In my documents I use > >> \setupinteraction > >> > >> [ > >>

Re: [NTG-context] PDF metadata and pdfx keys

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 1:27 PM, kauśika cittūr via ntg-context wrote: On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote: Dear all, In my documents I use \setupinteraction [ author={AuthorName}, title={MyTitle}, subtitle={MySubtitle}, ] to set the

Re: [NTG-context] PDF metadata and pdfx keys

2021-09-15 Thread kauśika cittūr via ntg-context
On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote: > Dear all, > > In my documents I use > \setupinteraction > [ > author={AuthorName}, > title={MyTitle}, > subtitle={MySubtitle}, > ] > to set the document metadata. I also use > \startluacode >

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] improve bad habits deduplicate redundant defined values

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 8:40 AM, juh via ntg-context wrote: Dear all, these are quite general questions but here they come. I defined modular styles for an organisation so that we can use different layouts with the same look and feel but still have many options to change things in a special document. I

[NTG-context] improve bad habits deduplicate redundant defined values

2021-09-15 Thread juh via ntg-context
Dear all, these are quite general questions but here they come. I defined modular styles for an organisation so that we can use different layouts with the same look and feel but still have many options to change things in a special document. I have styles for colors, fonts which are used