|  |  | 12.6 Ipescript: running Ipe scripts

## 12.6 Ipescript: running Ipe scripts

Ipescript runs an Ipe script written in the Lua language with bindings for the Ipe objects, such as the script "update-master". Ipescript automatically finds the script in Ipe's script directories. On Unix, you can place your own scripts in $HOME/.ipe/scripts.

The Ipe distribution contains the following scripts:

- update-master, explained earlier;
- page-labels, explained earlier;
- onepage collapses pages of an Ipe document into layers of a single page;
- add-style to add a stylesheet to Ipe figures;
- update-styles to update the stylesheets in Ipe figures (in the same way that Ipe does it using the "Update stylesheets" function).