Chapter 5. The command-line tools

All command-line tools are self-documented. Simply execute the command without any argument to display a short help text. Example:

C:\doc_kit\bin> sciviewhelp
Usage: sciviewhelp javahelp_jar_file ... javahelp_jar_file
Allows to browse the contents of one or more
JavaHelp[tm] .jar files created using sci2jh.
The name of a JavaHelp .jar file must end with '_help.jar'.
man2sci, man2sci.bat

Converts a document conforming to man.dtd to a document conforming to scilab.rnc.

Usage: man2sci in_man_xml_file out_scilab_xml_file

manrev2sci, manrev2sci.bat

Converts a document conforming to manrev.dtd to a document conforming to scilab.rnc.

Usage: manrev2sci in_manrev_xml_file out_scilab_xml_file

sci2html, sci2html.bat

Converts an XML document conforming to scilab.rnc to multi-page HTML.

Usage: sci2html in_xml_file out_html_directory

sci2chm.bat

Converts an XML document conforming to scilab.rnc to a Windows HTML Help (".chm") file. Not available on platforms other than Windows.

By default, this script assumes that hhc.exe is found in "C:\Program Files\HTML Help Workshop\hhc.exe". If this is not the case, please modify the "hhc" variable found at the beginning of the ".bat" file.

Usage: sci2chm in_xml_file out_chm_file

sci2jh, sci2jh.bat

Converts an XML document conforming to scilab.rnc to a JavaHelp .jar file. out_javahelp_jar_file must end with "_help.jar".

Usage: sci2jh in_xml_file out_javahelp_jar_file

sci2pdf, sci2pdf.bat

Converts an XML document conforming to scilab.rnc to PDF or to PostScript. A PostScript file is generated if out_pdf_or_ps_file ends with ".ps".

Usage: sci2pdf in_xml_file out_pdf_or_ps_file

scivalid, scivalid.bat

Validates specified XML files against the scilab.rnc schema.

Usage: scivalid xml_file ... xml_file

sciviewhelp, sciviewhelp.bat

Allows to browse the contents of one or more JavaHelp .jar files created using sci2jh. The name of a JavaHelp .jar file must end with "_help.jar".

Usage: sciviewhelp javahelp_jar_file ... javahelp_jar_file