LaTeX Maven Plugin

The LaTeX Maven Plugin is useful for building a set of LaTeX documents.

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.github.fracpete
Идентификатор

Идентификатор

latex-maven-plugin
Последняя версия

Последняя версия

1.4.4
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

LaTeX Maven Plugin
The LaTeX Maven Plugin is useful for building a set of LaTeX documents.
Организация-разработчик

Организация-разработчик

CITI / INRIA Laboratory

Скачать latex-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.github.fracpete</groupId>
    <artifactId>latex-maven-plugin</artifactId>
    <version>1.4.4</version>
</plugin>

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 2.0.2
org.apache.commons : commons-exec jar 1.0.1
org.apache.commons : commons-io jar 1.3.2

Модули Проекта

Данный проект не имеет модулей.

latex-maven

Maven plugin that allows you to create PDF documentation from LaTeX source code (fork of https://github.com/mojohaus/latex-maven)

For your pom.xml:

  <build>
    <pluginManagement>
      <plugins>
        ...
        <plugin>
          <groupId>com.github.fracpete</groupId>
          <artifactId>latex-maven-plugin</artifactId>
          <version>1.4.4</version>
          <executions>
            <execution>
              <phase>package</phase>
              <goals>
                <goal>latex</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <forceBuild>true</forceBuild>
          </configuration>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    ...
    <plugins>
      <plugin>
        <groupId>com.github.fracpete</groupId>
        <artifactId>latex-maven-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>

Goals

Use the following command to build the LaTeX documentation:

mvn latex:latex

FAQs

  • My references are undefined: Check if your backend in LaTeX is the same as specified in the pom (bibtex configuration)
  • I have no references at all: The name of the bibtex file needs to be the same as the main latex file. If your main latex file is named sample.tex, the bibfile needs to be sample.bib.

Options

  • latex.docsRoot=... the directory with the documentation, default: src/main/latex
  • latex.commonsDirName=... the directory with the common LaTeX sources, default: common
  • latex.binariesPath=... the directory with LaTeX binaries
  • latex.bibtex=... the name of the bibtex binary (eg bibtex8 or biber instead of bibtex)
  • latex.skipBuild=true|false for skipping the build, default: false
  • latex.forceBuild=true|false for forcing the build, default: false
  • latex.dummyBuild=true|false for creating dummy PDFs (eg if no LaTeX present), default: false
  • latex.extraRuns=... to run pdflatex more times than normal, default: 0

Версии библиотеки

Версия
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0