wiki:Trac2LatexPlugin

Version 4 (modified by chenca, 8 years ago) (diff)

--

Trac2Latex - Trac plugins and macros to convert Wiki files to Latex/Pdf

Description

Trac2Latex is a set of Trac plugins and macros to convert Wiki files to Latex/Pdf, including a Latex WikiProcessor.

Bugs/Feature Requests

Existing bugs and feature requests for Trac2LatexPlugin are here.

If you have any issues, create a new ticket.

Source

You can check out Trac2LatexPlugin from http://code.google.com/p/trac2latex/ using Subversion:

svn checkout http://trac2latex.googlecode.com/svn/trunk/ trac2latex

Install

  • Download the source
  • Gen the egg (python setup.py bdist_egg )
  • Copy all python files in wiki-macros directory and egg file to Trac plugins directory.

Examples

Latex Processor

{{{
#!Latex
$\frac{\alpha{2 + \beta}}{\delta_x}$
}}}

This code will produce a PNG file and a PDF file, both will be added to Attachments section.

Latex Document

You can generate a wholly Latex document using some TexMacros and clicking in the Latex-PDF or Latex link at the end of the page

[[LatexDocCls(article, a4paper)]]
[[LatexUsePkg(xcolor)]]
[[LatexUsePkg(hyperref)]]
[[LatexBeginDoc]]

= Section =

This is a section

== SubSection ==

This is a subsection

=== SubSubSection ===

This is a subsubsection

[[LatexEndDoc]]

Recent Changes

Error: Macro ChangeLog(trac2latexplugin, 3) failed
No node trac2latexplugin at revision 14280

Author/Contributors

Author: chenca
Contributors: