vkaravir / bib-publication-list

Interactive publications lists with JavaScript + Bibtex
132 stars 63 forks source link

Fixes for missing years and unknown entry types #7

Closed michalgregor closed 10 years ago

michalgregor commented 10 years ago

Hi, I intend to use your excellent tool for my website. However, it had trouble with some of my bibtex entries – no output at all was produced when a year was missing, or when a publication type was used that is allowed by the BibTex Parser, but does not have its own bib2html handler.

I have fixed this by setting the year to 'To Appear' if missing, and falling back on 'misc' if there is no dedicated handler. I have also modified the example.html file slightly so that you have something to check this against.

vkaravir commented 10 years ago

Thanks for the code and ideas. I merged the changes manually as I made small improvements to use the inproceedings handler for conference type and made the default year configurable. Thanks again!