def latex_from_html(html): markmin = TAG(html).element('body').flatten(markmin_serializer) return XML(markmin2latex(markmin))
def markmin2pdf(text, image_mapper=lambda x: None, extra={}): return latex2pdf( markmin2latex(text, image_mapper=image_mapper, extra=extra))
def latex_from_html(html): markmin=TAG(html).element('body').flatten(markmin_serializer) return XML(markmin2latex(markmin))
def markmin2pdf(text, image_mapper=lambda x: None, extra={}): return latex2pdf(markmin2latex(text, image_mapper=image_mapper, extra=extra))