Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Utilities for creating and editing stylesheet notebooks
Contributed by: Kevin Daily
StylesheetTools is a collection of utilities to help create and modify stylesheet notebooks. Use the functions to gather information about potential syntax errors, conveniently write or modify style definition cells, and gain a better understanding of stylesheet inheritance. The functions are designed to simplify workflows, such as flattening all style definition cells into a single private stylesheet for easier distribution of your working notebook, or simplifying a single stylesheet to make it easier to read and understand at a glance.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Wolfram/StylesheetTools"]
Detect whether a notebook is a valid stylesheet:
In[1]:= |
Out[1]= |
Write a style definition cell to a working notebook's private stylesheet:
In[2]:= |
Discover how a stylesheet inherit from other stylesheets:
In[3]:= |
Out[3]= |
Detect potential syntax errors:
In[4]:= |
Out[4]= |
Flatten a stylesheet to make it more straightforward to read:
In[5]:= |
Out[4]= |
Change the parent stylesheets without losing any of the previously inherited options:
In[6]:= |
Out[7]= |
Wolfram Language Version 13.0