Export JSON / BibLatex, italics within title field
Hi,
In Zotero I can use the HTML tag "<i>...</i>" within the title field. Rendering in Word or OpenOffice will work as expected. When exporting items, the tag will be kept when using CSL JSON (which is fine), but things get weird when exporting to BibLatex.
An example. Here is the CSL JSON export:
[
{
"id": "*****",
"type": "article-journal",
"title": "<i>-chen</i> und <i>-lein</i>. Überlegungen zu Problemen des sprachgeographischen Befundes und seiner sprachhistorischen Deutung",
"container-title": "Zeitschrift für Dialektologie und Linguistik",
"page": "2-27",
"volume": "54",
"issue": "1",
"author": [
{
"family": "Tiefenbach",
"given": "Heinrich"
}
],
"issued": {
"date-parts": [
[
"1987"
]
]
}
}
]
And this is the same item, exported to BibLatex:
@article{tiefenbach_<i>-chen</i>_1987,
title = {\textit{-chen} und {\textless}i{\textgreater}-lein{\textless}/i{\textgreater}. Überlegungen zu Problemen des sprachgeographischen Befundes und seiner sprachhistorischen Deutung},
volume = {54},
pages = {2--27},
number = {1},
journaltitle = {Zeitschrift für Dialektologie und Linguistik},
author = {Tiefenbach, Heinrich},
date = {1987}
}
This is getting problematic, of course, when using the exported bibliography with tools like Pandoc. The tag shouldn't be in the key (generated by Zotero), and the conversion in the title-field looks like a bug to me.
Any ideas?
- Matthias
In Zotero I can use the HTML tag "<i>...</i>" within the title field. Rendering in Word or OpenOffice will work as expected. When exporting items, the tag will be kept when using CSL JSON (which is fine), but things get weird when exporting to BibLatex.
An example. Here is the CSL JSON export:
[
{
"id": "*****",
"type": "article-journal",
"title": "<i>-chen</i> und <i>-lein</i>. Überlegungen zu Problemen des sprachgeographischen Befundes und seiner sprachhistorischen Deutung",
"container-title": "Zeitschrift für Dialektologie und Linguistik",
"page": "2-27",
"volume": "54",
"issue": "1",
"author": [
{
"family": "Tiefenbach",
"given": "Heinrich"
}
],
"issued": {
"date-parts": [
[
"1987"
]
]
}
}
]
And this is the same item, exported to BibLatex:
@article{tiefenbach_<i>-chen</i>_1987,
title = {\textit{-chen} und {\textless}i{\textgreater}-lein{\textless}/i{\textgreater}. Überlegungen zu Problemen des sprachgeographischen Befundes und seiner sprachhistorischen Deutung},
volume = {54},
pages = {2--27},
number = {1},
journaltitle = {Zeitschrift für Dialektologie und Linguistik},
author = {Tiefenbach, Heinrich},
date = {1987}
}
This is getting problematic, of course, when using the exported bibliography with tools like Pandoc. The tag shouldn't be in the key (generated by Zotero), and the conversion in the title-field looks like a bug to me.
Any ideas?
- Matthias
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
We'll try to fix this as soon as we can, but may take a little depending on how easily the relevant code from bibtex ports.
Thanks!
- Matthias