Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export bibtex to a string #44

Open
tpoisot opened this issue Nov 15, 2021 · 2 comments
Open

Export bibtex to a string #44

tpoisot opened this issue Nov 15, 2021 · 2 comments

Comments

@tpoisot
Copy link

tpoisot commented Nov 15, 2021

Is there a way to turn a bibtex string into a formatted citation using this package? I can get the parsed citation with import_bibtex, but I'm looking for the next step, so to speak.

@Azzaare
Copy link
Member

Azzaare commented Nov 17, 2021

I really need to work on the documentation … The next commands should work.

"path/to/bibfile.bib" |> import_bibtex |> export_bibtex
# or
"your bib string"  |> import_bibtex |> export_bibtex

I should provide format and convert methods for the convenience of everyone.

@tpoisot
Copy link
Author

tpoisot commented Nov 17, 2021

I ended up going with the function to format for webpages, and used the fields with names, title, in, etc. It works well enough! Thanks for the package, super useful!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants