Example #1
0
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))
Example #3
0
def latex_from_html(html):
    markmin=TAG(html).element('body').flatten(markmin_serializer)
    return XML(markmin2latex(markmin))
Example #4
0
def markmin2pdf(text, image_mapper=lambda x: None, extra={}):
    return latex2pdf(markmin2latex(text, image_mapper=image_mapper, extra=extra))