(************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.2' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. *******************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 7393, 245]*) (*NotebookOutlinePosition[ 8111, 270]*) (* CellTagsIndexPosition[ 8067, 266]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell[TextData[{ "Converting ", StyleBox["Mathematica", FontSlant->"Italic"], " to HTML" }], "Title", TextAlignment->Left, TextJustification->0], Cell[TextData[{ "Sean Mauch\nsean@caltech.edu\n", ButtonBox["http://www.its.caltech.edu/~sean", ButtonData:>{ URL[ "http://www.its.caltech.edu/~sean"], None}, ButtonStyle->"Hyperlink"], "\n", "This work is distributed under the GNU FDL. See ", ButtonBox["license.nb ", ButtonData:>{"license.nb", None}, ButtonStyle->"Hyperlink"], "for details." }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{ Cell["Conversion", "Section", TextAlignment->Left, TextJustification->0], Cell[TextData[{ "A ", StyleBox["Mathematica", FontSlant->"Italic"], " notebook can be saved as an HTML file that can be viewed with a web \ browser. Select ", StyleBox["File\[Rule]Save As Special\[Rule]HTML", FontWeight->"Bold"], ". In the pop up window first make a new folder by clicking the new folder \ button. Give the folder a name that describes the notebook. Double click \ the folder icon to move to the new folder. Finally type in the name of an \ HTML file that describes the notebook, (a string followed by the \".htm\" \ extension, like \"myfile.htm\"), and click on ", StyleBox["Save", FontWeight->"Bold"], ". It may take a little while to save in HTML format. \nNow open the HTML \ file using Navigator or Explorer. You'll use a command like ", StyleBox["File\[Rule]Open File", FontWeight->"Bold"], ". Note that each formula, table and graphic is saved as a separate gif \ file." }], "Text", TextAlignment->Left, TextJustification->1], Cell["\<\ Save this notebook as a HTML file and view it with a web browser.\ \>", "Text", TextAlignment->Left, TextJustification->1], Cell["\<\ Now close the three sections and save this notebook as an HTML file in a \ different folder. Note that closed sections become links to separate \ pages.\ \>", "Text", TextAlignment->Left, TextJustification->1], Cell[TextData[{ "With the current version of ", StyleBox["Mathematica,", FontSlant->"Italic"], " you should left-justify all the cells before saving as an HTML file. If \ they are not left-justified, the graphics will not be saved correctly." }], "Text", TextAlignment->Left, TextJustification->1] }, Open ]], Cell[CellGroupData[{ Cell["Formulas and Tables", "Section", TextAlignment->Left, TextJustification->0], Cell[BoxData[ \(volume = 4\/3\ \[Pi]\ \(r\^3 . \)\)], "DisplayFormula", TextAlignment->Left, TextJustification->0], Cell[BoxData[ TagBox[GridBox[{ { StyleBox["Distance", FontWeight->"Bold"], StyleBox["Intensity", FontWeight->"Bold"]}, { StyleBox[\((meters)\), FontWeight->"Bold"], StyleBox[\((scaled)\), FontWeight->"Bold"]}, { StyleBox["1.`", StyleBoxAutoDelete->True, PrintPrecision->3], StyleBox["0.904850534686995011`", StyleBoxAutoDelete->True, PrintPrecision->3]}, { StyleBox["1.`", StyleBoxAutoDelete->True, PrintPrecision->3], StyleBox["0.947774718613126943`", StyleBoxAutoDelete->True, PrintPrecision->3]}, { StyleBox["2.`", StyleBoxAutoDelete->True, PrintPrecision->3], StyleBox["0.248358183945026977`", StyleBoxAutoDelete->True, PrintPrecision->3]}, { StyleBox["2.`", StyleBoxAutoDelete->True, PrintPrecision->3], StyleBox["0.266662874455937615`", StyleBoxAutoDelete->True, PrintPrecision->3]}, { StyleBox["3.`", StyleBoxAutoDelete->True, PrintPrecision->3], "0.098"}, { StyleBox["3.`", StyleBoxAutoDelete->True, PrintPrecision->3], StyleBox["0.107466334121960072`", StyleBoxAutoDelete->True, PrintPrecision->3]}, { StyleBox["4.`", StyleBoxAutoDelete->True, PrintPrecision->3], "0.059"}, { StyleBox["4.`", StyleBoxAutoDelete->True, PrintPrecision->3], "0.071"}, { StyleBox["5.`", StyleBoxAutoDelete->True, PrintPrecision->3], "0.033"}, { StyleBox["5.`", StyleBoxAutoDelete->True, PrintPrecision->3], "0.045"} }, RowSpacings->1, ColumnSpacings->3, RowAlignments->Baseline, ColumnAlignments->{Left}], (TableForm[ #]&)]], "DisplayFormula", TextAlignment->Left, TextJustification->0] }, Open ]], Cell[CellGroupData[{ Cell["Graphs", "Section", TextAlignment->Left, TextJustification->0], Cell[BoxData[ \(\(PieChart[{3, 5, 8, 4, 4, 6}, \n PieLabels -> {"\", "\", "\", "\", "\", "\"}, \nPlotLabel -> "\<30 Tosses of a Die\>"]; \)\)], "Input", TextAlignment->Left, TextJustification->0], Cell[BoxData[ \(\(Plot[{Cos[x], Sin[x]}, {x, 0, 2 \[Pi]}, PlotLabel -> "\", AxesLabel -> {"\", "\"}]; \)\)], "Input", TextAlignment->Left, TextJustification->0] }, Open ]] }, Open ]] }, FrontEndVersion->"5.2 for Microsoft Windows", ScreenRectangle->{{0, 1680}, {0, 963}}, AutoGeneratedPackage->None, WindowToolbars->"EditBar", WindowSize->{756, 430}, WindowMargins->{{2, Automatic}, {Automatic, 5}}, Magnification->1.5 ] (******************************************************************* Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. *******************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1776, 53, 157, 7, 222, "Title"], Cell[1936, 62, 439, 14, 125, "Text", Evaluatable->False], Cell[CellGroupData[{ Cell[2400, 80, 76, 2, 109, "Section"], Cell[2479, 84, 996, 23, 281, "Text"], Cell[3478, 109, 136, 4, 46, "Text"], Cell[3617, 115, 224, 6, 71, "Text"], Cell[3844, 123, 312, 8, 71, "Text"] }, Open ]], Cell[CellGroupData[{ Cell[4193, 136, 85, 2, 111, "Section"], Cell[4281, 140, 122, 3, 51, "DisplayFormula"], Cell[4406, 145, 2361, 74, 267, "DisplayFormula"] }, Open ]], Cell[CellGroupData[{ Cell[6804, 224, 72, 2, 79, "Section"], Cell[6879, 228, 265, 6, 92, "Input"], Cell[7147, 236, 218, 5, 67, "Input"] }, Open ]] }, Open ]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)