I have multiple bib files. I would like to use different text colors for all the references mentioned in different bib files. Secondly, I would like a custom prefix for each bib file.
Please let me know how can I do it?
The result should be similar to as follows:
[R1] uses [O1] and [R2] is based on [O2].
References
[R1] .....
[R2] .....
Other References
[O1] ....
[O2] ....
The color of references mentioned in section "References" should be black, where as color of references mentioned in section "Other references" should be blue.
Any example should work with the elsarticle class such as
\documentclass[5p,preprint,10pt,authoryear]{elsarticle}
\usepackage{ecrc}
biblatextag sinceelsarticleis incompatible withbiblatex. (For those interested: thebiblatexanswer to the question is at https://tex.stackexchange.com/q/470852/35864) – moewe Jan 19 '19 at 19:36elsarticle, namely when you submit to an Elsevier journal. In that case it is unlikely that you will be able to use any of the (quite likely) tricky solutions that one might come up with to achieve what you want. As I wrote in https://tex.stackexchange.com/q/468152/35864, if a publisher class can't do what you want, ask the editor how to do it or don't do it at all. If, on the other hand, you don't plan to submit to Elsevier I would not useelsarticleat all. – moewe Jan 19 '19 at 19:39elsarticleusesnatbib, which is nice, but you would probably have to loadmultibibor a similar package and would have to hack quite a few commands. Those technicalities make it not only difficult to implement something, it also makes it less likely that the workflow on the Elsevier side will be compatible with what you have to conjure up. – moewe Jan 19 '19 at 20:43