typst / hayagriva

Rusty bibliography management.
Apache License 2.0
289 stars 44 forks source link

Some DOIs fail to parse #178

Open miasb opened 1 month ago

miasb commented 1 month ago

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?

extua commented 1 week ago

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?

miasb commented 1 week ago

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