neuropoly / bibeasy

Set of tools to manage academic bibliography
Apache License 2.0
0 stars 0 forks source link

Wiki integration #5

Open kousu opened 2 years ago

kousu commented 2 years ago

There's a sphinx extension sphinxcontrib.bibtex that handles citations and bibliography generation from .bib files.

To generate a bibliography, you just have to write this rST directive

.. bibliography::
   :all:

(and I think probably to do the equivalent in markdown would be

```{bibliography}
   :all:
```

)

So I think that focusing on my suggestion in https://github.com/neuropoly/neuropoly-docs/issues/20 and on exporting to .bib in this repo is a better way to solve that than writing an exporter to .md; so I'd drop that -o file.md from neuropoly/bibeasy#6

kousu commented 2 years ago

This depends on It has a way to control the order too: https://sphinxcontrib-bibtex.readthedocs.io/en/latest/usage.html#bibtex-custom-formatting

it looks like maybe you have to write a short python function to do it? I'm not really sure but it exists so I'm confident it's a functional solution.