LaTeX Output Filter
![]() | LaTeX Output Filter |
Type | JAR |
Category | Filter |
Developed by | |
Active Installs | 30 |
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) |
Release Notes
1.9.4
LATEX-87Labels inside wiki macros are not working
1.9.3
LATEX-86Figure Block should be handled even when not inside a MacroMarkerBlock
1.9.2
LATEX-85LaTeX Generation Broken With XWiki 11.8.1LATEX-83Unwanted quote in caption when using the figure/figureCaption macros
1.9.1
LATEX-82Figure Macro rendering is fragile and fails on XWiki 10.10 when containing a TableLATEX-81Info macro can have extra new lines when rendered to LaTeX
1.9
LATEX-77Support for small textLATEX-76Correct translation of less, greater and bar symbolLATEX-74Preamble 1.8 Has Syntax Error
1.8
LATEX-65LaTeX RawBlock should support inline elementsLATEX-64Translate quotes to LaTeX quotesLATEX-63Allow underscore in IDsLATEX-62Correct translation of backslash symbolLATEX-57Horizontal line incorrectly translated
1.7.1
LATEX-61Images file may not contain non-ASCII charactersLATEX-60Underscores in image file names are escaped
1.7
LATEX-56Message macros don't support inline usageLATEX-55Inline code macros not workingLATEX-54New line should not start a new paragraphLATEX-53xcontext.action doesn't return "latexexport"LATEX-52Invalid new line "\\" character after id macroLATEX-51Pages with reserved latex characters in their name generate invalid latexLATEX-50LaTeX export button text is not consistent with other buttons
1.6
LATEX-48Image path references can cause LaTeX compilation errorsLATEX-47Images in table cells generate invalid LaTeXLATEX-46Use a more standard way to output empty linesLATEX-45Images located inside {{context}} macros are not exportedLATEX-44Also escape the ampersand character
1.5
LATEX-43Add support for exporting document using sheetsLATEX-41Exporting a nested page should produce a zip named after the space nameLATEX-35Refactoring the template bindings so that they're all under the same namespaceLATEX-34Remove support for captions and labels as parameters for Image and Table blocksLATEX-33Ignore generated numbers when the Numbered Reference transformations are usedLATEX-32Add support for the {{figure}} and {{figureCaption}} macrosLATEX-31Generate chapters for top level headings when the document type is a bookLATEX-30Pass the document type to the Syntax RendererLATEX-24Add support for the Container macroLATEX-12Provide Export options in the UILATEX-11Contribute a LaTeX export button in the page export dialog boxLATEX-9Allow users to customize the export's index template
1.4
LATEX-29Parameters in a paragraph having an extra new lineLATEX-28Add support for the Reference MacroLATEX-15Fix attachment link embedding
1.3
LATEX-26The messages macro should support wiki syntaxLATEX-25Implement max image sizeLATEX-23Add support for labels for captioned tables and imagesLATEX-22Have images centered by defaultLATEX-21Supports links to current page when there's no labelLATEX-20Convert any link to the current page to a local linkLATEX-18Ignore leading spaces in templates to make them more readableLATEX-13Handle resized imagesLATEX-7Handle Group Block
1.2
LATEX-19Add support for styles in footnote content
1.1
LATEX-10Add support for footnote macros
1.0
LATEX-3Export entry point for LaTexLATEX-2Export Filter for LaTeXLATEX-1LaTeX Syntax renderer based on templates
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). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.
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.9.4):
- org.xwiki.contrib.latex:latex-syntax 1.9.4
- org.xwiki.platform:xwiki-platform-filter-event-model 10.2
- org.xwiki.platform:xwiki-platform-oldcore 10.2