eo
eo copied to clipboard
LatexMojo
Let's create a new LatexMojo
, which will take .xmir
files from target/eo/03-optimize
and generate .tex
files for each of them in target/eo/latex
. Each .tex
file should be a standalone compilable document. Also, let's generate a summary target/eo/universe.tex
, which includes all objects.
@Graur can you handle this?
@potatmen Can you help us here?
@Graur sure
@Graur I want to elaborate on this issue. So, we have many .xmir
files inside given directory and I need to add some program which will take all files, put all generated text in these files to corresponding .tex
files right?
@potatmen Right, and don't forget about summary target/eo/universe.tex
file
@Graur please take a look at the resulted .pdf
file which is successfully compiled from generated .tex
file
Result.pdf
@Graur Now I see only one problem, it's related to page breaking. Is it important or not?
@potatmen Looks good to me!
@Graur Now I see only one problem, it's related to page breaking. Is it important or not?
@potatmen Do you have a solution?
@Graur well, I got one, but it's too complex for this kind of problem
@Graur Now I see only one problem, it's related to page breaking. Is it important or not?
@potatmen I think it is necessary, but maybe @yegor256 have another opinion
@potatmen we don't need to print XMIR as PDF :) We need to render XMIR objects as formulas of phi-calculus in PDF.
@Graur take a look please
@Graur Comments fixed
@yegor256 Should we add this LatexMojo
to AssembleMojo
? Or we can just create a configuration parameter for maven-plugin
@Graur no, this is a completely standalone mojo, just like GmiMojo