RIS import strips html tags?

Hi,
I have a RIS file where scientific names of species are tagged with the html < i > < / i > (spaces added intentionally) tag to make them appear in italics when visualized in the Bibliography (as per proper scientific typography), but Zotero seems to remove this on import (I assume the import is "sanitized" to prevent database corruption, as also B and EM html tags get stripped...).

I have several hundred citations (so manual fixing would be tedious), but more importantly - it makes it difficult to exchange RIS citations with other colleagues and keep the formatting...

Any way to fix / work around this?

On a similar note (for a different discussion?) - scientific names of species are written in italics, with capitalized genus and small case species / subspecies name... and it might be helpful to have some tag(s) denoting a) a scientific name directly b) that a certain letter needs to always stay capitalized (as an addition to < i >)... This not only impacts normal text vs italics, but would preserve scientific names (and names of countries, people etc) being erroneously lower-cased if we are using CSL styles that make titles etc all lowercase....

Thank you, Y
  • yes, RIS is a plain text format and doesn't allow for mark-up, so we do indeed strip html. If you really want to be hardcore, you can look at the import scripts (RIS.js in the translators directory in the zotero data folder https://www.zotero.org/support/zotero_data ). I'd recommend using either bibtex or Endnote XML for import/export that preserves markup from and to Zotero.

    For the other question, there shouldn't be any styles that auto-lowercase (i.e. try to sentence case) titles in Zotero. You should enter title in sentence case:
    https://www.zotero.org/support/kb/sentence_casing
    There is, however, a problem with species name and styles that auto title-case, as the species name _will_ be uppercased in those cases. You can avoid that using <span class="nocase"> </span>, but note that this is a non-official workaround, which means there is no commitment to export that into any format.
  • @adamsmith - once again, thank you very much!

    BibTex works.

    You guess there is any chance to have an official solution akin to the ?
  • Generally yes, but can't tell you how soon.
Sign In or Register to comment.