JRST myfile.rst
This command converts myfile.rst toward XML file, displayed to the standard output (console). Several options are available :
| -o file, -outFile= file, |
to write toward a file. |
| -t format, -outType format, |
to specify exit format, so using generation XSL file(s). Several formats are available xhtml, docbook, xml, HTML, xdoc, rst, pdf, odt, rtf. |
| -x xslFile, -xslFile xslFile, |
to specify generation XSL file at using. |
| --force |
to overwrite, if file exists, it will be replaced by the new one. |
| --help |
to display available options : |
Usage: [options] FILE [--force] : overwrite existing out file [--help] : display this help and exit [--outFile -o value] : Output file [--outType -t /xhtml|docbook|xml|html|xdoc|rst/] : Output type [--xslFile -x value] : XSL file list to apply, comma separated
ex :
JRST --force -t html -o myfile.html myfile.rst
This command produces html file (myfile.html) from rst file (myfile.rst) even if myfile.html already exists.
Maven plugin is available at the following links : http://jrst.labs.libre-entreprise.org/maven-jrst-plugin. It enables the use of JRST from Maven
| [1] |
Only html, xhtml, DocBook xdoc and pdf are available for the moment. |