Problems due to malformed abstract with LaTeX export

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
iandol
Posts: 465
Joined: Fri Jan 25, 2008 2:31 pm

Problems due to malformed abstract with LaTeX export

Post by iandol »

Hi, importing this DOI: 10.1016/j.cub.2022.07.050 there are some malformed ranges in the abstract (markdown superscripts):
...magnetic stimulation (TMS).^4^^,^^5^ We found that enhancing the ...
This causes errors when syncing to my BibTeX file:
... magnetic stimulation (TMS).}4\textsuperscript{},\textsuperscript{}5\textsuperscript{ We found that enhancing ...
and requires manual editing of the abstract. I realise this is an import data issue but possibly there is a better way to guard against this malformed input?
Jon
Site Admin
Posts: 10048
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Problems due to malformed abstract with LaTeX export

Post by Jon »

It's not malformed, it's Bookends converting PubMed superscripts to its own .

This is what PubMed is returning:

...(TMS).<sup>4</sup><sup>,</sup><sup>5</sup>...

Meaning that

4,5

are superscripted.

Bookends converts the <sup>characters</sup to it's own superscript nomenclature, which is

^4^^,^^5^

If you scan a document with this reference (and the abstract is included in the format) the superscripted

4,5

will be output.

Having said that, I did find that when this was output as BibTeX Markup it was mangled. I've fixed that bug for the next update. In the fixed version it will be formatted as

(TMS).\textsuperscript{4}\textsuperscript{,}\textsuperscript{5}


Jon
Sonny Software
iandol
Posts: 465
Joined: Fri Jan 25, 2008 2:31 pm

Re: Problems due to malformed abstract with LaTeX export

Post by iandol »

Ah, yes indeed, I seem to have missed the comma (must get my eyes tested)! and thanks for the upcoming fix!
Post Reply