shyamd / mkdocs-bibtex

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

Possibility to insert a bibliography item inline, with footnote reference disabled (=manual bibliography with generated style) #225

Open smarie opened 9 months ago

smarie commented 9 months ago

Hi, thanks a lot again for this plugin ! I am trying to use it to create a simple publications page for my personal website. Basically I would just like to create a page with a few sections, and insert in each section a bullet list with bibliographic items styled correctly leveraging pandoc + CSL.

I cannot manage to get it work because

The current workaround I found is

Still, the result is not ideal. Indeed bib_by_default=false still inserts the footnotes references [^1], and since the bib is not generated they hang here in the resulting page

image

I see two features to create to get to something working:

The combination of these two options would be reaching my objective, which is to insert at any place in the markdown document, an inlined bibliography item with the styling done by pandoc.

If you are ok with the above two features, I can make a pull request.

shyamd commented 9 months ago

Your solution sounds good to me. Please make a PR and thanks for your contributions.

JPapir commented 1 month ago

Hi ! I agree thanks a lot ! Since I'm also interested in this issue, I tried to implement it. I just opened a PR.

I hope my approach fits your expectations on this issue, I am not very experienced in contributing to python projects.