This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Add-ons & Links / AuthorTools / Function Interface /

Creating a Browser Categories File

This section assumes that you have already loaded the AuthorTools package and set the variable nb to represent the notebook you wish to process. (See Using Functions to see how to do this.)

This generates a simple Browser Categories file for the notebook.

MakeBrowserCategories[nb]

The second argument of MakeCategories specifies the format of the BrowserCategories.m file. You can choose from three different formats: "Simple", "Full", or "FullNoTags".

The following command generates a full Browser Categories file for the notebook.

MakeBrowserCategories[nb, "Full"]

Note: The MakeCategories command inserts cell tags into the source notebook and automatically saves the changes. If you do not want your source notebook modified, you should keep a separate copy as a back-up.