Maven plugin for generating PNG images from LaTeX sources during mvn site phase.
Project website: latex.jcabi.com
Usage
-
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 siteand a PNG file will be created intarget/site/latex/picture.png
Known issues
Using this plugin on a Windows machine is not supported.
Questions?
If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.
How to contribute?
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
