logseq-citation-manager icon indicating copy to clipboard operation
logseq-citation-manager copied to clipboard

Allow customization of author name's format

Open krillin666 opened this issue 2 years ago • 14 comments

Currently, the authors name are imported as [[last name]], [[first name]] which creates unnecessary pages and duplicates many authors name since the first or the last name can be a common name. In the Bibnotes plugin you can specify how the authors name is imported: image

Which looks like this in Logseq: image

krillin666 avatar Jul 18 '22 18:07 krillin666

Can you share your template? The plug-in shouldn't create pages unless you use {authors++} On 18 Jul 2022 at 10:50 PM +0400, krillin666 @.***>, wrote:

Currently, the authors name are imported as [[last name]], [[first name]] which creates unnecessary pages and duplicates many authors name since the first or the last name can be a common name. In the Bibnotes plugin you can specify how the authors name is imported: Which looks like this in Logseq: — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

sawhney17 avatar Jul 18 '22 18:07 sawhney17

I’m using Authors:: {author+} for the author's entry

krillin666 avatar Jul 18 '22 20:07 krillin666

Does author++ do a better job? Can you share the entry in the .bib file?

sawhney17 avatar Jul 19 '22 07:07 sawhney17

Hi there. Chiming in to say that I also have this issue. I've tried using {author} , {author+} and {author++}, and it creates pages for all of them. I had the thought that it might be a "feature" of Logseq though, since I've noticed that when I use the built-in Zotero integration it also automatically creates pages for each of the authors in the author:: attribute.

jacobtfisher avatar Jul 26 '22 22:07 jacobtfisher

Logseqs default behavior is now to make properties into pages. Which makes this a little difficult to deal with. On 27 Jul 2022 at 3:43 AM +0530, Jacob T. Fisher @.***>, wrote:

Hi there. Chiming in to say that I also have this issue. I've tried using {author} , {author+} and {author++}, and it creates pages for all of them. I had the thought that it might be a "feature" of Logseq though, since I've noticed that when I use the built-in Zotero integration it also automatically creates pages for each of the authors in the author:: attribute. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

sawhney17 avatar Jul 27 '22 09:07 sawhney17

Good point. As far as I can tell, the authors:: behavior is unique because it doesn't just create property values - it automatically wraps them in square brackets and makes each author an actual page. I assume it's something within the inner workings of the built-in Zotero integration. One thing that I've figured out as a workaround is to put the value for the authors:: property in quotes so it doesn't create pages. Something like the following:

original-title:: Design choices: Mechanism design and platform capitalism
date:: 2021-07-01
authors:: "Viljoen, S., Goldenfein, J., & McGuigan, L."
journal:: Big Data and Society
doi:: 10.1177/20539517211034312
uri:: http://zotero.org/users/5397735/items/LV5TPYGQ
select-link:: zotero://select/library/items/LV5TPYGQ

jacobtfisher avatar Jul 27 '22 15:07 jacobtfisher

Logseqs default behavior is now to make properties into pages. Which makes this a little difficult to deal with. On 27 Jul 2022 at 3:43 AM +0530, Jacob T. Fisher @.>, wrote: Hi there. Chiming in to say that I also have this issue. I've tried using {author} , {author+} and {author++}, and it creates pages for all of them. I had the thought that it might be a "feature" of Logseq though, since I've noticed that when I use the built-in Zotero integration it also automatically creates pages for each of the authors in the author:: attribute. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

Hey @sawhney17 , please see my original post (specially the screenshot). There I demonstrate how using the Bibnotes plugin in obsidian I get correctly formatted authors names in Logseq. In the Bibnotes plugin, I specify that authors name follow this format {first name} {last name}, so when the article gets imported Bibnotes writes the authors as authors:: {first name author1} {last name author1}, {first name author2} {last name author2}, etc

krillin666 avatar Aug 10 '22 15:08 krillin666

Cool. Got what you're saying. Will give it a go this week. On 10 Aug 2022 at 7:02 PM +0400, krillin666 @.***>, wrote:

Logseqs default behavior is now to make properties into pages. Which makes this a little difficult to deal with. … On 27 Jul 2022 at 3:43 AM +0530, Jacob T. Fisher @.>, wrote: Hi there. Chiming in to say that I also have this issue. I've tried using {author} , {author+} and {author++}, and it creates pages for all of them. I had the thought that it might be a "feature" of Logseq though, since I've noticed that when I use the built-in Zotero integration it also automatically creates pages for each of the authors in the author:: attribute. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hey @sawhney17 , please see my original post. There I demonstrate how using the Bibnotes plugin in obsidian I get correctly formatted authors names in Logseq. In the Bibnotes plugin, I specify that authors name follow this format {first name} {last name}, so when the article gets imported Bibnotes writes the authors as authors:: {first name author1} {last name author1}, {first name author2} {last name author2}, etc — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

sawhney17 avatar Aug 10 '22 17:08 sawhney17

@sawhney17 did you have any chance to have a look yet? It would really be a boon to usability if this could be made to work as requested by @krillin666

menelic avatar Aug 20 '22 19:08 menelic

Is there any ETA on this ? :smile:

krillin666 avatar Feb 06 '23 20:02 krillin666

flew under my radar, sorry. Will be adding this today On 7 Feb 2023 at 12:04 AM +0400, krillin666 @.***>, wrote:

Is there any ETA on this ? 😄 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

sawhney17 avatar Feb 07 '23 02:02 sawhney17

Thanks for adding a key functionality for academic an research use cases - It would be great if you could document this as well as the author+, ++ and pdf+ functionality in the readme. Increasingly, users with no knowledge of BibTeX are using it, so there is a need for a more detailed documentation of core functionality, ideally with a few screenshots or gif video.

menelic avatar Feb 07 '23 09:02 menelic

Any updates on configuring the output of {author} as requested by @krillin666 ?

tartakis avatar Jan 18 '24 15:01 tartakis

Hello, I'm here to support this feature request too ✋ I use this plugin now for about a week and absolutely love it, the only thing I dislike about it, that it translates **Authors**: {author+} in the template to something like:

Authors: He, Jie,Unser, Sarah,Bruzas, Ian,Cary, ReJeana,Shi, Zhiwei,Mehra, Rajesh,Aron, Kenneth,Sagle, Laura

Which is an ugly acculmulation of first and second names in an almost indistinguishable way. If implementing a customizable name format is too troublesome, please at least include a semicolon ; as separator between names and maybe improve the spacing.

alchemiker avatar Mar 10 '24 12:03 alchemiker