LaTeX Output Filter
Perform the LaTeX export by generating the XDOM for each page to export and calling the LaTeX Renderer |
Type | JAR |
Category | Filter |
Developed by | |
Active Installs | 41 |
Rating | |
License | GNU Lesser General Public License 2.1 |
Compatibility | Since v1.5 requires XWiki 10.2RC1 |
Table of contents
Description
Can be used as an output stream filter to produce a package containing:
- Each page converted into a LaTeX file
- Each attachment/image used in the exported pages
- An index.tex file to group all exported documents in one
Index Template
The generation of the index.tex file can be customized using the same mechanism described in the Templates mechanism.
The template name is latex/Index.
Overriding Commands
The default Index template defines 3 LaTeX commands that you can override in latex/Preamble if you wish to customize them:
- \xwikidate (sets the \date)
- \xwikiauthor (sets the \author)
- \xwikititle (sets the \title)
Override example in latex/Preamble:
Parameters
The filter support the following parameters:
Parameter | Types | Description |
---|---|---|
target | Any OutputFilter provider an OutputStream | Where to save the package |
entities | EntityReferenceSet | The exported entities (used by the filter to know how to react for link between exported documents) |
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
Dependencies
Dependencies for this extension (org.xwiki.contrib.latex:latex-filter 1.26):
- org.xwiki.contrib.latex:latex-syntax 1.26
- org.xwiki.platform:xwiki-platform-filter-event-model 14.10
- org.xwiki.platform:xwiki-platform-oldcore 14.10