Only cite first line of a field

Users asking other users for bibliography formats.
Post Reply
paul77
Posts: 8
Joined: Thu Jan 23, 2020 5:57 pm

Only cite first line of a field

Post by paul77 »

I sometimes have more than one URL for a paper in the URL field. However, the citation should then typically only include the first of these URLs. Therefore, I am wondering whether it is possible to tell the formats manager to only cite the first line of the URL field. Suggestions very much welcome!
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Only cite first line of a field

Post by Jon »

No, sorry, that's not possible. I don't know what kinds of references you cite, but if they have DOIs, this sort of URL often will point to them online:

https://doi.org/10.xxxx -- the item after the last slash is where the DOI belongs.

You can create such a URL in the format by using

$https://doi.org/$u17

You might think about that, although even it it works for you it may not satisfy your publisher.

Jon
Sonny Software
paul77
Posts: 8
Joined: Thu Jan 23, 2020 5:57 pm

Re: Only cite first line of a field

Post by paul77 »

Thanks! I like the DOI solution. That will do for 80% of my cases.
Post Reply