|
Introduction
Trac plugins and macros to convert Wiki files to Latex/PdfDescriptionTrac2Latex is a set of Trac plugins and macros to convert Wiki files to Latex/Pdf, including a Latex WikiProcessor. SourceYou can check out Trac2LatexPlugin from http://code.google.com/p/trac2latex/ using Subversion: svn checkout http://trac2latex.googlecode.com/svn/trunk/ trac2latex Install
python setup.py bdist_egg Trac 0.10 uses new macro style (all macros are plugins). How to useSee WikiMacros help page (after installation). Requirements
ExamplesLatex 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 DocumentYou 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]] |
Sign in to add a comment
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.
I had some issues when installing revision 70 on a Windows server. Please see issue #1 for description and workaround!