(equal 0 (search "rtcite:" desc)))or only
^^^^^^^
(search "rtcite:" desc)))
(or search "rtcite:" desc)))
> (cond ((eq format 'latex)^^^^^^^
> (if (or (not desc)
> (equal 0 (search "rtcite:" desc)))
Replace this last line with this
(or search "rtcite:" desc)))
I did no test this, though, just a wild guess.