I have a demonstration notebook with a code development chapter and a demonstration chapter with a manipulate environment, like this depicted minimal example
I know how to export a cdf but is there any command to export the whole notebook without a specific section/chapter? I have been playing around with Cells[CellStyle->"Chapter"]
, SelectionMove[]
and NotebookSelection[]
but without any luck. At the end I would like to have a cdf file only with the title, lecture information and the demonstration, i.e., without the code development chapter, like this
Here you can get the notebook, if it is easier to test for you
Naturally, I know I can just create a copy file of the notebook, erase the code part and then manually create the cdf. But may be there is a command in order to avoid that procedure and do everything within one notebook using CDFDeploy[]
. Thanks!
NotebookLocate + NotebookDelete + Deploy + delete parent notebook
or something. $\endgroup$NotebookLocate
do the job without the need to delete anything. I will post the answer in a sec. $\endgroup$