shyamd / mkdocs-bibtex

A MkDocs plugin for citation management using bibtex
Other
74 stars 21 forks source link

Possibility to add render all references in bib file in first page #203

Open joseale2310 opened 1 year ago

joseale2310 commented 1 year ago

Hi! The plugin works very well for showing citations in each page. Thank you very much!

I would really like to be able to put in my index.md file the full bibliography used for the entire webpage. It seems the \full_bibliography or \bibliography commands do not work at all. Is there a way to accomplish this?

Best regards,

Alex.

shyamd commented 1 year ago

This is a quirk of how mkdocs processes pages. The markdown is provided in one pass starting from the index, so the plugin has no idea of which citations have been used. I generally recommend the full bibliography is on one of the last pages.

joseale2310 commented 1 year ago

Maybe i should have clarified, is it possible to render the entire references.bib file using a command such as \full_bibliography?

shyamd commented 1 year ago

That's not currently a feature, but definitely doable. It will take some reorganizing of the logic as the citations are generated as they are found in the text to enable all the ways in which citation references can be customized. This isn't something I'm going to get to soon, but can definitely outline a plan if you want to tackle it and submit a PR?

joseale2310 commented 1 year ago

My knowledge is not that great that I could do it, sorry! :( It would be nice to have it, though. Thanks for you answers.

jonaprieto commented 2 months ago

Hi, please provide steps to implement this as soon as possible. I'm planning to fix this issue.

IceflowRE commented 1 month ago

https://github.com/shyamd/mkdocs-bibtex/compare/main...IceflowRE:mkdocs-bibtex:main

Iam not happy with the performance but you can use this as a starting point.