How to embed Altimetric (or Researcher ID) badges in a TeX document?
In other words, how to make use of the following html code to generate the badges in a TeX document?:
<div data-badge-popover="right" data-badge-type="medium-donut" data-doi="10.1038/nature.2014.14583" data-hide-no-mentions="true" class="altmetric-embed"></div>
data-badge-typeattribute and inserts an image. If those images are freely available you could include them into tex. – David Carlisle Sep 17 '18 at 13:40<div zz="wibble"></div>the html has no text and has some non standard attributes with some values that by default do nothing, so any image that is produced is the result of some code (that doesn't appear to be freely available) that looks for those fixed strings and generates an image. you can use wget or curl or any other http program and fetch images such as https://badges.altmetric.com/?size=128&score=300&types=mbttttfg then include the result in tex, some external scripting before calling tex should be all you need – David Carlisle Sep 17 '18 at 18:30