Page 1 of 1

Only cite first line of a field

Posted: Fri Jul 12, 2024 6:56 am
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!

Re: Only cite first line of a field

Posted: Fri Jul 12, 2024 9:19 am
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

Re: Only cite first line of a field

Posted: Fri Jul 12, 2024 2:16 pm
by paul77
Thanks! I like the DOI solution. That will do for 80% of my cases.