hayagriva icon indicating copy to clipboard operation
hayagriva copied to clipboard

Some DOIs fail to parse

Open miasb opened this issue 1 year ago • 2 comments

Hi,

i'm currently trying to do citations with clickable DOI links. It seems to work fine for all DOIs with numbers and letters in the link, but links with numbers don't show up for me.

Example:

serial-number:                                                                          
  doi: 10.1007/3-540-12721-6

Can someone reproduce this?

miasb avatar Jun 06 '24 13:06 miasb

I'm trying to reproduce it, with this minimal example:

main.typ

Book citation @density_book

#bibliography("citations.yml")

citations.yml

density_book:
    type: book
    title: "Density Functional Theory"
    serial-number: 
      doi: 10.1007/3-540-12721-6 

Produces this pdf with a clickable link.

What kind of citation style are you using?

extua avatar Jun 24 '24 14:06 extua

Thank you for the reply. I used the style "thieme". Omitting it solves the problem. Is this intentional behaviour?

miasb avatar Jun 26 '24 09:06 miasb

I used the style "thieme". Omitting it solves the problem. Is this intentional behaviour?

The Thieme style only prints the DOI for journal articles. Making the entry type article makes the DOI appear:

density_book:
    type: article
    title: "Density Functional Theory"
    serial-number: 
      doi: 10.1007/3-540-12721-6 

reknih avatar Oct 10 '24 14:10 reknih