PI: formulalist
The purpose of a formulalist is to present a list of all formulas used in a selection of modules with a reference to the modules. The formulas must be registered in a Formulas element or ODTFormulas element in the script or "on the fly" in Formula . Formulas of all three forms (TeX,Image,MathML) is listed.
<?_wxt formulalist id=""?>
The parameters are:
idlist (optional) | A commaseparated list of module ids that we want to include. If this is set, the others (select, root and books) are ignored. |
scriptpath (optional) | The scriptpath is an xpath that is used on the script to select modules. Sample: //module[@template='P'] get all modules with template P. |
root (optional) | The id of the module that defines the subtree we will make a map for. |
books (optional) | A commaseparated list of book ids that we want to include. |
select (optional) | Possible values are _siblings and _children. |
cols (optional) | The number of columns we want (>=1). Default value is 1. |
Styleclass(es) describing this PI is: wxtformulalist. See distributed std styles.
The selected set of modules will be assembled according to the following rule:
- if idlist is set, the collection is as defined in the idlist.
- if idlist is not set, the collection is made up as the intersection of the modules spesified by root, book, scriptpath and select.
- if neither idlist, root, book, scriptpath or select is set, all modules are selected, except those with books attribute: _never.
Example:
<div> <?_wxt formulalist books="math"?> </div>