use of org.eclipse.vorto.codegen.latex.tasks.LatexInformationModelGeneratorTask in project vorto by eclipse.
the class LatexGenerator method generate.
public IGenerationResult generate(InformationModel infomodel, InvocationContext invocationContext, IVortoCodeGenProgressMonitor monitor) throws VortoCodeGeneratorException {
GenerationResultZip zipOutputter = new GenerationResultZip(infomodel, getServiceKey());
ChainedCodeGeneratorTask<InformationModel> generator = new ChainedCodeGeneratorTask<InformationModel>();
generator.addTask(new LatexInformationModelGeneratorTask(LATEX_FILE_EXTENSION, LATEX_TARGET_PATH));
generator.generate(infomodel, invocationContext, zipOutputter);
return zipOutputter;
}
Aggregations