Last modified by superadmin on 2026/11/25 21:23

Show last authors
1 1. Install the **LaTeX to PDF Converter using local process** extension. It does not come with the LaTeX exporter, which carries the Docker converter instead, as explained in [[PDF Conversion>>doc:documentation.extensions.admin.latex.pdf-conversion.WebHome]]. In **Administration** > **Extensions** the plain search lists recommended extensions only and does not find it, so use **Advanced search**, with the extension identifier ##org.xwiki.contrib.latex:latex-pdf-process## and the version of the LaTeX exporter you have installed.(((
2 {{image reference="pdf-process-extension-install.png" size="large" alt="The extension found by an advanced search of the Extension Manager, with its Install button highlighted"/}}
3 )))
4 1. Install a LaTeX distribution providing ##pdflatex## on the server machine where XWiki runs. It has to be on the ##PATH## of the process XWiki itself runs in, which is often narrower than the one your shell has; where it is not, name it by its absolute path in ##latex.pdf.process.commands##.
5 1. Point the exporter at this converter in ##xwiki.properties##, then restart XWiki: the file is read at startup, so nothing changes until you do.(((
6 {{code language="none"}}
7 latex.pdf.export.hint=process
8 {{/code}}
9
10 ##latex.pdf.process.commands## needs no change unless your installation compiles differently; [[Configuration Properties>>doc:documentation.extensions.admin.latex.configuration.WebHome]] gives its default and how to override it.
11 )))
12 1. Export a page to **PDF (LaTeX)**. The job runs ##pdflatex## on the server and offers the compiled PDF for download.(((
13 {{image reference="pdf-process-export-finished.png" size="large" alt="A finished PDF (LaTeX) export, reporting that the export can now be downloaded"/}}
14 )))

Get Connected