3 from librarian.document import Document as SST
4 from librarian.formats.pdf import PdfFormat
5 from librarian.utils import Context
8 sst = SST.from_file('milpdf/a.xml')
9 of = PdfFormat(sst).build(Context(), verbose=True)
10 shutil.copy(of.get_filename(), 'a.pdf')