Wiki source code of LaTeX
Last modified by Vincent Massol on 2026/08/30 19:43
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
2.1 | 1 | The [[LaTeX Exporter>>doc:extensions:Extension.LaTeX.Exporter.WebHome]] turns a wiki page into a LaTeX document. It produces either a **LaTeX package** — a ZIP holding the ##.tex## sources of the exported pages, together with the images and other attachments they use — or, where the wiki is set up to compile LaTeX, the **PDF** that package produces. |
| 2 | |||
| 3 | {{plantuml}} | ||
| 4 | @startuml | ||
| 5 | !theme bluegray | ||
| 6 | skinparam componentStyle rectangle | ||
| 7 | |||
| 8 | component "**Wiki page**" as PAGE | ||
| 9 | component "**LaTeX package**\na ZIP of .tex sources and attachments" as ZIP | ||
| 10 | component "**PDF**" as PDF | ||
| 11 | |||
| 12 | PAGE --> ZIP : Export > **LaTeX** | ||
| 13 | PAGE --> PDF : Export > **PDF (LaTeX)**\nthe wiki compiles the package for you | ||
| 14 | ZIP --> PDF : you compile the package yourself | ||
| 15 | @enduml | ||
| 16 | {{/plantuml}} | ||
| 17 | |||
| 18 | [[Export a Page to LaTeX>>doc:documentation.extensions.user.latex.export-page.WebHome]] is the procedure, from the export menu to the downloaded file, and [[Export Options>>doc:documentation.extensions.user.latex.export-page.export-options.WebHome]] describes what its form asks you. Where the wiki offers no **PDF (LaTeX)** entry, [[Convert a LaTeX Package to PDF>>doc:documentation.extensions.user.latex.convert-package-pdf.WebHome]] compiles the package on your own machine instead. | ||
| 19 | |||
| 20 | Not everything a wiki page can hold has an equivalent in LaTeX, and what does is not always typeset the way the wiki displays it. Three pages describe what becomes of the content you wrote: | ||
| 21 | |||
| 22 | * [[Macro Support>>doc:documentation.extensions.user.latex.macro-support.WebHome]] — the macros the exporter handles specially, such as ##toc##, ##code## and the message boxes, and what each one becomes | ||
| 23 | * [[Images, Figures and Captions>>doc:documentation.extensions.user.latex.images-figures.WebHome]] — captioned figures and tables, and how an image's width and height are translated | ||
![]() |
6.1 | 24 | * [[Numbered Headings>>doc:documentation.extensions.user.latex.heading-numbering.WebHome]] — headings are numbered in the export, and how to keep one out of the numbering |
![]() |
2.1 | 25 | |
![]() |
5.1 | 26 | [[Export Package>>doc:documentation.extensions.dev.latex.export-package.WebHome]] describes the layout of the package itself. |
