Wiki source code of Export a Page to LaTeX

Last modified by Vincent Massol on 2026/08/30 19:36

Show last authors
1 The [[LaTeX exporter>>doc:documentation.extensions.user.latex.WebHome]] adds two entries to the standard [[export menu>>doc:documentation.xs.user.exports.export-page.modal.WebHome]]: **LaTeX** and **PDF (LaTeX)**.
2
3 1. Open the page you want to export, open the **More Actions** menu and click **Export**.(((
4 {{image reference="export-menu.png" size="large" alt="The More Actions menu of a wiki page, with the Export entry highlighted"/}}
5 )))
6 1. Choose **LaTeX** or **PDF (LaTeX)**.(((
7 {{image reference="export-formats.png" size="large" alt="The Export dialog listing the export formats, with PDF (LaTeX) and LaTeX highlighted"/}}
8
9 **PDF (LaTeX)** is offered only where [[PDF conversion>>doc:documentation.extensions.admin.latex.pdf-conversion.WebHome]] is available.
10 )))
11 1. Fill in the [[export options>>doc:documentation.extensions.user.latex.export-page.export-options.WebHome]] you want, then click **Export**.
12 1. Wait for the export job to finish, then click **download** to get your package.(((
13 {{image reference="export-success.png" size="large" alt="The LaTeX export page reporting that the export can now be downloaded"/}}
14
15 A progress bar is shown while the job runs. Exporting a large page takes a while, and a first PDF export takes longest of all, for the reason given in [[PDF Conversion>>doc:documentation.extensions.admin.latex.pdf-conversion.WebHome]].
16
17 {{image reference="export-progress-running.png" size="large" alt="The progress bar of a PDF (LaTeX) export while the job is still running"/}}
18
19 An export that ends on a warning still produced its package, but something went wrong on the way. Expand **Job log** to see what.
20
21 {{image reference="export-progress-warning.png" size="large" alt="A PDF (LaTeX) export ending on a warning, with the job log expanded"/}}
22 )))
23
24 To see what a finished export reads like, open [[the exporter's own PDF of the XWiki Sandbox>>attach:sandbox-export-example.pdf]].

Get Connected