Re: send notebook expression by Email
- To: mathgroup at smc.vnet.net
- Subject: [mg18521] Re: send notebook expression by Email
- From: "Kevin J. McCann" <kevinmccann at Home.com>
- Date: Thu, 8 Jul 1999 22:32:55 -0400
- Organization: @Home Network
- References: <7lups8$de5$4@dragonfly.wolfram.com> <7m14s3$pll@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
If you post the full expression, then when it is pasted into a NB it reads fine - partial expressions, such as yours below, don't work though. Kevin P.J. Hinton <paulh at wolfram.com> wrote in message news:7m14s3$pll at smc.vnet.net... > On 7 Jul 1999, Arnold.Blaisonneau wrote: > > > I'd like to send notebook expression by Email but when I copy this > > notebook expression in the message undesirable characters appears; for > > example: > > > > \!\(calculcoef[aa_, > > bb_] := \n\t\(\(Module\)\([\)\({z1, z2, spol}, \n\t\tspol = > > aa + I\ bb; \n\t\tz1[0] = Abs[spol]; > > z1[1] = Arg[spol]; \n\t\txx0 = \ at \(z1[0]/DT\); > > yy0 = z1[1]/2; \n\t\tz1[0] = xx0*ri; z1[1] = > > yy0;\)\)\)............. > > > > instead of > > > > calculcoef[aa_, bb_] := Module[{z1, z2, spol}, spol = aa + I bb; z1[0] > > = Abs[spol]; > > z1[1] = Arg[spol]; xx0 = z1[0]/DT; > > yy0 = z1[1]/2; z1[0] = xx0*ri; z1[1] = yy0;..................... > > > > I think it's a problem of format but Idon't know how to do! > > If anyone could help me; > > Paste this expression into a notebook and evaluate it: > > FrontEndExecute[ > FrontEnd`HelpBrowserLookup[ > "MainBook", > {"2.8.12", "12.11"} > ] > ] > > This will open the Help Browser to the section of the Mathematica book > that explains what you're seeing. > > If you want to get the plain text format version, you'll need to convert > the contents of the cell to a format type that does not use boxes. You > can do the following: > > 1) Select the bracket of the cell which you wish to copy to the clipboard. > > 2) Click on the front end menu command sequence Cell -> Convert To -> > InputForm. > > 3) Copy the cell to the clipboard.. > > 4) Paste into your external application. > > If your cell contains inline comments, the action in (2) will remove the > comments. To avoid this problem, copy the source cell to a temporary > notebook and use the copy as the source for the transfer. > > If you do not need to use two-dimensional formatting and would prefer to > have the ability to immediately transfer cell contents without first doing > the conversion, you can set the front end's default format type for Input > style cells to be InputForm rather than StandardForm by using the front > end menu command sequence: > > Cell -> Default Input Format Type -> InputForm > > This will be stored in the front end's global preferences and will apply > to all notebook that do not have an explicit setting embedded in the > notebook expression. > > -- > P.J. Hinton > Mathematica Programming Group paulh at wolfram.com > Wolfram Research, Inc. > Disclaimer: Opinions expressed herein are those of the author alone. > >