Jay Belanger <belanger@truman.edu> writes:
...
> > > > 2. Can I suppress/hide the maxima code and/or raw tex of the maximaoutput?
> > >
> > > What do you mean?
> > > A cell that looks like
> > > \maximanoshow
> > > ...
> > > \endmaximanoshow
> >
> > > will be evaluated in Maxima, but won't be TeXed up, if that's what you
> > > mean.
> >
> > I hadn't tried that, but it's the reverse of what I want. Basically,
> > I'd like to preview the final document (e.g., without any of the
> > maxima input commands/intermediate results showing).
What should show?
> > > > 3. Finally, once I have everything done, I need to save the
> > > > output into a regular latex (actually revtex) document, and be
> > > > able to send it somewhere that doesn't have maxima/emaxima installed
> > > > (e.g., a journal). Is there some simple command to strip out
> > > > everything but the tex output?
> >
> > > Not yet, but one could be made.
> > > It should probably comment out the original cell, so the input will
> > > still be in the unprocessed document, and then insert some TeX
> > > statements that will result in the output. The resulting *.tex file
> > > won't look very tidy, and changing the Maxima commands after this
> > > command is run would be a pain, hm, and the bars would be a minor
> > > pain, but something can be done. Why type of cells are you interested
> > > in having this done to, to start?
> >
> > I like the comment idea. How about a simple script or auctex function
> > that simply comments or uncomments all but the output tex lines in a
> > region/document?
The function 'emaxima-replace-cells-by-latex' was added to CVS
emaxima.el. It comments out the cells, and tries to replace them by
their LaTeX equivalent.
It's somewhat preliminary, hasn't been tested much, and so could
easily have bugs....
Jay