Tag Info

Hot answers tagged

10

You can try the following, but with a copy of your corrupted file: Needs["AuthorTools`"] NotebookRestore[] which opens a new window. N.B.: works on "10.0.2.0 for Mac OS X x86 (64-bit) (December 4, 2014)"


7

There is a special cell attribute called CellID. I would suggest using this instead of cell tags to avoid the problem that you mentioned with cell tags being inherited. Here's an example of how Select can be used to retrieve a cell with a specific cell ID: nb = CreateWindow[]; cells = <| "name" -> RandomInteger[10^6], "status" -> ...


6

I have no personal experience with versioning/sharing in Mathematica yet, but my group and I have come to the point where we have to consider these options, so I have been looking around a bit. I can't say that I have any definitive answer, but this is what I've learned from perusing this community's archive. First of all, in order to share Mathematica ...


5

The FE always opens the stylesheet named in the DefaultStyleDefinitions option at the global level. In certain failsafe cases, it will fall back to this stylesheet if style definitions can't be found anywhere else. The one case I know for certain(*) where this happens is if the FE followed a stylesheet chain all the way to the end looking for stylename, ...


4

You can select it just like any other cell, and then delete it. On my system, it is a cell of the form: Cell[" ", "Text", Editable -> False, Selectable -> False, CellFrame -> {{0, 0}, {0, 3}}, ShowCellBracket -> False, CellMargins -> {{0, 0}, {1, 1}}, CellElementSpacings -> {"CellMinHeight" -> 1}, CellFrameMargins -> 0, ...


3

In the interest of showcasing a functional answer to an interesting question, I take the liberty of turning @Szabolcs comments above to an answer, since the OP has confirmed that this approach has solved his problem. Szabolcs pointed out that when one is "evaluating" a cell in the front end it really just queues that cell for evaluation. When one evaluates ...


2

You can explicitly specify that only "Input" Cells should be closed: Do[CurrentValue[cell, CellOpen] = False, {cell, Cells[CellStyle -> {"Input"}, CellTags -> {"noclass"}]} ] As Kuba notes in the comment, it is CellTags what is inherited by generated output Cell. This issue recently raised in this question. If the inheritance is not desirable you ...


2

Ok so I fixed it: Cell[StyleData[StyleDefinitions -> "Default.nb"], CellMargins->{{21, 3}, {4, 4}}] Cell[StyleData[All], ShowGroupOpener->False, FontFamily->"Avenir"] Cell[StyleData["Title"], CellMargins->{{10, 3}, {4, 4}}, FontColor-> RGBColor[0,0.0,0.6], CellGroupingRules->{"SectionGrouping", 9}] Cell[StyleData["Section"], ...


1

This is not a full response, but I have some info that might be helpful. The subsection issue is caused by the Stylesheet entry for Subsubsection, changing it to the default of 50 should fix it, or anything >40. Cell[ StyleData["Subsubsection"], CellGroupingRules -> {"SectionGrouping", 50} ] The issue is that the default for SectionGrouping ...



Only top voted, non community-wiki answers of a minimum length are eligible