Re: [Bibdesk-users] Length of acronym when generating a citekey

2021-03-17 Thread Christiaan Hofman


> On 17 Mar 2021, at 16:47, Mahmood Shafeie Zargar  wrote:
> 
> Dear Christiaan and The BibDesk Community,
> 
> I would like to make a citekey generator format that for the following entry:
> 
> @article{xxx,
>   author = {Slaughter, Andrew J and Koehly, Laura M},
>   journal = {Social networks},
>   pages = {334--345},
>   title = {Multilevel models for social networks: Hierarchical Bayesian 
> approaches to exponential random graph modeling},
>   volume = {44},
>   year = {2016}}
> 
> yields Slaughter2016mms. That is, First Author + Year + 3 First Letters of 
> the Acronym.
> 
> I have tried %p1%Y%c{Title}3, and BibDesk does accept 3 as a parameter for 
> %c, but that has no effect. Why does acronym take a number parameter, and 
> what can it mean, other than the number of letters (number of words doesn't 
> make any sense for an acronym that is by default one word only). 
> 
> Also, is there any way to transform acronyms into lower case?
> 
> 
> Thanks!
> Mahmood 

The number does not indicate the number of words/characters to use, but the 
maximum word length for words to ignore. What you want is not possible. As for 
the lower case, you cannot selectively make the acronym lowercase, only the 
whole generated key.

Christiaan

___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


[Bibdesk-users] Length of acronym when generating a citekey

2021-03-17 Thread Mahmood Shafeie Zargar
Dear Christiaan and The BibDesk Community,

I would like to make a citekey generator format that for the following entry:

@article{xxx,
author = {Slaughter, Andrew J and Koehly, Laura M},
journal = {Social networks},
pages = {334--345},
title = {Multilevel models for social networks: Hierarchical Bayesian 
approaches to exponential random graph modeling},
volume = {44},
year = {2016}}

yields Slaughter2016mms. That is, First Author + Year + 3 First Letters of the 
Acronym.

I have tried %p1%Y%c{Title}3, and BibDesk does accept 3 as a parameter for %c, 
but that has no effect. Why does acronym take a number parameter, and what can 
it mean, other than the number of letters (number of words doesn't make any 
sense for an acronym that is by default one word only).

Also, is there any way to transform acronyms into lower case?


Thanks!
Mahmood
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users