• Currently 5/5
  • 1
  • 2
  • 3
  • 4
  • 5
LaTeX for Movable Type

Converts TeX formatting to fancy images. Great for mathematical formulas!

Requirements

TeX, ImageMagick

2 Comments

default userpic

Alexander Mikhalev Author Profile Page

Since link to plugin page no longer works I publish here link to my repository: http://bitbucket.org/alex_mikhalev/latex/ It's updated Nick's version with latex multiline formula support

How to deploy/install the plugin?

=====================================================

A. Download the plugin.

B. Make directories needed as following and put files in appropriate directory respectively.

$MT_HOME/plugins/latex/LaTeX.pl

$MT_HOME/plugins/latex/lib/LaTeXRender.pm

$MT_HOME/plugins/latex/tmpl/system_config.tmpl

C. Make working directories for this plugin.

$SITE_ROOT/latex

$SITE_ROOT/tmp

====================================================

How to input mathematical formulas?

====================================================

All formulas may be input in the entry edit box when creating a new entry or modifying an existing one. Here are two examples.

$latex a_2$

$latex \frac{1}{2}$

====================================================

Some hacks needed for MT 4.3 (English version).

====================================================

A. Modify $MT_HOME/plugins/latex/LaTeX.pl

To comment this line:

print $latex_formula

B. Modify "Entry Summary" template

REPLACE <$mt:EntryBody$> WITH <MTEntryBody latex=1>

C. Modify "Entry" template

REPLACE <$mt:EntryBody$> WITH <MTEntryBody latex=1>