trdemo:main trdemo-main
adaptions/common/xpl/trdemo-main.xpl
This ist the initial pipeline for the transpect demo.
Visualisation
The pre-creation of this SVG image needs the Graphviz software installed. Please inform your project maintainer.
Input Ports
Name | Documentation | Connections |
---|---|---|
confⓅ | The 'conf' port expects the Transpect configuration file. | |
schema | Excepts the Docbook 5.0 RNG schema |
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅ | The 'result' output port provides the xml file. | The 'result' output port provides the xml file. |
docbook | The 'docbook' output port provides Docbook-flavoured XML. | The 'docbook' output port provides Docbook-flavoured XML. |
html | The 'html' output port provides a HTML file | The 'html' output port provides a HTML file |
htmlreport | The 'htmlreport' output port provides the HTML report file with Schematron and RelaxNG messages. | The 'htmlreport' output port provides the HTML report file with Schematron and RelaxNG messages. |
Options
Name | Documentation | Default |
---|---|---|
fileⓇ | The path to the input file. | |
hub-version | The version of the HUB XML Format. See https://github.com/le-tex/Hub for the RelaxNG schema. | '1.1' |
publisher | Used to set the publisher statically. If this option is not set, the step named "paths" will determine the publisher name by the input filename. | '' |
series | Used to set the book series statically. If this option is not set, the step named "paths" will determine the series name by the input filename. | '' |
work | Used to set the work statically. If this option is not set, the step named "paths" will determine the work name by the input filename. | '' |
debug | Used to switch debug mode on or off. Pass 'yes' to enable debug mode. | 'yes' |
debug-dir-uri | Expects a file URI of the directory that should be used to store debug information. | 'debug' |
progress | Whether to display progress information as text files in a certain directory | 'yes' |
status-dir-uri | Expects URI where the text files containing the progress information are stored. | concat($debug-dir-uri, '/status') |
Subpipeline
Step | Inputs | Outputs | Options |
---|---|---|---|
trdemo:paths trdemo-paths |
| result | pipeline = 'trdemo-main.xpl' publisher = $publisher series = $series work = $work file = $file debug = $debug debug-dir-uri = $debug-dir-uri |
trdemo:convert-input trdemo-convert-input |
| result | debug = $debug debug-dir-uri = $debug-dir-uri |
trdemo:hub2dbk hub2dbk |
| result | debug = $debug debug-dir-uri = $debug-dir-uri |
p:delete strip-srcpath-from-dbk | result | match = '@srcpath' | |
letex:store-debug d10e194 |
| result | pipeline-step = 'trdemo/trdemo-hub2dbk' active = $debug base-uri = $debug-dir-uri |
p:sink d10e201 | |||
trdemo:validate trdemo-validate |
| result | debug = $debug debug-dir-uri = $debug-dir-uri |
letex:store-debug d10e220 |
| result | pipeline-step = 'trdemo/trdemo-validate' active = $debug base-uri = $debug-dir-uri |
hub2htm:convert hub2htm-convert |
| result | debug = $debug debug-dir-uri = $debug-dir-uri |
p:delete strip-srcpath-from-html |
| result | match = '@srcpath' |
trdemo:epub-convert trdemo-epub-convert |
| result | svrl-srcpath = concat( /*:hub/*:info/*:keywordset[@role eq 'hub']/*:keyword[@role eq 'source-dir-uri'], (/*:hub//*[@srcpath])[1]/@srcpath ) debug = $debug debug-dir-uri = $debug-dir-uri |
transpect:patch-svrl htmlreport |
| result | severity-default-name = 'warning' report-title = /c:param-set/c:param[@name eq 'work-basename']/@value debug = $debug debug-dir-uri = $debug-dir-uri |