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

Task - Filter sources - Bibliography save - option to export styled bibliography #1652

Closed
4 tasks done
mjy opened this issue Aug 17, 2020 · 1 comment
Closed
4 tasks done
Assignees
Labels
enhancement Suggest an improvement to an existing function.

Comments

@mjy
Copy link
Member

mjy commented Aug 17, 2020

When I generate a bibliography, then I want to choose a style to generate the text in for the full citation version.

This goes slightly against our principles of letting external managers (Endnote) do the formating and integration, but it shouldn't be hard to do because the gems already wrap all these styles: https://github.com/citation-style-language/styles.

  • Create an endpoint that serves style names
  • Add "Download formatted" button (modal like Bibtex)
  • Add select to above modal with names
  • Add endpoint that serves formatted citations
@mjy mjy added the enhancement Suggest an improvement to an existing function. label Aug 17, 2020
@mjy mjy assigned mjy and jlpereira Aug 17, 2020
mjy added a commit that referenced this issue Aug 19, 2020
Warning, this adds 2-3 seconds to boot time, we may have to dump a hard copy
mjy added a commit that referenced this issue Aug 20, 2020
@mjy
Copy link
Member Author

mjy commented Aug 20, 2020

@jlpereira This is ready. Your two endpoints are like:

http://127.0.0.1:3000/sources/csl_types <- options for select, show value, send key like:

http://127.0.0.1:3000/sources/generate.json?query_term=yoder&per=500&page=1&style_id=http://www.zotero.org/styles/the-journal-of-pain

mjy added a commit that referenced this issue Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Suggest an improvement to an existing function.
Projects
None yet
Development

No branches or pull requests

2 participants