- pdf.transform(provider,
- file_path=main_input,
- output_file=output_file,
- output_dir=output_dir,
- verbose=options.verbose,
- make_dir=options.make_dir,
- save_tex=options.save_tex,
- morefloats=options.morefloats
- )
+ doc.save_output_file(pdf,
+ output_file, options.output_dir, options.make_dir, 'pdf')