verbose: prints all output from LaTeX
save_tex: path to save the intermediary LaTeX file to
morefloats (old/new/none): force specific morefloats
- cover: a cover.Cover object
- flags: less-advertising,
+ cover: a cover.Cover object or True for default
+ flags: less-advertising, not-wl, images
customizations: user requested customizations regarding various formatting parameters (passed to wl LaTeX class)
"""
+ # TODO: images
# Parse XSLT
try:
- document = load_including_children(wldoc)
+ document = load_including_children(wldoc)
if cover:
if cover is True:
shutil.copy(get_resource('pdf/wl.cls'), temp)
shutil.copy(get_resource('res/wl-logo.png'), temp)
+ # FIXME: temporary
+ shutil.copy(get_resource('res/ofop-logo.png'), temp)
+ shutil.copy(get_resource('res/logo-fio.jpg'), temp)
+
cwd = os.getcwd()
os.chdir(temp)