LaTeX to PDF Converter using local process
Last modified by Vincent Massol on 2024/10/18 15:25
Convert LaTeX files to PDF, using a local process |
Type | JAR |
Category | API |
Developed by | |
Active Installs | 1 |
Rating | |
License | GNU Lesser General Public License 2.1 |
Table of contents
Description
For this PDF converter to work you'll need to have a pdflatex executable available on the server where XWiki is running. This can be configured using:
## Several commands can be executed, by defining them one per line as shown below.
## Note that we need the pdflatex command to be executed twice to generate the TOC on the second pass.
latex.pdf.process.commands=pdflatex -shell-escape index.tex
latex.pdf.process.commands=pdflatex -shell-escape index.tex
## Note that we need the pdflatex command to be executed twice to generate the TOC on the second pass.
latex.pdf.process.commands=pdflatex -shell-escape index.tex
latex.pdf.process.commands=pdflatex -shell-escape index.tex
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
This extension is not installed by default by the LaTeX Exporter (which draws the PDF export using Docker) and thus you'll need to install it explicitly.
Dependencies
Dependencies for this extension (org.xwiki.contrib.latex:latex-pdf-process 1.26):
- org.xwiki.contrib.latex:latex-pdf-api 1.26
- org.apache.commons:commons-exec 1.3