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

Show last authors
1 1. Install [[Docker>>https://docs.docker.com/get-docker/]] on the server machine where XWiki runs.
2 1. Make sure the XWiki process can reach the Docker daemon. On some operating systems this means defining the ##DOCKER_HOST## environment variable in the environment XWiki is started in: without it the extension does not find Docker even though Docker itself is installed and running.
3 1. Restart XWiki, then open the export dialog of any page. **PDF (LaTeX)** is now offered alongside the other formats.(((
4 {{image reference="pdf-latex-export-entry.png" size="large" alt="The Export dialog listing the export formats, with PDF (LaTeX) highlighted"/}}
5
6 Nothing else has to be configured: ##latex.pdf.export.hint## already defaults to ##docker##, and so do the image and the commands — [[Configuration Properties>>doc:documentation.extensions.admin.latex.configuration.WebHome]] lists them.
7
8 The restart is not optional: the extension [[checks the converter only when it starts>>doc:documentation.extensions.admin.latex.pdf-conversion.WebHome]].
9 )))
10 1. Export a page to **PDF (LaTeX)** to confirm that the converter really compiles, and not just that the entry is there.(((
11 {{image reference="pdf-export-finished.png" size="large" alt="A finished PDF (LaTeX) export, reporting that the export can now be downloaded"/}}
12
13 Expect this first export to take a while, for the reason given in [[PDF Conversion>>doc:documentation.extensions.admin.latex.pdf-conversion.WebHome]].
14 )))

Get Connected