All Projects → b3m2a1 → mathematica-tools

b3m2a1 / mathematica-tools

Licence: MIT License
One-off tools and packages

Programming Languages

Mathematica
289 projects

Mathematica Tools

This is a collection of basic Mathematica tools, generally implemented as one-off packages.

NotebookTabbing

This is a package that provides a tabbed notebook interface. Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/NotebookTabbing.wl"]

Here’s a sample usage:

test1=CreateDocument["Input"];
SetDockedTabs[test1,
 Table[i->i,{i,3}]
 ];

title-8919251785266428182

An example can be found in [Tabbing Example.nb](Tabbing Example.nb)

Paclet Installation

This is functionality developed to put in my PackageData.net Service Connection . It provides auto-installation of packages, especially from GitHub or the Wolfram Library Archive.

Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/PackageDataPacletInstall.m"]

Then use it like so:

PDInstallPaclet["https://github.com/szhorvat/MaTeX"]
(*Out:*)

title-4907962479876499562

Block Builder

This is a little block-programming interface, first introduced in this StackExchange answer . Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/BlockBuilder.m"]

And use it like this

BlockBuilder[]

title-7464017383694232051

File Browser

This is a file browser, built kinda like the Finder on a Mac computer. A more sophisticated version is in BTools. Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/FileBrowser.wl"]

You can use it like so:

FileBrowser[Directory[]];
(*Loads a sidebar pre-populated with $HomeDirectory and friends*)
FileBrowser[Directory[],
 Function->Print
 ];
(*Prints files instead of opening them on double-click*)
FileBrowser[BTools`$AppDirectory,
 {$InstallationDirectory, $BaseDirectory, $UserBaseDirectory}
 ]
(*Loads a different root directory and sidebar*)
(*Out:*)

title-5470197701854498057

OldHelpBrowser

Creates an old-style (pre-Version 6) help browser. Also includes a search function. Builds an index of all existing documentation pages. Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/OldHelpBrowser.wl"]

Then use it like so:

OpenHelpBrowser[CurrentValue[HomePage] (* Optional. Blank will open faster. *)]
(*Out:*)

NotebookObject[FrontEndObject[LinkObject["36tt4_shm", 3, 1]], 681]

title-7242757585790016598

It also implements documentation search:

HelpPagesSearch[
 {
  "type"->"Symbol",
  "title"->"*My*"
  },
 True
 ]
(*Out:*)

title-731980004634513015

Clicking on one of those links will open the browser

title-6203410312044118217

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].