Extracting Cells from a NotebookThis section assumes that you have already loaded the AuthorTools package and set the variable nb to represent the notebook you want to process. (See Using Functions to see how to do this.) This exports all cells of Section style to a notebook.
| Out[3]= |  |
You can also extract all Section cells by specifying a list of two elements as the second argument. ExportNotebook[nb1, {"CellStyle", "Section"}, "Notebook"] is equivalent to ExportNotebook[nb1, "Section" "Notebook"].
| Out[4]= |  |
This command exports all cell groups in which the heading cell is an input cell. This enables you, for example, to extract all input-output pairs in a notebook.
| Out[5]= |  |
This command exports all cells having the cell tag "Reference1".
| Out[6]= |  |
This command exports all graphics cells as separate GIF files.
| Out[7]= |  |
|