configureFreemarker();
}
public void generate(Book book, File outputDir) throws IOException {
ResourceManipulatorFactory kindleResourceManipulatorFactory = new KindleResourceManipulatorFactory();
TubainaHtmlDir bookRoot = new TubainaKindleIO(templateDir, kindleResourceManipulatorFactory)
.createTubainaDir(outputDir);
StringBuffer bookContent = generateHeader(book);
String introductionChaptersContent = generateIntroductionParts(book, bookRoot);