2 from librarian import get_resource
3 from librarian.pdf import PDFFormat
4 from librarian.styles.wolnelektury.cover import WLCover
6 class WLPDFFormat(PDFFormat):
8 style = get_resource('res/styles/wolnelektury/pdf/wolnelektury.sty')
10 def get_tex_dir(self):
11 temp = super(WLPDFFormat, self).get_tex_dir()
12 shutil.copy(get_resource('res/wl-logo.png'), temp)