Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does one clear the notebook from symbols that remain in it after an edit session?

share|improve this question
At risk of asking the obvious, have you deleted the dynamic Manipulate objects from the Notebook, saved it, and reopened it? – Mr.Wizard Feb 1 '12 at 5:59
In what part of the Notebook file do these FE`* symbol names appear? – Mr.Wizard Feb 1 '12 at 6:16
up vote 4 down vote accepted

Please try evaluating this in a copy of the Notebook with all the dynamic objects first deleted, then save and examine the Notebook file:

  PrivateNotebookOptions->{"FileContents"->{"NotebookData"}, "FileOutlineCache"->False}
share|improve this answer
@Nasser I am pleased that this seems to have (nearly) fixed the problem, as it was a bit of a shot in the dark. These settings as I understand them tell Mathematica to save only the bare minimum of data to the .nb file. By default it uses headers, footers, and cache information, which usually help with various things like version detection and backward compatibility, and speed up opening large .nb files. Here they apparently were mucking things up. You should try using only the setting "FileOutlineCache"->False as I suspect that is the more likely culprit. – Mr.Wizard Feb 1 '12 at 6:44
@Nasser You should only need to evaluate this once in the notebook (or set the same options using the Options Inspector) and then save the file. From that time on Mathematica should save the file without cache or headers (again, headers are useful so I suggest you try it with only the "FileOutlineCache" setting). Alternatively you could evaluate this only before saving a copy to upload. – Mr.Wizard Feb 1 '12 at 6:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.