Wiki source code of Export Options
Last modified by Vincent Massol on 2026/08/29 15:40
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The LaTeX exporter asks for these options before it produces anything. You set them on the form that comes up when you [[export a page to LaTeX>>doc:documentation.extensions.user.latex.export-page.WebHome]], and they decide what the generated document looks like. | ||
| 2 | |||
| 3 | {{image reference="export-options.png" size="large" alt="The LaTeX export options form, showing its eleven fields"/}} | ||
| 4 | |||
| 5 | |=Option|=Description|=Type|=Default|=Property | ||
| 6 | |Document Class|The LaTeX document class to produce, such as ##article## or ##book##.|text|##article##|##documentClass## | ||
| 7 | |Cover Page|Whether a cover page carrying the title, subtitle, author and date is generated.|checkbox|selected|##coverPage## | ||
| 8 | |Cover Page Image|An XWiki Syntax 2.1 image reference for an image to show on the cover page, for example ##attach~:[email protected]##.|text|empty|##coverPageImage## | ||
| 9 | |Title|The title of the exported document or set of documents.|text|the page's own title|##title## | ||
| 10 | |Subtitle|The subtitle of the exported document or set of documents.|text|empty|##subtitle## | ||
| 11 | |Author|The author of the exported document or set of documents.|text|your display name|##author## | ||
| 12 | |Date|The date of the exported document or set of documents, written ##yyyy-MM-dd##. Leave it empty to set no date at all.|text|today|##date## | ||
| 13 | |TOC|Whether a table of contents is inserted.|checkbox|selected|##toc## | ||
| 14 | |Page numbering|Whether the pages are numbered.|checkbox|selected|##pageNumbering## | ||
| 15 | |Figures|Whether a list of figures is inserted.|checkbox|cleared|##listOfFigures## | ||
| 16 | |Tables|Whether a list of tables is inserted.|checkbox|cleared|##listOfTables## | ||
| 17 | |||
| 18 | The **Property** column is the name an option goes by outside the form. In a ##latexexport## URL it is that name prefixed with ##property_##, and in a LaTeX template it sits under ##$latex.properties##, as in ##$latex.properties.documentClass## — see [[Template Script Bindings>>doc:documentation.extensions.dev.latex.template-bindings.WebHome]]. |