mkdocs-bibtex icon indicating copy to clipboard operation
mkdocs-bibtex copied to clipboard

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

Open joseale2310 opened this issue 2 years ago • 6 comments

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.

joseale2310 avatar Aug 02 '23 12:08 joseale2310

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.

shyamd avatar Aug 10 '23 16:08 shyamd

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

joseale2310 avatar Aug 10 '23 17:08 joseale2310

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?

shyamd avatar Aug 10 '23 17:08 shyamd

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

joseale2310 avatar Aug 18 '23 07:08 joseale2310

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

jonaprieto avatar Jun 20 '24 01:06 jonaprieto

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.

IceflowRE avatar Jul 19 '24 21:07 IceflowRE