Is there any way to print out to pdf file, in sequence, all cells independently? I have literally hundreds of cells that need to be printed in that way. Selecting each cell and "Print Selections" takes me ages before I finish.
Asked
Active
Viewed 110 times
1 Answers
2
A simple suggestion, assuming you want each cell in a separate file:
cellCounter = 1;
Map[
Export[
StringJoin["cell-", ToString[cellCounter++], ".pdf"],
NotebookRead[#]] &,
Cells[]];
and the resulting file corresponding to this cell:

cormullion
- 24,243
- 4
- 64
- 133
Split[Cells[], MemberQ[Cells[CellStyle -> {"Input"}], #1] && MemberQ[Cells[CellStyle -> {"Output"}], #2] &]and"CellLabelsToTags"– Michael E2 Jul 14 '13 at 19:46