vkaravir / bib-publication-list

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

Multiple publication tables in a single HTML file? #6

Closed isoboroff closed 9 years ago

isoboroff commented 11 years ago

I was trying to make multiple lists of publications for a survey webpage. However, if I add a second table and

 section (with new ids, of course) and call bibtexify on them, I only get the first table.

My first attempt at this was to just break up the listing in example.html and add a new table with a new id. Only the first table is generated in this case.

In my second try, I renamed both tables ("books" and "papers") and gave them a class of "bibtex". This gets a DataTables warning: Unable to re-initialise DataTable. Please use the API to make any configuration changes required. Does this mean that the code implies a single datatable?

vkaravir commented 11 years ago

I hadn't really thought about using it for multiple tables on one page, so it doesn't really work properly. But there is no reason for it not to be possible. So I'll see what I can do to fix this. That won't happen before next week, though.

vkaravir commented 11 years ago

Should be fixed now. Could you confirm that it works for you as well?