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

Add ability to export to plaintext and BibTeX #6

Open
kburk1997 opened this issue Nov 13, 2018 · 3 comments
Open

Add ability to export to plaintext and BibTeX #6

kburk1997 opened this issue Nov 13, 2018 · 3 comments
Labels
discussion On-going public discussion

Comments

@kburk1997
Copy link

As a LaTeX user, I want to generate BibTeX citations via the command line so that I can easily generate citations before compiling.

@aeksco
Copy link
Owner

aeksco commented Nov 13, 2018

Good deal! This is the second time I've heard this request this week - glad you opened the issue!

I think it's a solid plan and I've got an okay idea about how to implement it - I'll post an update shortly after I've got a moment to review the BibTeX standard.

I think how this would work from the user-side of things would be to write the BibTex snippet to stdout (current default behavior) and add a new flag so the result could be written to a file, i.e.

hardcider --tex -o myoutput.tex https://en.wikipedia.org/wiki/LaTeX

@kburk1997 LMK your thoughts - thanks!

@aeksco
Copy link
Owner

aeksco commented Nov 13, 2018

@kburk1997 Also when you've got a moment please post an sample BibTex snippet that would be suitable for a website. The following is what's returned for a default (MLA) website citation:

“John Coltrane.” Wikipedia, Wikimedia Foundation, 24 Oct. 2018, en.wikipedia.org/wiki/John_Coltrane.

If you could format that into a suitable BibTex snippet it would be hugely helpful - thanks!

@aeksco
Copy link
Owner

aeksco commented Nov 14, 2018

@kburk1997 I've added support for BibTeX in version 0.3.0 - I'll keep this ticket open for discussion since outputting the TeX to a file sounds like a valid use case

@aeksco aeksco added the discussion On-going public discussion label Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion On-going public discussion
Projects
None yet
Development

No branches or pull requests

2 participants