Tag Info

6

I am not sure if the code you posted is literal but in any case you need to be using Alternative instead of Or, i.e. | instead of ||: SetOptions[#, {CellOpen -> False, WholeCellGroupOpener -> False}] & /@ Cells[EvaluationNotebook[], CellStyle -> ("Section" | "Subsection"), CellTags -> ("A" | "B")]

4

TL;DR Tell the button where to search, with, e.g. ButtonNotebook: Button["B", SetOptions[#, CellOpen -> True] & /@ Cells[ButtonNotebook[], CellStyle -> "Section", CellTags -> "A"] ] You can always check with Print and friends, what is going on, Button["B", Print@Cells[CellStyle -> "Section", CellTags -> "A"]] so clicking this ...

4

The name of the menu item Insert ► Page Break seems to be a bit misleading. According to the Documentation page for ShowPageBreaks, manual page breaking is controlled via the PageBreakAbove and PageBreakBelow options of Cell. This conclusions is further supported from the fact that when you use Insert ► Page Break menu item you actually insert the following ...

3

The problem is that options not documented/released in System context, are renamed to e.g. $CellContextWholeCellGroupOpener. There is a more general topic about that: Programming scripts to create and modify stylesheets: problems with contexts So what your code does is creation of such option (you can check cell expression with Ctrl+Shift+E) which ... 2 I know a very awkward way to make an Input cell which behaves the way you are looking for. It has different editing properties. I came across such cells when importing notebooks from very long ago. They were from the mid 1990's either Mathematica 3 or Mathematica 4 and they had editing properties, which I still miss very much today. Here I show you a ... 2 The styles of the AuthorTools are in the stylesheet "HelpBrowser.nb" FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "HelpBrowser.nb"}] For me, it gives : "C:\Program Files\Wolfram \ Research\Mathematica\10.0\SystemFiles\FrontEnd\StyleSheets\\ HelpBrowser.nb" FileNameJoin[] exists since Mathematica 7. If you ...

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