MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using ConversionRules to generate labels in TeX


On Dec 2, W. Craig Carter wrote:

> I am unable to get the cell option, ConversionRules, to do what I 
> want. The documentation is not terribly helpful. 
> What I want is Mathematica to generate a label for specified cells 
> when I save as a TeX document. 
> I've tried this: 
> ConversionRules->{"TeX",{{"\label{foo}", ""}}} 
> but nothing shows up on conversion to TeX. 
> Any ideas? 

There's a syntax error here. The rule should be written as:

  ConversionRules->{"TeX" -> {"\label{foo}", ""}}

and this works. It seems more typical for the label to appear after the 
cell's content, so perhaps

  ConversionRules->{"TeX" -> {"", "\label{foo}"}}

is better.

Cheers,
Paul

_______________________________________________________________________
Paul Abbott                                      Phone:  61 8 6488 2734
School of Physics, M013                            Fax: +61 8 6488 1014
The University of Western Australia         (CRICOS Provider No 00126G)    
AUSTRALIA                               http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: Roman Maeder's Classes.m
  • Next by Date: Re: Roman Maeder's Classes.m
  • Previous by thread: Using ConversionRules to generate labels in TeX
  • Next by thread: Fixed points for system using PlotVectorField