Re: Problem exporting to LaTex
- To: mathgroup at smc.vnet.net
- Subject: [mg116828] Re: Problem exporting to LaTex
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Wed, 2 Mar 2011 04:31:25 -0500 (EST)
Possibly the trouble now is that you did not refresh the MiKTeX file name database, so MiKTeX didn't know that the package was there. I don't recall whether you can do this directly through TeXnicCenter, but you should have a MiKTeX program group on your start menu, and in there is a Maintenance group. You want the Settings choice, then the General tab, and click the Refresh FNDB button. On 3/1/2011 5:22 AM, Barrie Stokes wrote: > Hi Frank > > I have a TeX problem also, which may be related, so I thought I would put this to the Group as well. > > I made up a simple .nb file with v.8.0.0, did Save As to .tex, and ran it through TeXnicCenter set up to produce a PDF. > > I get an error message from TeXnicCenter , to wit: I need the file "tex\latex\setspace\setspace.sty". I can see that in the TeX generated by Mathematica there is the line "/usepackage{amsmath, amssymb, graphics, setspace}". OK > > So I found a file called setspace.sty at the CTAN site (although it is in a folder/page labelled "obsolete"). I put the setspace.sty file I found in a folder called setspace, within my tex\latex\ structure (actually inside my C:\Program Files\MikTeX 2.7 folder) but this did not fix the error. > Can anybody shed any light on this issue? > > (I have previously used my current TeXnicCenter +MikTeX setup successfully with hand-coded TeX having a "\usepackage{amsmath, amssymb, graphics}" statement.) > > Thanks > > Barrie > > > > >>>> On 28/02/2011 at 9:01 pm, in message<201102281001.FAA14616 at smc.vnet.net>, > Frank K<fkampas at gmail.com> wrote: >> If I export a notebook to LaTex and open the .tex file using TexForm, >> I get error messages for the Output lines. >> The error is "Bad math environment delimiter". This happens on a >> Windows PC and a Mac. Any advice on this would be appreciated. > > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305