My favorites | Sign in
Project Logo
                
Search
for
Updated May 22, 2007 by renato.chencarek
Labels: Featured
Introduction  

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.

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

Trac 0.10 uses new macro style (all macros are plugins).

How to use

See WikiMacros help page (after installation).

Requirements

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]]

Comment by gweronimo, Nov 05, 2007

I'm using MikTeX, and downloading as Latex-pdf didn't work out-of-the box. This was due to the fact that MikTeX would, by default, put up a dialog box when an additional package needs to be installed. I solved this by manually calling pdflatex on the trac2latex .tex-output, and when the dialog box appeared, unchecking the "always ask before downloading" checkbox.

Comment by gweronimo, Nov 05, 2007

I had some issues when installing revision 70 on a Windows server. Please see issue #1 for description and workaround!


Sign in to add a comment
Hosted by Google Code