This is an old revision of the document!
Table of Contents
LaTeXit Plugin
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
If you are using basic DokuWiki template, you should have a new export button by the pagetool buttons. It can be switched off in configuration. To export a page, put &do=export_latexit
at the end of the demanded URL.
Syntax
The plugin allows you to export multiple DokuWiki pages in a single LaTeX file.
1st Insert syntax
If you want to insert a page as a subsection, put the following just before the link to the demanded page:
~~~~~~RECURSIVE~~~~~~ [[link]]
~
works exactly the same as =
in headers. Number of ~
will determine the level of the first header of inserted page.
2nd Insert syntax
develonly only in outstanding pull request
A replacement of the recursion syntax is the insertwikipage syntax. The functionality is similar, but the caching should be improved. \insertwikipage[headinglevel]{pageid|Title}
headinglevel
: Let heading start at1
= biggest heading to5
= smallest heading.
Sets size of the starting heading in the inserted page. (Example: using2
displays====== Head ======
as===== Head=====
)pageid
: absolute or relative pageidTitle
(Optional) : Title for the url when it is shown in the wiki.
\insertwikipage{page} \insertwikipage[1]{ns:page} \insertwikipage[5]{ns:page|Title}
Additional syntaxes
Some supported syntaxes and their replacement in LaTeX.
Wiki syntax LaTeX syntax FIXME[UserName](description of issue) \hl{FIXME[UserName](description of issue)} DELETEME \hl{DELETEME}