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
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
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
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
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]
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
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]}
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:
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.
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
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
11 matches
Mail list logo