LaTeX Output Filter

Version 7.112 by Vincent Massol on 2021/03/15 00:39
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

cogLaTeX Output Filter
TypeJAR
CategoryFilter
Developed by

Vincent Massol, Thomas Mortagne

Active Installs61
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

Since v1.5 requires XWiki 10.2RC1

Installable with the Extension Manager

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:

\renewcommand{\xwikidate}{\date{\today \\ \vfill ~ \\    Text at bottom of page}}

Parameters

The filter support the following parameters:

ParameterTypesDescription
targetAny OutputFilter provider an OutputStreamWhere to save the package
entitiesEntityReferenceSetThe exported entities (used by the filter to know how to react for link between exported documents)

Failed to execute the [include] macro. Cause: [Cannot find section [HReleaseNotes] in document [extensions:Extension.LaTeX.WebHome]]. Click on this message for details.

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.13.1):

Tags:
    

Get Connected