#
from librarian import ValidationError, NoDublinCore, ParseError, NoProvider
from librarian import RDFNS, IOFile
#
from librarian import ValidationError, NoDublinCore, ParseError, NoProvider
from librarian import RDFNS, IOFile
return epub.transform(self, *args, **kwargs)
def as_pdf(self, *args, **kwargs):
return epub.transform(self, *args, **kwargs)
def as_pdf(self, *args, **kwargs):
- from librarian import pdf
- return pdf.transform(self, *args, **kwargs)
+ from librarian import pypdf
+ return pypdf.EduModulePDFFormat(self).build(*args, **kwargs)
def as_mobi(self, *args, **kwargs):
from librarian import mobi
def as_mobi(self, *args, **kwargs):
from librarian import mobi
def as_cover(self, cover_class=None, *args, **kwargs):
if cover_class is None:
def as_cover(self, cover_class=None, *args, **kwargs):
if cover_class is None: