Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: getting rid of TraditionalForm

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

In article <7q2134$q9q at smc.vnet.net>,
  Henrik Weimer <henrik at rice.edu> 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
all
> 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
the
> TraditionalForm stuff for all inline expression cells in a notebook?
> Alternatively, how can the hack above be fixed so it works?
>
> Thanks,
>
>    Henrik Weimer
>
Henrik,

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.


Regard


Sent via Deja.com http://www.deja.com/
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