This is a zope product/zwiki plugin which allows you to use include Latex markup in your zwiki pages. It was originally coded by Joe Koberg and R. Sean Bowman, then maintained and developed for a few years by BobMcElrath. It was extended by Bill Page for MathAction. Simon Michael pared it down and added it to Zwiki 0.56 as the latexwiki plugin, and this is the version documented below. BrunoVernier and AlistairBurt? also did early experiments with Zwiki/Latex integration.

How to enable Latex support in Zwiki

Zwiki does not configure a Latex wiki for you as the older product does; you must do some manual setup. From memory, it goes something like this:

  1. See http://zwiki.org/repos/ZWiki/plugins/latexwiki/README.txt for additional docs and dependencies. Install these.
  2. Create a directory named LatexWiki in INSTANCE_HOME/var on the filesystem. Make sure it is writable by Zope .
  3. Create an images LocalFS object in your wiki folder in the ZODB, pointing to the above.
  4. create a wiki page with type "Structured Text + LaTeX", and try some of the examples below. Latex is not supported Restructured Text pages at the moment. It is supported in page names and bracket links as well as body text.
  5. note the security discussion on OldLatexWikiDiscussion

More info & examples

At http://wiki.axiom-developer.org/LaTeX, Bill Page writes:

LaTeX? is the world standard for writing technical documents. Authors in science and engineering are probably already familiar with it (or should be). If you've wrestled with and cursed at "equation editors", you will love LaTeX?.

What is most relevant for this site is math. Citations are also under development (but this will be physics specific initially, for me), see my TODO. The following is borrowed from Winston Chang's Latex cheat sheet .

To use math mode in-line with text, surround the equation with \$, like this !$x^2$ to make: $ x^2 $, or !\( x^2 \) or use !\begin{math} ... \end{math}.
To make a block equation use !\begin{equation} ... \end{equation} like this:

\begin{equation} \int{x^2 + y_3}{dx} \end{equation}

Another:

\begin{equation} d^2 = \left| \vec{x}_1 - \vec{x}_0 - \frac{(\vec{x}_2 - \vec{x}_1)\left[(\vec{x}_1 - \vec{x}_0)\cdot(\vec{x}_2 - \vec{x}_1)\right]?}{\left|\vec{x}_2 - \vec{x}_1\right|^2} \right|^2 . \end{equation}

To make a block equation that is not numbered, surround the equation with \$\$, like this !$$x^2$$, or !\[...\]? or use:

    !\begin{equation*}
    ...
    \end{equation*}

like this:

\begin{equation} x^2 \end{equation}

Basic constructs:

\begin{tabular}{@{}l@{\hspace{1em}}l@{\hspace{2em}}l@{\hspace{1em}}l@{}} \verb!^{x}! & Superscript$^{x}$ & \verb!_{x}! & Subscript$_{x}$ \\ \verb!\frac{x}{y}! & $\frac{x}{y}$ & \verb!\sum_{k=1}^n! & $\sum_{k=1}^n$ \\ \verb!\sqrt[n]?{x}! & $\sqrt[n]?{x}$ & \\ \end{tabular}

Math-mode symbols (this is a subset):

\begin{tabular}{@{}l@{\hspace{1em}}l@{\hspace{2em}}l@{\hspace{1em}}l@{\hspace{2em}}l@{\hspace{1em}}l@{}} $\leq$ & \verb!\leq! & $\geq$ & \verb!\geq! & $\neq$ & \verb!\neq! \\ $\cdot$ & \verb!\cdot! & $\times$ & \verb!\times! & $\div$ & \verb!\div! \\ $\ast$ & \verb!\ast! & $\circ$ & \verb!\circ! & $\cdots$ & \verb!\cdots! \\ $\alpha$ & \verb!\alpha! & $\beta$ & \verb!\beta! & $\gamma$ & \verb!\gamma! \\ $\delta$ & \verb!\delta! & $\epsilon$ & \verb!\epsilon! & $\varepsilon$ & \verb!\varepsilon! \\ $\zeta$ & \verb!\zeta! & $\eta$ & \verb!\eta! & $\theta$ & \verb!\theta! \\ $\vartheta$ & \verb!\vartheta! & $\iota$ & \verb!\iota! & $\kappa$ & \verb!\kappa! \\ $\lambda$ & \verb!\lambda! & $\mu$ & \verb!\mu! & $\nu$ & \verb!\nu! \\ $\xi$ & \verb!\xi! & $\pi$ & \verb!\pi! & $\rho$ & \verb!\rho! \\ $\sigma$ & \verb!\sigma! & $\tau$ & \verb!\tau! & $\upsilon$ & \verb!\upsilon! \\ $\phi$ & \verb!\phi! & $\chi$ & \verb!\chi! & $\psi$ & \verb!\psi! \\ $\omega$ & \verb!\omega! & $\Gamma$ & \verb!\Gamma! & $\Delta$ & \verb!\Delta! \\ $\Theta$ & \verb!\Theta! & $\Lambda$ & \verb!\Lambda! & $\Xi$ & \verb!\Xi! \\ $\Pi$ & \verb!\Pi! & $\Sigma$ & \verb!\Sigma! & $\Upsilon$ & \verb!\Upsilon! \\ $\Phi$ & \verb!\Phi! & $\Psi$ & \verb!\Psi! & $\Omega$ & \verb!\Omega! \\ \end{tabular}

Any other LaTeX? environments work as well including array, tabular (the above is tabular), and will be presented in HTML as an un-numbered block.