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

NameDocumentationConnections

conf

The 'conf' port expects the Transpect configuration file.

schema

Excepts the Docbook 5.0 RNG schema

Output Ports

NameDocumentationConnections

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

NameDocumentationDefault

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

StepInputsOutputsOptions

trdemo:paths trdemo-paths

conf

conf on trdemo-main

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

paths

result on trdemo-paths

result

debug = $debug

debug-dir-uri = $debug-dir-uri

trdemo:hub2dbk hub2dbk

source

result on trdemo-convert-input

paths

result on trdemo-paths

result

debug = $debug

debug-dir-uri = $debug-dir-uri

p:delete strip-srcpath-from-dbk

source

result on hub2dbk

result

match = '@srcpath'

letex:store-debug d10e194

source

result on strip-srcpath-from-dbk

result

pipeline-step = 'trdemo/trdemo-hub2dbk'

active = $debug

base-uri = $debug-dir-uri

p:sink d10e201

source

result on d10e194

trdemo:validate trdemo-validate

source

result on hub2dbk

paths

result on trdemo-paths

result

debug = $debug

debug-dir-uri = $debug-dir-uri

letex:store-debug d10e220

source

result on trdemo-validate

result

pipeline-step = 'trdemo/trdemo-validate'

active = $debug

base-uri = $debug-dir-uri

hub2htm:convert hub2htm-convert

source

result on hub2dbk

paths

result on trdemo-paths

other-params

<c:param-set>
	<c:param name="overwrite-image-paths" value="no"/>
	<c:param name="generate-toc" value="yes"/>
	<c:param name="generate-index" value="yes"/>
</c:param-set>

result

debug = $debug

debug-dir-uri = $debug-dir-uri

p:delete strip-srcpath-from-html

source

result on hub2htm-convert

result

match = '@srcpath'

trdemo:epub-convert trdemo-epub-convert

source

result on strip-srcpath-from-html

paths

result on trdemo-paths

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

source

result on hub2htm-convert

reports

report on trdemo-validate

report on trdemo-epub-convert

params

result on trdemo-paths

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