Maven plugin for generating PNG images from LaTeX sources during mvn site
phase.
Project website: latex.jcabi.com
-
Make sure LaTeX and Netpbm are installed on your machine;
-
Configure the plugin pointing it to your LaTeX sources:
<project>
<build>
<plugins>
<plugin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-latex-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<sources>
<file>picture.tex</file>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
- Run
mvn site
and a PNG file will be created intarget/site/latex/picture.png
Using this plugin on a Windows machine is not supported.
If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.
Fork the repository, make changes, submit a pull request.
We promise to review your changes same day and apply to
the master
branch, if they look correct.
Please run Maven build before submitting a pull request:
$ mvn clean install -Pqulice