Re: [NTG-context] Command for specifying et al limit

2022-09-27 Thread Alan Braslau via ntg-context
On Tue, 27 Sep 2022 13:33:20 +
jethro Reuel via ntg-context  wrote:

> I want something like:
> 
> Bronstein et al. says in their paper…
> 
> I found the etaldisplay affects the display of the references and I
> don’t want that. 

Try

\setupbtx[apa:cite]

and leave [apa:list] alone.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Command for specifying et al limit

2022-09-27 Thread jethro Reuel via ntg-context
Dear Alan, 

Thanks again for all your help.

Deleting the definebtxrendering[ref] part makes my citations disappear. I get 
something like:

 says in their paper…

Also, the setupbtx[apa:list]… doesn’t solve my etallimit problem.

Could you test my code and tweak it for me? Can’t find examples of what I want 
to achieve in the mailing list archives although it seems it should be fairly 
straightforward. I want something like:

Bronstein et al. says in their paper…

I found the etaldisplay affects the display of the references and I don’t want 
that. 

Jethro 

> On 27 Sep 2022, at 04:13, Alan Braslau via ntg-context  
> wrote:
> 
> On Mon, 26 Sep 2022 21:40:14 -0600
> Alan Braslau via ntg-context  wrote:
> 
>>> On Sat, 24 Sep 2022 18:57:25 +
>>> Jethro Djan via ntg-context  wrote:
>>> 
>>> \setupbtx[
>>>  dataset=ref,
>>>  etaldisplay = 1,
>>>  etallimit = 1,
>>> ]
>> 
>> Remove extra spaces.
> 
> Sorry,
> 
> Try
> 
> \setupbtx
>  [apa:list]
>  [etaldisplay=1,
>   etallimit=1]
> 
> and drop the 
> 
> \definebtxrendering
>  [ref]
> 
> 
> I have not tested your example, but the bibliography subsystem creates
> many inherited namespaces, so changing parameters in a general
> namespace after inheritance has occurred (in the definitions) has no
> effect.
> 
> Of course, the etaldisplay and etallimits are set to the APA standard
> in the APA definitions.
> 
> Alan
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Command for specifying et al limit

2022-09-26 Thread Alan Braslau via ntg-context
On Mon, 26 Sep 2022 21:40:14 -0600
Alan Braslau via ntg-context  wrote:

> On Sat, 24 Sep 2022 18:57:25 +
> Jethro Djan via ntg-context  wrote:
> 
> > \setupbtx[
> >   dataset=ref,
> >   etaldisplay = 1,
> >   etallimit = 1,
> > ]
> 
> Remove extra spaces.

Sorry,

Try

\setupbtx
  [apa:list]
  [etaldisplay=1,
   etallimit=1]

and drop the 

\definebtxrendering
  [ref]


I have not tested your example, but the bibliography subsystem creates
many inherited namespaces, so changing parameters in a general
namespace after inheritance has occurred (in the definitions) has no
effect.

Of course, the etaldisplay and etallimits are set to the APA standard
in the APA definitions.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Command for specifying et al limit

2022-09-26 Thread Alan Braslau via ntg-context
On Sat, 24 Sep 2022 18:57:25 +
Jethro Djan via ntg-context  wrote:

> \setupbtx[
>   dataset=ref,
>   etaldisplay = 1,
>   etallimit = 1,
> ]

Remove extra spaces.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Command for specifying et al limit

2022-09-24 Thread Jethro Djan via ntg-context
Dear list,

I am trying to specify that 'et al’ should be appended after the first author 
if paper has multiple authors. It seems from the mkiv-publications.pdf manual 
that it should work like this but it doesn’t. Here is my MWE:

\startbuffer[ref]

@Article{bb:2017,
  author  = {Bronstein, Michael M. and Bruna, Joan and Cohen, Taco and 
Veličković, Petar},
  journal = {arXiv preprint arXiv:2104.13478},
  title   = {Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and 
Gauges},
  year= {2021},
}

\stopbuffer

\definebtxdataset[ref]
\setupbtx[dataset=ref]
\definebtxrendering
[ref]
[apa]
[
dataset=ref,
]
\usebtxdefinitions[apa]
\usebtxdataset[ref][ref.buffer]
\setupbtx[
  dataset=ref,
  etaldisplay = 1,
  etallimit = 1,
]

\starttext

\cite[author][bb:2017] says in their paper \cite[bb:2017] 

\startsection[title={References}, number=no, incrementnumber=no]
\placelistofpublications[ref][method=dataset]
\stopsection

\stoptext

Thanks in advance.

Jethro



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___