Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
Nevermind, it looks like there's an even more deliberate and succinct way to handle this! In publ-ini.mkiv, the \currentbtxciteauthorbyfield command shows how to print the author field mapped according to the cite style: ``` \unexpanded\def\currentbtxciteauthorbyfield {\begingroup

Re: [NTG-context] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
On 8/26/2021 03:26, Taco Hoekwater wrote: Hi Rik, On 26 Aug 2021, at 03:14, Rik Kabel via ntg-context wrote: List, I am trying to create an index with both "see" and "see also" cross-reference entries.[1] At this point, ConTeXt provides basic support for "see" entries via the \seeREGISTER

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
Okay, I've made some progress! Thankfully, the authorconversion rules can be overridden using some of the methods defined in publ-ini.mkiv. I now have something like this in my rendering's .mkvi file: ``` \doifelse {\currentbtxcitealternative} {entry} { % Normal order for in-text citations

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 26.08.2021 um 19:06: Hi, Using this (almost what I'm trying to do) without success [...] \startsetups[header] \doifelse{\totalnumberofpages}{1} {\setupheadertexts[\setups{header}]}     {} \stopsetups This stores the page check in the setups

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Fabrice Couvreur via ntg-context
Hi, Using this (but it's not exactly what I want) it works test-1.tex %% \setuppagenumbering [alternative=doublesided,location=] \definelayout [1] [header=10mm] \setuplayout [header=0pt, height=middle] \setupbackgrounds [header] [text]

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Wolfgang Schuster via ntg-context
Taco Hoekwater via ntg-context schrieb am 26.08.2021 um 16:34: Hi, On 26 Aug 2021, at 16:07, Fabrice Couvreur via ntg-context wrote: Hi, I know I asked the question a few years ago, but I don't remember ! The idea is to test whether the document contains only one page or not. Perhaps not

Re: [NTG-context] layer disappears when showframe is set

2021-08-26 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 26.08.2021 um 14:46: Hi, this sample shows that the image in a layer in header disappears if showframe is set. \setupexternalfigures[location=default] \definelayer[Cow] [x=0, y=0] \setlayer[Cow] [x=10em, y=0mm] {\externalfigure[cow][height=\lineheight]}

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Taco Hoekwater via ntg-context
Hi, > On 26 Aug 2021, at 16:07, Fabrice Couvreur via ntg-context > wrote: > > Hi, > I know I asked the question a few years ago, but I don't remember ! > The idea is to test whether the document contains only one page or not. Perhaps not the nicest solution, but this works:

[NTG-context] Test for displaying a header

2021-08-26 Thread Fabrice Couvreur via ntg-context
Hi, I know I asked the question a few years ago, but I don't remember ! The idea is to test whether the document contains only one page or not. If it contains only one page, the header is enabled. If it contains several pages, the header is enabled only on the first page but not on the others.

[NTG-context] layer disappears when showframe is set

2021-08-26 Thread juh via ntg-context
Hi, this sample shows that the image in a layer in header disappears if showframe is set. \setupexternalfigures[location=default] \definelayer[Cow] [x=0, y=0] \setlayer[Cow] [x=10em, y=0mm] {\externalfigure[cow][height=\lineheight]} \setupbackgrounds[header][background=Cow] \showframe

Re: [NTG-context] Indexing redux

2021-08-26 Thread Taco Hoekwater via ntg-context
Hi Rik, > On 26 Aug 2021, at 03:14, Rik Kabel via ntg-context > wrote: > > List, > > I am trying to create an index with both "see" and "see also" cross-reference > entries.[1] At this point, ConTeXt provides basic support for "see" entries > via the \seeREGISTER command (it does not