a tutorial finder palette
- To: mathgroup at smc.vnet.net
- Subject: [mg76066] a tutorial finder palette
- From: Selwyn Hollis <sh2.7183 at earthlink.net>
- Date: Tue, 15 May 2007 05:07:32 -0400 (EDT)
- References: <1128F500-2F9A-42BC-A25D-7BECDCC7BFE9@EARTHLINK.NET>
Seems that the navigability of the new Documentation Center leaves a couple of things to be desired, in particular a single index of all the tutorial material. Here's something that might be useful for the time being. It creates a palette with buttons that take you straight to many of the tutorial overviews in the new help system. All comments, suggestions, and modifications are welcome. - Selwyn Hollis tutnames = { "tutorial/UsingTheMathematicaSystemOverview", "tutorial/NumbersOverview", "tutorial/ExpressionsOverview", "tutorial/TextualInputAndOutputOverview", "tutorial/BuildingUpCalculationsOverview", "tutorial/FunctionsAndProgramsOverview", "tutorial/PatternsAndTransformationRules", "tutorial/StringsAndCharactersOverview", "tutorial/ModularityAndTheNamingOfThingsOverview", "tutorial/AlgebraicManipulationOverview", "tutorial/SymbolicMathematicsOverview", "tutorial/ListsOverview", "tutorial/MathematicalFunctionsOverview", "tutorial/NumericalMathematicsOverview", "tutorial/NumericalCalculationsOverview", "tutorial/NumericalOperationsOnDataOverview", "tutorial/NumericalOperationsOnFunctionsOverview", "tutorial/FunctionalOperationsOverview", "tutorial/GraphicsAndSoundOverview", "tutorial/TheStructureOfGraphicsAndSoundOverview", "tutorial/ManipulatingNotebooksOverview", "guide/FrontEndTokens", "tutorial/FilesAndExternalOperationsOverview"}; CellPrint[ Cell[BoxData[ GridBox[({ButtonBox[ StringReplace[#1, {"tutorial/" -> "", "Overview" -> "", "guide/" -> ""}], ButtonData -> #1, ButtonFunction :> (Module[{nb}, nb = CreateDocument[#2, Saveable -> False, WindowSize -> {1, 1}, WindowMargins -> {{Automatic, 0}, {Automatic, 0}}, WindowFrame -> Frameless]; SelectionMove[nb, Next, CellContents]; FrontEndExecute[FrontEndToken["SelectionHelpDialog"]]; FrontEndExecute[FrontEndToken["Close"]]] &), Evaluator -> Automatic]} &) /@ tutnames]], ButtonBoxOptions -> {BaseStyle -> {FontSize -> 10, FontFamily -> "Arial", Bold}, Background -> RGBColor[1, 0.96, 0.87]}, GridBoxOptions -> {RowSpacings -> 0}]]