Skip to content

In BibTex exports, convert quote characters so LaTex displays quotes #5424

@jggautier

Description

@jggautier

In the title field for BibTex files, Dataverse needs to turn opening quote characters into two back ticks (``) and closing 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 Ä. In other cases, maybe when the letter is a consonant and wouldn't get a diaeresis, it looks like it uses the closing quote, twice.

So in this BibTex...

@data{DVN/NMCOBF_2018,
author = {Klasnja, Marko and Chauchard, Simon and Harish, S.P.},
publisher = {Harvard Dataverse},
title = {Replication Data for: "Getting Rich Too Fast? Voters' 
Reactions to Politicians' Wealth Accumulation"},
year = {2018},
doi = {10.7910/DVN/NMCOBF},
url = {https://doi.org/10.7910/DVN/NMCOBF}
}

... the quotes in the title field should look like:

title = {Replication Data for: ``Getting Rich Too Fast? Voters' 
Reactions to Politicians' Wealth Accumulation''},

And LaTex will turn those back ticks and apostrophes into opening and closing quotes.

Here's a published dataset on Harvard Dataverse with regular quotes in the dataset title.

This was reported in #3759 and described in this stackoverflow question.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions