Beispiel #1
0
def save_latex(options,label,goutput):
    if isinstance(label,(list,tuple)):
        t = LaTeXJob(label)
    else:
        t = LaTeXJob((label,))
    latex = LaTeX(options)
    make_dir_of_file(goutput)
    latex.compile(goutput,t,multiple=1,notemp=True)
    logger.debug('output %s is in %s',label,goutput)