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

BibTex Improvements #3759

Closed
djbrooke opened this issue Apr 9, 2017 · 18 comments
Closed

BibTex Improvements #3759

djbrooke opened this issue Apr 9, 2017 · 18 comments

Comments

@djbrooke
Copy link
Contributor

djbrooke commented Apr 9, 2017

  • Clicking "BibTex" under "Citation Type" downloads a .bib file. Instead of downloading a .bib file, we should open a new browser tab with the BibTex citation.
  • In a BibTex citation, we should include all of the information that's shown in the Dataverse citation. Currently, UNF and version are left out of BibTex.

Example: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/QSZMPD

@pdurbin
Copy link
Member

pdurbin commented Apr 9, 2017

Related: #3140

@pameyer
Copy link
Contributor

pameyer commented Apr 10, 2017

Two questions about the first bullet point?

  • why is a new tab preferable over downloading a file? If a user is going to import it into a reference manager (which I'm relatively sure is the usual case), they'll need to download a file: so "new tab" -> "download" vs "download" is an extra step?
  • is there / should there be an API endpoint (or content-negotation) for downloading the citation?

@TaniaSchlatter
Copy link
Member

TaniaSchlatter commented Apr 11, 2017 via email

@djbrooke
Copy link
Contributor Author

This is a request from Gary. Other applications (Google Scholar) provide the .bib in a new tab and this preferable.

@jggautier
Copy link
Contributor

jggautier commented Apr 12, 2017

To the second point about including more info in the bibtex, these fields aren't showing up when importing citation into latex using standard bibtex setups:

  • UNF
  • Version
  • Publisher

UNF and version number aren't being exported at all.
The repository name is in the publisher field but seems to be ignored.

Exported bibtex from dataset @djbrooke linked to in Harvard Dataverse:

@data{QSZMPD_2017,
author = {King, Gary and Pan, Jennifer and Roberts, Margaret E.},
publisher = {Harvard Dataverse},
title = {Replication data for: How the Chinese Government Fabricates Social Media Posts for Strategic Distraction, not Engaged Argument},
year = {2017},
doi = {10.7910/DVN/QSZMPD},
url = {http://dx.doi.org/10.7910/DVN/QSZMPD}
}

@thegaryking
Copy link
Contributor

Please also remove the abstract field. it is a nice bit of metadata, but it is never used as part of a citation and just fills up your bibtex file with a lot of extra text.

these tickets should be attached to some planned release with a date. this is an old ticket.

@djbrooke
Copy link
Contributor Author

I moved this to the "Ready" column so that we can get this estimated in sprint planning next week. This one fell through the cracks, my fault.

@thegaryking - I'll stop by to learn more about your thoughts on the release planning process.

@sekmiller sekmiller removed their assignment Dec 4, 2018
@djbrooke
Copy link
Contributor Author

djbrooke commented Dec 4, 2018

@thegaryking We have a PR up for review with changes for everything requested except the abstract part. Can you provide a few more details about where you're seeing the abstract show up in BibTeX (or elsewhere)? Thanks!

@thegaryking
Copy link
Contributor

thegaryking commented Dec 4, 2018 via email

@sekmiller
Copy link
Contributor

Abstract ("description") is not part of the BibTex citation, but per Gary's comments above I have removed it from RIS and EndNote XML versions.

sekmiller added a commit that referenced this issue Dec 5, 2018
@pameyer pameyer self-assigned this Dec 5, 2018
@pameyer pameyer removed their assignment Dec 5, 2018
@kcondon kcondon self-assigned this Dec 5, 2018
@kcondon kcondon closed this as completed Dec 6, 2018
@kcondon kcondon removed the Status: QA label Dec 6, 2018
@thegaryking
Copy link
Contributor

thegaryking commented Dec 15, 2018 via email

@pameyer
Copy link
Contributor

pameyer commented Dec 16, 2018

On 2cd3a2a; unable to reproduce this behavior (no quotation marks seen in exported bibtex):

@data{FK2/HUBG7P_2018, author = {Finch, Fiona}, publisher = {Root}, title = {Darwin's Finches}, year = {2018}, version = {V1}, doi = {10.5072/FK2/HUBG7P}, url = {https://doi.org/10.5072/FK2/HUBG7P} }

@djbrooke
Copy link
Contributor Author

Hi @thegaryking, can you please link me to the citation where you're seeing this behavior? Thanks!

@thegaryking
Copy link
Contributor

thegaryking commented Dec 17, 2018 via email

@jggautier
Copy link
Contributor

So in the title field for bibtex files, Dataverse needs to turn open quote characters into two back ticks (``) and closed quote characters into two apostrophes ('').

This is because when LaTex sees the regular quote character next to some letters, like "A, it turns that string into a letter with a diaeresis, like Ä. Is that right? (That's what I understand from this stackoverflow question.)

@thegaryking
Copy link
Contributor

thegaryking commented Dec 17, 2018 via email

@pdurbin
Copy link
Member

pdurbin commented Dec 21, 2018

So in the title field for bibtex files, Dataverse needs to turn open quote characters into two back ticks (``) and closed quote characters into two apostrophes ('').

@jggautier created #5424 for the issue above about backticks.

@thegaryking
Copy link
Contributor

thegaryking commented Dec 21, 2018 via email

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

No branches or pull requests

9 participants