Undefined macro in LaTex file from Mma 3.0
- To: mathgroup at smc.vnet.net
- Subject: [mg8833] Undefined macro in LaTex file from Mma 3.0
- From: carlos at mars.Colorado.EDU (Carlos A. Felippa)
- Date: Mon, 29 Sep 1997 02:39:58 -0400
- Organization: University of Colorado, Boulder
- Sender: owner-wri-mathgroup at wolfram.com
The following LaTeX file was produced by the Save Special -> TeX of a Mma 3.0 Notebook Cell. (sorry about the awful line spacing) After making sure that notebook.sty was in the path of Mac Textures, LaTeX complained that \RawReturn was undefined. Would anybody know where that macro is supposed to be defined? (I hardly use LaTeX, which I view as an ugly abomination of TeX.) %% %% This is a LaTeX document generated by automatic conversion %% from a %% Mathematica notebook using Mathematica 3.0. %% %% This document uses special macros defined in the style file %% notebook.sty. %% To run the document, you must put this style file in a %% directory on %% the path searched by LaTeX. The style file is in the %% IncludeFiles %% subdirectory of the SystemFiles directory in your %% Mathematica distribution. %% \def\CellGroup{\bgroup} \def\endCellGroup{\egroup} \documentstyle[notebook]{article} \begin{document} \begin{CellGroup} \mathin Shanks[Z\_]:= Module[\{m,n,shankedZ\},\RawReturn \RawReturn \{m,n\}=Dimensions[Z]; \RawReturn \RawReturn If [n<=2, Return[\{\}]];\RawReturn \RawReturn shankedZ=Table[0,\{m\},\{n-2\}];\RawReturn \RawReturn Do [Do [\RawReturn \RawReturn shankedZ[[i,j]]=( Z[[i,j+2]]* Z[[i,j]] -Z[[i,j+1]]\RawWedge 2)/\RawReturn \RawReturn (Z[[i,j+2]]-2*Z[[i,j+1]]+Z[[i,j]]),\RawReturn \RawReturn \{j,1,n-2\}], \{i,1,m\}];\RawReturn \RawReturn Return[shankedZ]];\RawReturn \RawReturn \RawReturn \RawReturn \$MinPrecision=16;\RawReturn \RawReturn S1=Shanks[N[\{\{1,1-1/2,1-1/2+1/3,1-1/2+1/3-1/4,1-1/2+1/3-1/4+1/5,\RawReturn \RawReturn 1-1/2+1/3-1/4+1/5-1/6,1-1/2+1/3-1/4+1/5-1/6+1/7\},\RawReturn \RawReturn \{1,1-1/3,1-1/3+1/5,1-1/3+1/5-1/7,1-1/3+1/5-1/7+1/9,\RawReturn \RawReturn 1-1/3+1/5-1/7+1/9-1/11,1-1/3+1/5-1/7+1/9-1/11+1/13\}\}]];\RawReturn \RawReturn S2=Shanks[S1]; S3=Shanks[S2];\RawReturn \RawReturn Print[S1,S2,S3,\{\{Log[2.]\},\{Pi/4.\}\}]; \endmathin \dispTFPrintmath{\MathBegin{MathArray}{l} \Big(\MathBegin{MathArray}[c]{ccccc} 0.7&0.69047619047619&0.694444444444444&0.692424242424242&0.693589743589744 \\ 0.791666666666667&0.783333333333333&0.786309523809524&0.784920634920635&0.785678210678211 \MathEnd{MathArray} \\ \noalign{\vspace{1.07143ex}} \hspace{2.em} \Big)\InvisibleSpace \\ \noalign{\vspace{1.07143ex}} \hspace{1.em} \Big(\MathBegin{MathArray}[c]{ccc} 0.69327731092437&0.693105756358768&0.693163340724316 \\ 0.785526315789474&0.785362554112554&0.785410830999066 \MathEnd{MathArray}\Big)\InvisibleSpace \\ \noalign{\vspace{1.14286ex}} \hspace{1.em} \Big(\MathBegin{MathArray}[c]{c} 0.693148869332925 \\ 0.785399839329751 \MathEnd{MathArray}\Big)\InvisibleSpace \Big(\MathBegin{MathArray}[c]{c} 0.693147 \\ 0.785398 \MathEnd{MathArray}\Big)\\ \MathEnd{MathArray}} \end{CellGroup} \end{document}