GetRD / academic-file-converter

📚 Import Bibtex publications and Jupyter Notebook blog posts into your Markdown website or book. 将Bibtex转换为Markdown网站
https://docs.hugoblox.com/reference/content-types/#automatically-import-publications-from-bibtex
MIT License
352 stars 102 forks source link

Issues with folder names while importing bibtex entry #123

Closed dcoeurjo closed 11 months ago

dcoeurjo commented 11 months ago

After a clean reinstall of academic (pip install -U academic), I've got several issues importing a bibtex entry:

Have you already experimented such a thing ?

(academic version: 0.8.1)

gcushen commented 11 months ago

(academic version: 0.8.1)

v0.8.1 is a very old version from 2021. Try to use the latest version (v0.9.1) and it should work successfully.

without the --normalize the tool does not follow the bibtex tag when creating the folder. (eg. tag doigniesQMCDiffusion → folder doignies-qmc-diffusion)

This is the intended design based on web best practices and Hugo's URL structures.

dcoeurjo commented 11 months ago

Thanks for the feedback. I was following the install instructions in the readme. Should I use :

   pip install -U git+https://github.com/wowchemy/bibtex-to-markdown.git 

?

gcushen commented 11 months ago

The installation is the same as any other Python package. You can use the same installation command from the GitHub README: pip3 install -U academic. For more info, refer to Pypi: https://pypi.org/project/academic/

Alternatively, you can also try an even easier installation with Pipx (pipx install academic) which will automatically install the correct Python version for you in a dedicated environment.

dcoeurjo commented 11 months ago

That is strange.. but the pip install gives me the 0.8.1. I'll try with pipx

Thanks for your help

dcoeurjo commented 11 months ago

All good with pipx... (not sure what's wrong with my pip..)

Thanks for your help