AuthorTools`MakeContents`
AuthorTools`MakeContents`

MakeContents

MakeContents[nb|proj,format]

writes a table of contents for the specified notebook or project in the given format.

Details and Options

  • The first argument can be a notebook object, a notebook file, or a project file.
  • Possible formats include "Simple", "Book", or "BookCondensed". The default format is "Simple".
  • "Simple" lists all the entries without page numbers or any special formatting. This format is useful for checking that all topics are in the right order before generating a table of contents in one of the other two styles.
  • "Book" resembles a table of contents in a typical book, with each topic and subtopic on a separate line.
  • "BookCondensed" combines multiple subtopics on the same line to achieve a more compact appearance.
  • The following options can be given:
  • ContentsFileNameTOC.nbContentsFileName is an option to MakeContents that specifies the name of the generated contents file
    CellTagPrefixc:CellTagPrefix is an option for MakeContents that specifies the string that will start all cell tags added by MakeContents
    SelectedCellStyles{Title,Section,Subsection,Subsubsection}SelectedCellStyles is an option that determines what cells from the user's notebook are itemized when building a table of contents or browser categories; it can be set to a list of style names
Wolfram Research (2002), MakeContents, Wolfram Language function, https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html.

Text

Wolfram Research (2002), MakeContents, Wolfram Language function, https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html.

CMS

Wolfram Language. 2002. "MakeContents." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html.

APA

Wolfram Language. (2002). MakeContents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html

BibTeX

@misc{reference.wolfram_2023_makecontents, author="Wolfram Research", title="{MakeContents}", year="2002", howpublished="\url{https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html}", note=[Accessed: 18-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_makecontents, organization={Wolfram Research}, title={MakeContents}, year={2002}, url={https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html}, note=[Accessed: 18-April-2024 ]}