run.add_picture(path.join(path.dirname(path.abspath(__file__)),HTML_tag.attrs["src"]),width=width)#use .png pictures that will later be changed with .emf
run.add_picture(HTML_tag.attrs["src"],width=width)#use .png pictures that will later be changed with .emf
run=None# this makes sure we are not adding text to the same run that contains the picture
elifHTML_tag.name=="span":#this is a run with a different style