def render(self, settings={}):
    figure_path = FIGURE_PATH_TEMPLATE.format(filename=self.img_src)
    return FIGURE_TEX_TEMPLATE.format(headword=capitalize_first(self.hw), path=figure_path, attribution=self.img_attrib)
def render(self, settings={}):
    figure_path = FIGURE_PATH_TEMPLATE.format(filename=self.img_src)
    return FIGURE_TEX_TEMPLATE.format(headword=capitalize_first(self.hw), path=figure_path, attribution=self.img_attrib)