MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

Noticed a issue when rendering a citation for a quarto article. I write my name with initials in the author yml:

author: "Matthew J. C. Crump"

The bibtex citation generated at the bottom of the article merges the initials onto the last name.

author = {J.C.Crump, Matthew}

It should be

author = {Crump, Matthew J. C.}

Anyone come across this and know of a solution?

wjd,

@MattCrumpLab You can break down the author and name fields to get more specific. Try:

author:   
- name:  
 given: Matthew J. C.  
 family: Crump  
MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

@wjd Woohoo! Thank you so much! I got that to work.

RossGayler,
@RossGayler@aus.social avatar

@MattCrumpLab is that actually a quarto issue? In my writing workflow, RStudio fetches the bibtex citation from the zotero reference manager - so quarto doesn't touch the references other than to render them. If I were having your problem and the name was correctly formatted inside zotero then I would suspect something to do with the zotero export process (converting from internal format to external bites format). Of course, your setup might be completely different.

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

@RossGayler Thanks for the response. To clarify, this is not an issue with importing references. The issue appears to be with Quarto's functionality for producing citeable articles.

https://quarto.org/docs/authoring/create-citeable-articles.html

In this case, including a citation object in the yaml for the quarto document produces a copiable bibtex reference at the end of the quarto document. But, it prints the bibtex reference incorrectly when there are middle initials.

RossGayler,
@RossGayler@aus.social avatar

@MattCrumpLab Ah. That looks like a design problem. Looking at the YAML example it's easy to see how that could go wrong - there's no information to indicate where words between the first and last name belong. Too bad if your name is (Matthew J.C.) (de Crump). Could you group the names with quotes or something along that line?

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

@RossGayler Ha, ya that person is out of luck. I tried a few different things already, including Matthew {J. C.} Crump, and similar, to no avail.

I happened on this a couple weeks back and recall finding a discussion of this on a github issues page, but I can't find that now. I'll likely head over there and report this.

Otherwise, it happens that I am using the Zotero workflow you mentioned earlier, and that has worked flawlessly. Thanks and @zotero !

RossGayler,
@RossGayler@aus.social avatar

@MattCrumpLab Good luck!

(Is there such a thing as a unicode or html nonbreaking space you could use to append the initals to the first name?)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • magazineikmin
  • mdbf
  • GTA5RPClips
  • everett
  • rosin
  • Youngstown
  • tacticalgear
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • tester
  • JUstTest
  • ethstaker
  • cubers
  • osvaldo12
  • cisconetworking
  • Durango
  • InstantRegret
  • normalnudes
  • Leos
  • modclub
  • anitta
  • provamag3
  • megavids
  • lostlight
  • All magazines