m2l (python script)

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[   ]ComparativeStatics-m2l.pdf13-May-2006 19:58 40K
[   ]ComparativeStatics-m2l.tex13-May-2006 19:58 8.6K
[   ]ComparativeStatics-none.pdf13-May-2006 19:58 41K
[   ]ComparativeStatics-none.tex13-May-2006 19:58 6.8K
[TXT]m2l13-May-2006 19:58 6.0K

The python script "m2l" modifies the noindent and pmb commands from Mathematica 5.1's "save as special / tex" and improves (IMHO) various aspects of the display. Defaults to producing a complete document but the command line option -b produces body only for including in another LaTeX file. For bodyonly to work properly, the tex file must contain "\maketitle" and for this to happen the mathematica .nb (notebook) file must have a title. Bodyonly truncates everything through the \maketitle line. The two tex (and resulting pdf) files provided in this directory illustrate the effect of the m2l transformation:
  1. ComparativeStatics-m2l.tex (pdf) - the LaTeX file produced by Mathematica and then transformed by m2l. Note: Special layout and fonts invoked by the m2l default note.class and dag-paper-dvi have been removed to make the results more comparable. See ComparativeStatics for the version with special layout and fonts.
  2. ComparativeStatics-none.pdf - the LaTeX file produced by Mathematica without any transformation.