-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
36 lines (34 loc) · 1.68 KB
/
plugin.xml
File metadata and controls
36 lines (34 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="org.dita.text">
<feature extension="package.version" value="1.0.0"/>
<extension-point id="dita.xsl.text.ast" name="Text XSLT import, step 1"/>
<extension-point id="dita.xsl.text" name="Text XSLT import"/>
<extension-point id="depend.org.dita.text.pre.ast" name="Process before AST processing"/>
<extension-point id="depend.org.dita.text.pre" name="Process before text output"/>
<feature extension="ant.import" file="build_dita2text.xml"/>
<template file="xsl/txtstep1_shell_template.xsl"/>
<template file="xsl/txtstep2_shell_template.xsl"/>
<template file="build_dita2text_template.xml"/>
<transtype name="text" extends="troff" desc="Text output">
<param name="text.title.format" desc="Specifies whether to add numeric prefixes to topic titles." type="enum">
<val default="true">default</val>
<val>number</val>
</param>
<param name="text.toc" desc="Specifies whether to add a TOC to the top of each output text file." type="enum">
<val default="true">none</val>
<val>toc</val>
</param>
<param name="text.lineend" desc="Specifies what line end characters to use." type="enum">
<val default="true">lf</val>
<val>crlf</val>
<val>cr</val>
</param>
<param name="text.coverinfo" desc="Specifies whether to add book title and release." type="enum">
<val default="true">none</val>
<val>add</val>
</param>
<param name="text.linelength" desc="Specifies how many characters to allow on a line." type="string"/>
</transtype>
<!-- This plugin requires the troff plugin as it's based on it and require its ant targets -->
<require plugin="org.dita.troff"/>
</plugin>