MathGroup Archive 1999

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

Search the Archive

Re: getting rid of TraditionalForm

  • To: mathgroup at
  • Subject: [mg19518] Re: getting rid of TraditionalForm
  • From: Brian Higgins <bghiggins at>
  • Date: Sun, 29 Aug 1999 03:00:38 -0400
  • Organization: - Share what you know. Learn what you don't.
  • References: <7q2134$>
  • Sender: owner-wri-mathgroup at

In article <7q2134$q9q at>,
  Henrik Weimer <henrik at> wrote:
> Hello!
> A while back I changed the default cell type for inline expressions to
> TraditionalForm. Now, I regret that choice and would like to convert
> inline expressions in a lot of text that I typed in the meantime to
> StandardForm.
> I figured that I can do this automatically - most of the time.
> In mathematica I use the following:
> n = << "notebook.nb"
> nn = n/.{FormBox[a_,TraditionalForm]->a}
> nn >> "convertedNotebook.nb"
> The problem is that this only works on some but not all notebook. In
> particular, for some of the notebooks this seems to screw up the file
> syntax and the front end gets stuck reading the converted notebook.
> Does anybody out there know a reliable and simple way to get rid of
> TraditionalForm stuff for all inline expression cells in a notebook?
> Alternatively, how can the hack above be fixed so it works?
> Thanks,
>    Henrik Weimer

A method I use that  works  is to open the notebook, highlight all the
cells, go to FORMAT menu click on Show Expression. This will convert
your notebook to FormatForm. Then go to the FIND menu, open up Fine. In
the search for box, type in TraditionalForm. In the Replace box type in
StandardForm ,then click on Find All. After all the replacemnets have
been done, highlight all the cells, go to the FORMAT menu and click on
Show Expression. Your notebook has been transformed. If TraditionalForm
has also been used in Input cells, then uou would have to be carefull
only to select Text cells befor using Find.


Sent via
Share what you know. Learn what you don't.

  • Prev by Date: Re: ReplaceAll in If Statement
  • Next by Date: Word and Mathematica
  • Previous by thread: Re: getting rid of TraditionalForm
  • Next by thread: Simultaneous nonlinear Regression of two data sets