Skip to content

valery1707/jcabi-latex-maven-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status PDD status Maven Central Javadoc

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 site and a PNG file will be created in target/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

Packages

No packages published

Languages

  • Java 73.2%
  • TeX 21.4%
  • Groovy 5.4%