Bug: BibTeX export: don't escape LaTeX special chars in url field
As title says.
The BibTeX translator currently escapes LaTeX special chars (#$%&~_^\) in all fields. This should not be done for the 'url' field.
As an example, for a given url http://a.b/c_d
Zotero exports
url = { http://a.b/c\_d }
whereas the expected output is
url = { http://a.b/c_d }
Tested using the 2007-11-07 version of the BibTex translator.
The BibTeX translator currently escapes LaTeX special chars (#$%&~_^\) in all fields. This should not be done for the 'url' field.
As an example, for a given url http://a.b/c_d
Zotero exports
url = { http://a.b/c\_d }
whereas the expected output is
url = { http://a.b/c_d }
Tested using the 2007-11-07 version of the BibTex translator.
A citation title says
a) "blabla blah BaTiO3 blaaaaah"
b) "blabla blah BaTiO$_3$ blaaaaah"
and the exports are
a) {BaTiO3}
b) {BaTiO\$\_3\$}
none is correct to include into a tex file without previous manual correction to {BaTiO$_3$}. What I miss is a TeX encoding amongst the big bunch of other encodings (Arab, Chinese, etc). I do not know for Arab or Chinese, but for European languages one can export any character to TeX encoding.
In this specific example, you can use UTF-8 to get what you want: BaTiO₃ will be exported as "{BaTiO₃}" if you are using UTF-8 export or as "{BaTiO$_{3}$}" if you are using a different character set. These work if you can use a UTF-8 BibTeX file There are very few commonly-used entities for the non-western characters. Zotero does have extensive mappings between UTF-8 and LaTeX entities if you require an ISO 8859 bibtex file.
Also, the button warns you that new and modified translators and styles will be lost.
I see and I can reproduce a valid export now. I have tried that for some UTF-8 characters. Only that, it was a pain to find some characters. Has been an option considered to export/show a note related to a citation entry in UTF-8 encoding? I write "BaTiO₃ and BaTiO3" and when copying to the title the sub's tag is lost.
In other words, I could not find a straightforward way how to paste an UTF-8 character into the entry. Some characters are exported when saving an "encoding text" in OpenOffice, some can be found and copied from a webpage. Is there a way how to write in UTF-8 directly from keyboard?
Thanks for any opinion, Z
Far-infrared soft-mode behavior in PbSc1/2Ta1/2O₃ thin films
Should look similar to ad have an UTF-8 character for subscript(1/2):
Far-infrared soft-mode behavior in PbSc1/2Ta1/2O₃ thin films.
This problem with wider description and redirected: http://forums.zotero.org/discussion/8597/proper-encoding-format-in-details-and-correct-export-or-how-to-write-everything-in-utf/