Plugins location
Plugins for Serna are located in the sernaInstallationPath\plugins directory. Also, you can specify the path to an additional directory with plugins.
Plugins activation
A document template specifies what plugins must be loaded for documents opened/created with this template.
For example, DITA document templates specify that TablePlugin must be loaded for DITA documents.
..... <t:load-plugins>TablePlugin</t:load-plugins> .....
Serna plugin description files ( *.spd) list document templates for which they must be loaded.
For example, dita-reference.spd specifies that DitaReference_Py plugin must be loaded for documents opened with document templates of DITA 1.0 and DITA 1.1 categories.
.....
<serna-plugin>
<name>DitaReference_Py</name>
<dll>$SERNA_PLUGINS_BIN/pyplugin/pyplugin21</dll>
<load-for>
<template>
<category>DITA 1.0</category>
</template>
<template>
<category>DITA 1.1</category>
</template>
</load-for>
.....
It is possible to disable and enable installed plugins for all document types.