diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/helptools/help | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'modules/helptools/help')
34 files changed, 3387 insertions, 0 deletions
diff --git a/modules/helptools/help/en_US/add_help_chapter.xml b/modules/helptools/help/en_US/add_help_chapter.xml new file mode 100755 index 000000000..a1441d051 --- /dev/null +++ b/modules/helptools/help/en_US/add_help_chapter.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="add_help_chapter"> + <refnamediv> + <refname>add_help_chapter</refname> + <refpurpose>Add an entry in the help list</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>ok = add_help_chapter(title,path[,mode])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>title</term> + <listitem> + <para>String array, Help chapter title</para> + </listitem> + </varlistentry> + <varlistentry> + <term>path</term> + <listitem> + <para>String array, Help chapters path</para> + </listitem> + </varlistentry> + <varlistentry> + <term>mode</term> + <listitem> + <para>A boolean, if TRUE, the chapter is considered as belongs to a + internal modules, otherwise, the chapter is added as external module. + It is an optional input argument and its default value is %F. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>ok</term> + <listitem> + <para>A vector of booleans. The same size as + the <literal>path</literal> variable. If the chapter page + number i was not existing in the help system then ok(i) is + set to %t. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + This function adds a new entry in the help list. If the path is already present + in the help list, <literal>add_help_chapter</literal> skips the add. The function + checks if the directory exist. + </para> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="del_help_chapter">del_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/addchapter.sce b/modules/helptools/help/en_US/addchapter.sce new file mode 100755 index 000000000..58e3b6e25 --- /dev/null +++ b/modules/helptools/help/en_US/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Online help management",SCI+"/modules/helptools/help/en_US",%T); + diff --git a/modules/helptools/help/en_US/apropos.xml b/modules/helptools/help/en_US/apropos.xml new file mode 100755 index 000000000..5226a8541 --- /dev/null +++ b/modules/helptools/help/en_US/apropos.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="apropos"> + <refnamediv> + <refname>apropos</refname> + <refpurpose>searches keywords in Scilab help</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>apropos(key) + apropos(regexp) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>key</term> + <listitem> + <para>character string. give the sequence of characters to be found</para> + </listitem> + </varlistentry> + <varlistentry> + <term>regexp</term> + <listitem> + <para> character string. give the regular expression to be found + (only with "Scilab Browser") + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>apropos(key)</literal> looks for Scilab help files containing + keywords <literal>key</literal>in their short description section. + </para> + <para> + <literal>apropos(regexp)</literal> looks for Scilab + help files containing regular expression <literal>regexp</literal>in their short + description section. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +apropos('ode') +apropos ode +apropos "list of" +apropos "sin.*hyperbolic" +apropos "^ab" //search help beginning the two characters "ab" +apropos "quadratic.*solver" + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="man">man</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/del_help_chapter.xml b/modules/helptools/help/en_US/del_help_chapter.xml new file mode 100755 index 000000000..1ce88c1bb --- /dev/null +++ b/modules/helptools/help/en_US/del_help_chapter.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="del_help_chapter"> + <refnamediv> + <refname>del_help_chapter</refname> + <refpurpose>Delete an entry in the help list</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>del_help_chapter(title[,mode])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>title</term> + <listitem> + <para>String array, Help chapter title</para> + </listitem> + </varlistentry> + <varlistentry> + <term>mode</term> + <listitem> + <para>A boolean, if TRUE, the chapter is considered as belongs to a + internal modules, otherwise, the chapter is removed. + It is an optional input argument and its default value is %F. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + This function deletes an entry in the help list. + </para> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/help.xml b/modules/helptools/help/en_US/help.xml new file mode 100755 index 000000000..ec08a027a --- /dev/null +++ b/modules/helptools/help/en_US/help.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="help"> + <refnamediv> + <refname>help</refname> + <refpurpose>on-line help command</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>help(key) + help + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>key</term> + <listitem> + <para>character string. The requested help page</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>help</literal> without argument displays the hypertext page + containing the list of help chapters. + </para> + <para> + <literal>help(key)</literal> displays the Scilab help file associated with the + given <literal>key</literal>. If no help file is found, <literal>help(key)</literal> + automatically launches a search with the <literal>key</literal> word as search arguments. + </para> + <para> + See <link linkend="man">man</link> for more explanation on how to write new help + pages . + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +help(); +help plot3d +help("plot") + + ]]></programlisting> + </refsection> + + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="apropos">apropos</link> + </member> + <member> + <link linkend="man">Scilab documentation format</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/help_from_sci.xml b/modules/helptools/help/en_US/help_from_sci.xml new file mode 100755 index 000000000..91b1584c3 --- /dev/null +++ b/modules/helptools/help/en_US/help_from_sci.xml @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * + * This help file was generated from help_from_sci.sci using help_from_sci(). + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="help_from_sci" xml:lang="en"> + <refnamediv> + <refname>help_from_sci</refname> + <refpurpose>Generate help files and demo files from the head comments section of a .sci source file.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + help_from_sci() // generate an empty function template + helptxt = help_from_sci() // generate an empty function template + help_from_sci(funname,helpdir) // generate helpdir/funname.xml from funname.sci. + help_from_sci(dirname,helpdir) // process dirname/*.sci and create helpdir/*.xml help files. + help_from_sci(dirname,helpdir,demodir) // as above but also creating demodir/*.dem.sce demo files. + [helptxt,demotxt]=help_from_sci(funname) // return funname.xml and funname.dem.sce code as two text matrixes. + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Parameters</title> + <variablelist> + <varlistentry> + <term>funname:</term> + <listitem> + <para> the name of a single .sci source file to be processed.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>dirname:</term> + <listitem> + <para> directory name where all .sci files will be processed.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>helpdir:</term> + <listitem> + <para> optional path where the .xml help file will be created.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>demodir:</term> + <listitem> + <para> optional path where .dem.sce demo files will be created based on code from the Examples section.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>helptxt:</term> + <listitem> + <para> returns the XML help code if helpdir is empty, or the path to the .xml file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>demotxt:</term> + <listitem> + <para> returns the demo code if demodir is empty, or the path to the .dem.sce file.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + The help_from_sci function generates .xml help files based on the head comments section + of .sci source files. Optionally .dem.sce demo files can be generated based on + code from the Examples section in the head comments section of .sci files. + </para> + <para> + In order for help_from_sci to format the .xml file properly the + head comments section should comply with some simple formatting rules. + </para> + <para> + The first comment line following the function definition should contain a short description + of the function. + </para> + <para> + The remaining comments are formatted according to the following (optional) headlines: + "Calling Sequence", "Parameters", "Description", "Examples", "See also", "Used functions", + "Authors" and "Bibliography". + </para> + <para> + The following guidelines should be used when writing the source code comments: + <itemizedlist> + <listitem> + <para> + <literal>Calling Sequence</literal> - one example pr. line. + </para> + </listitem> + <listitem> + <para> + <literal>Parameters</literal> - separate parameter name and + description by a ":". Keep the description of each parameter on the same line. + </para> + </listitem> + <listitem> + <para> + <literal>Description</literal> - formatting of the text can be done + using XML commands. Compare the output of head_comments("help_from_sci") with help("help_from_sci") + to get some hints. + Adding an empty comment line in the Description section is interpreted as the + start of a new paragraph. + </para> + </listitem> + <listitem> + <para> + <literal>See also</literal> - list one function name pr line. + </para> + </listitem> + <listitem> + <para> + <literal>Authors</literal> - write one author on each line following + the Authors headline. Use ";" to separate the authors name + from any add additional information. + </para> + </listitem> + <listitem> + <para> + <literal>Bibliography</literal> - write one reference pr line + following the References headline. + </para> + </listitem> + </itemizedlist> + </para> + <para> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +// Open an source code template in the scinotes editor and return its help and demo texts +[helptxt, demotxt] = help_from_sci() + +// From a toolbox root directory a typical calling sequence would be: +// help_from_sci("macros","help\en_US","demos") +// This command would process all .sci files in the macros directory +// and use the head comments section to update all .xml help files in the +// help\en_US directory an rebuild the .dem.sce files in the demos\ directory. + + ]]></programlisting> + </refsection> + <refsection> + <title>See also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="help_skeleton">help_skeleton</link> + </member> + <member> + <link linkend="head_comments">head_comments</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/help_skeleton.xml b/modules/helptools/help/en_US/help_skeleton.xml new file mode 100755 index 000000000..0aab0a4f0 --- /dev/null +++ b/modules/helptools/help/en_US/help_skeleton.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="help_skeleton" xml:lang="en"> + <refnamediv> + <refname>help_skeleton</refname> + <refpurpose>build the skeleton of the xml help file associated to a Scilab + function + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>txt = help_skeleton(funname [,path [,language]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>funname</term> + <listitem> + <para>character string : the name of the function</para> + </listitem> + </varlistentry> + <varlistentry> + <term>path</term> + <listitem> + <para>character string : the path where the file will be create if + required. If this argument is not given the skeleton is returned as + a string. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>language</term> + <listitem> + <para>character string :with possible value "fr_FR" or "en_US" the + defaultis "en_US" + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>txt</term> + <listitem> + <para>the XML code or the complete XML file path</para> + <para/> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>txt = help_skeleton(funname)</literal> generates a vector + of strings containing the skeleton of the XML code describing the help of + the function <literal>funname</literal>. + </para> + <para> + <literal>fullpath = help_skeleton(funname,dirpath)</literal> + generates the XML code describing the help of the function + <literal>funname</literal> in a file named <literal>funname.xml</literal> + in the directory specified by the path <literal>dirpath</literal>. In this + case the function returns the file path. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +function [y,z]=foo(a,b),y=a+b,z=1,endfunction +p=help_skeleton('foo',TMPDIR) +if (isdef('editor') | (funptr('editor')<>0)) then + editor(p); +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="man">Scilab documentation format</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/howtolinktoolbox.xml b/modules/helptools/help/en_US/howtolinktoolbox.xml new file mode 100755 index 000000000..e0c8ac1f6 --- /dev/null +++ b/modules/helptools/help/en_US/howtolinktoolbox.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2011 - Calixte DENIZET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<!-- This document was created with Syntext Serna Free. --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="how_to_link_toolbox_help"> + <refnamediv> + <refname>Link toolbox help with Scilab one</refname> + <refpurpose>How to make hyperlink in toolbox help pointing to Scilab's items</refpurpose> + </refnamediv> + <refsection> + <title>Description</title> + <para>Since Scilab 5.3.1, the hyperlinks in a toolbox help can be used to point on any help pages or to execute demos in the console.</para> + <para> + Now you can link a demo <link type="scilab" linkend="scilab.demos/gui/demos/uicontrol_plot3d.dem">Uicontrol demo</link> or execute a script <link type="scilab" linkend="scilab.exec/helptools/demos/about.sce">about.sce</link> + </para> + </refsection> + <refsection> + <title>Details</title> + <itemizedlist> + <listitem> + <para>To link from two external modules, the syntax is: <link type="scilab" linkend="module_name.help/fun_in_module_name">fun_in_module_name</link> Usually, the name of the function is the id of the page.</para> + </listitem> + <listitem> + <para>To link from a external module to a Scilab function, the syntax is: <link type="scilab" linkend="scilab.help/bvode">bvode</link> Usually, the name of the function is the id of the page.</para> + </listitem> + <listitem> + <para>To enable the execution of a script, the syntax is: <link type="scilab" linkend="mytoolbox.exec/macros/fooexec.sce">macros/fooexec.sce</link> </para> + </listitem> + <listitem> + <para>To enable the execution of a demo, the syntax is: <link type="scilab" linkend="mytoolbox.demos/mydemo.dem">My demo</link> </para> + </listitem> + </itemizedlist> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="xml"><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> + <refentry xmlns:scilab="http://www.scilab.org" + xmlns="http://docbook.org/ns/docbook" + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook"> + <refnamediv xml:id="foo"> + <refname>Foo</refname> + <refpurpose>calculates foo</refpurpose> + </refnamediv> + <refsection> + <!-- Link on Scilab's help --> + <para>Firstly a link on <link type="scilab" linkend="scilab.help/bvode">bvode</link> in the Scilab Doc</para> + <!-- Link on a demo, foodemo must be in toolbox_path/demos/ --> + <para>Secondly a link on <link type="scilab" linkend="mytoolbox.demos/foodemo">My demo</link></para> + <!-- the executed macro will be toolbox_path/macros/fooexec.sce --> + <para>Thirdly a link on <link type="scilab" linkend="mytoolbox.exec/macros/fooexec.sce">macros/fooexec.sce</link></para> + <!-- a link for erroneous links --> + <para>Fourthly a link on <link type="scilab" linkend="scilab.help/invalidlink">invalid link</link></para> + </refsection> + + <programlisting role="example"> + plot3d() // should link on plot3d + </programlisting> + </refentry> + ]]></programlisting> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/man.xml b/modules/helptools/help/en_US/man.xml new file mode 100755 index 000000000..ec6a84779 --- /dev/null +++ b/modules/helptools/help/en_US/man.xml @@ -0,0 +1,696 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * Copyright (C) 2010 - DIGITEO - Allan CORNET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="man" xml:lang="en"> + <refnamediv> + <refname>Scilab documentation format</refname> + <refpurpose>on line help XML file description format</refpurpose> + </refnamediv> + <refsection> + <title>Description</title> + <para>The on line help source files are written in XML.</para> + <para>Source files (with extension .xml) can be found in the + <literal><SCIDIR>/modules/<MODULE + NAME>/help/<language>/* + </literal> + directories. The file name is + usually associated to a keyword (corresponding to a function name most of + the cases) it describes. + </para> + </refsection> + <refsection> + <title>A few words about XML</title> + <para>A XML file is similar to a HTML file but with a more rigid syntax. + The documentation of Scilab must be written using the strict subset of + DocBook 5 defined in SCI/modules/helptools/schema/scilab.rnc. DocBook 5 + elements are fully documented in <ulink url="http://docbook.org/tdg5/en/html/docbook.html">"DocBook 5.0: The Definitive Guide"</ulink> + </para> + <para> + Scilab is able to understand a large subset of Docbook tags. However, if any are missing, a bug report can be reported on the <ulink url="http://bugzilla.scilab.org/">Scilab bug tracker</ulink>. + </para> + </refsection> + <refsection> + <title>How to write a simple XML scilab help page:</title> + <para>If one want to write the XML file associated to a new scilab + function he or she may use the Scilab function <link linkend="help_skeleton">help_skeleton</link> to produce the skeleton of + the XML file. In most cases, the user will not be required to know XML + syntax. + </para> + </refsection> + <refsection> + <title>How to write a simple XML scilab help page: an example</title> + <para>The root element of a document which conforms to the Scilab DocBook + 5 subset must have version attribute set to "5.0-subset Scilab". + </para> + <programlisting role="xml"><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> +<refentry xmlns:scilab="http://www.scilab.org" xml:id="foo" xml:lang="en" +xmlns="http://docbook.org/ns/docbook" +xmlns:xlink="http://www.w3.org/1999/xlink" +xmlns:svg="http://www.w3.org/2000/svg" +xmlns:ns4="http://www.w3.org/1999/xhtml" +xmlns:mml="http://www.w3.org/1998/Math/MathML" +xmlns:db="http://docbook.org/ns/docbook"> + ]]></programlisting> + <para role="bold">Example:</para> + <programlisting role="example"><![CDATA[ +function y = foo(a,b,c) + y = a + 2 * b + c; +endfunction + +path = help_skeleton('foo', TMPDIR) +if (isdef('editor') | (funptr('editor')<>0)) then + editor(path); +end + ]]></programlisting> + <para role="bold">Generated foo.xml in TMPDIR:</para> + <programlisting role="xml"><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +* Add some comments about XML file +--> +<refentry xmlns:scilab="http://www.scilab.org" xml:id="foo" xml:lang="en" + xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:ns4="http://www.w3.org/1999/xhtml" + xmlns:mml="http://www.w3.org/1998/Math/MathML" + xmlns:db="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>foo</refname> + <refpurpose>Add short description here. </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>y = foo(a,b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>a</term> + <listitem> + <para> + Add here the input argument description. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>b</term> + <listitem> + <para> + Add here the input argument description. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para> + Add here the input argument description. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>y</term> + <listitem> + <para> + Add here the output argument description. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + Add here a paragraph of the function description. + Other paragraph can be added + </para> + <para>With a latex expression + <latex> + \begin{eqnarray} + f(x,a,r) = \frac{1}{r^{-a}\Gamma(a)} \int_0^x t^{a-1} \exp\left(-rt\right) dt + \end{eqnarray} + </latex> + </para> + </refsection> + <refsection> + <title>More information</title> + <note><para>A note about foo</para></note> + <caution><para>A caution about foo</para></caution> + <warning><para>A warsning about foo</para></warning> + <important><para>A important about foo</para></important> + <tip><para>A tip about foo</para></tip> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ + Add here scilab instructions and comments + ]]></programlisting> + </refsection> + <refsection> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="add a reference name" >add a reference</link> + </member> + <member> + <link linkend="add a reference name">add a reference</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Authors</title> + <simplelist type="vert"> + <member>add the author name and author reference</member> + <member>add another author name and it's reference</member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para> + Add here the function bibliography + </para> + </refsection> + <refsection> + <title>History</title> + <revhistory> + <revision> + <revnumber>X.Y</revnumber> + <revdescription>Function foo added</revdescription> + </revision> + </revhistory> + </refsection> + <refsection> + <title>Used Functions</title> + <para> + Add here the Scilab, C,... used code references + </para> + </refsection> +</refentry> + ]]></programlisting> + </refsection> + <refsection> + <title>How to create a help chapter</title> + <para>Create a directory and write down a set of XML files build as + described above. Then start Scilab and execute <literal>xmltojar + </literal> + (see <link linkend="xmltojar">xmltojar</link> for more details) + . + </para> + </refsection> + <refsection> + <title>How to make Scilab know a new help chapter</title> + <para> + This can be done by the function <link linkend="add_help_chapter">add_help_chapter</link>. + </para> + </refsection> + <refsection> + <title>List of docbook supported tags</title> + <para>Generic tags + <informaltable border="1"> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/refentry.html">refentry</ulink> + </td> + <td>A reference page</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/section.html">section</ulink> + </td> + <td>A recursive section</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/book.html">book</ulink> + </td> + <td>A book</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/part.html">part</ulink> + </td> + <td>A division in a book</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/chapter.html">chapter</ulink> + </td> + <td>A chapter, as of a book</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/title.html">title</ulink> + </td> + <td>The text of the title of a section of a document or of a formal block-level element</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/para.html">para</ulink> + </td> + <td>A paragraph</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/literal.html">literal</ulink> + </td> + <td>Inline text that is some literal value</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/refnamediv.html">refnamediv</ulink> + </td> + <td>The name, purpose, and classification of a reference page</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/refname.html">refname</ulink> + </td> + <td>The name of (one of) the subject(s) of a reference page</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/refpurpose.html">refpurpose</ulink> + </td> + <td>A short (one sentence) synopsis of the topic of a reference page</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/refsynopsisdiv.html">refsynopsisdiv</ulink> + </td> + <td>A syntactic synopsis of the subject of the reference page + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/synopsis.html">synopsis</ulink> + </td> + <td>A general-purpose element for representing the syntax of commands or functions</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/refsection.html">refsection</ulink> + </td> + <td>A recursive section in a refentry</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/programlisting.html">programlisting</ulink> + </td> + <td>A literal listing of all or part of a program</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/screen.html">screen</ulink> + </td> + <td>Text that a user sees or might see on a computer screen</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/pubdate.html">pubdate</ulink> + </td> + <td>The date of publication of a document</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/link.html">link</ulink> + </td> + <td>A hypertext link</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/ulink.html">ulink</ulink> + </td> + <td>A link that addresses its target by means of a URL (Uniform Resource Locator)</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/xref.html">xref</ulink> + </td> + <td>A cross reference to another part of the document</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/term.html">term</ulink> + </td> + <td>The word or phrase being defined or described in a variable list</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/emphasis.html">emphasis</ulink> + </td> + <td>Emphasized text</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/informalequation.html">informalequation</ulink> + </td> + <td>A displayed mathematical equation without a title + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/subscript.html">subscript</ulink> + </td> + <td> + A subscript (as in H<subscript>2</subscript>O, the molecular formula for water) + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/superscript.html">superscript</ulink> + </td> + <td> + A superscript (as in x<superscript>2</superscript>, the mathematical notation for x multiplied by itself) + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/replaceable.html">replaceable</ulink> + </td> + <td>Content that may or must be replaced by the user + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/caption.html">caption</ulink> + </td> + <td>A caption</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/surname.html">surname</ulink> + </td> + <td>A family name; in western cultures the 'last name'</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/firstname.html">firstname</ulink> + </td> + <td>The first name of a person + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/bibliomset.html">bibliomset</ulink> + </td> + <td>A 'cooked' container for related bibliographic information</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/bibliomixed.html">bibliomixed</ulink> + </td> + <td>An entry in a Bibliography</td> + </tr> + </informaltable> + </para> + <para>List tags: + <informaltable border="1"> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/simplelist.html">simplelist</ulink> + </td> + <td>An undecorated list of single words or short phrases</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/member.html">member</ulink> + </td> + <td>An element of a simple list</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/listitem.html">listitem</ulink> + </td> + <td>A wrapper for the elements of a list item + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/varlistentry.html">varlistentry</ulink> + </td> + <td>A wrapper for a set of terms and the associated description in a variable list</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/variablelist.html">variablelist</ulink> + </td> + <td>A list in which each entry is composed of a set of one or more terms and an associated description</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/itemizedlist.html">itemizedlist</ulink> + </td> + <td>A list in which each entry is marked with a bullet or other dingbat + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/orderedlist.html">orderedlist</ulink> + </td> + <td>A list in which each entry is marked with a sequentially incremented label + </td> + </tr> + </informaltable> + </para> + <para>Table tags: + <informaltable border="1"> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/table.html">table</ulink> + </td> + <td>A formal table in a document</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/informaltable.html">informaltable</ulink> + </td> + <td>A table without a title</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/tbody.html">tbody</ulink> + </td> + <td>A wrapper for the rows of a table or informal table</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/tr.html">tr</ulink> + </td> + <td>A row in an HTML table</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/td.html">td</ulink> + </td> + <td>A table entry in an HTML table</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/th.html">th</ulink> + </td> + <td>A table header entry in an HTML table</td> + </tr> + <tr> + <td> + bgcolor + </td> + <td>A HTML attribute for a table, a tr or a td to set the background color</td> + </tr> + </informaltable> + </para> + <para>Image tags: + <informaltable border="1"> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/imagedata.html">imagedata</ulink> + </td> + <td>Pointer to external image data</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/imageobject.html">imageobject</ulink> + </td> + <td>A wrapper for image data and its associated meta-information</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/inlinemediaobject.html">inlinemediaobject</ulink> + </td> + <td>An inline media object (video, audio, image, and so on)</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/screenshot.html">screenshot</ulink> + </td> + <td>A representation of what the user sees or might see on a computer screen</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/mediaobject.html">mediaobject</ulink> + </td> + <td>A displayed media object (video, audio, image, etc.)</td> + </tr> + <tr> + <td> + scilab:image + </td> + <td> + Any Scilab code into the <scilab:image> foo() <scilab:image> will be executed by an instance of Scilab and the generated graphic included directly into the documentation. This is a Scilab extension of Docbook and is based on the <link linkend="xinit">driver/xinit/xend</link> feature. + </td> + </tr> + </informaltable> + </para> + <para>FAQ tags: + <informaltable border="1"> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/question.html">question</ulink> + </td> + <td>A question in a QandASet</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/answer.html">answer</ulink> + </td> + <td>An answer to a question posed in a QandASet</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/qandaentry.html">qandaentry</ulink> + </td> + <td>A question/answer set within a QandASet</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/qandaset.html">qandaset</ulink> + </td> + <td>A question-and-answer set</td> + </tr> + </informaltable> + </para> + <para>History tags: + <informaltable border="1"> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/revhistory.html">revhistory</ulink> + </td> + <td>A history of the revisions to a document</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/revision.html">revision</ulink> + </td> + <td>An entry describing a single revision in the history of the revisions to a document</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/revnumber.html">revnumber</ulink> + </td> + <td>A document revision number</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/revremark.html">revremark</ulink> + </td> + <td>A description of a revision to a document</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/revdescription.html">revdescription</ulink> + </td> + <td>A extended description of a revision to a document + </td> + </tr> + </informaltable> + </para> + <para>Information tags: + <informaltable border="1"> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/note.html">note</ulink> + </td> + <td>A message set off from the text + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/warning.html">warning</ulink> + </td> + <td>An admonition set off from the text</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/caution.html">caution</ulink> + </td> + <td>A note of caution</td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/tip.html">tip</ulink> + </td> + <td>A suggestion to the user, set off from the text + </td> + </tr> + <tr> + <td> + <ulink url="http://docbook.org/tdg/en/html/important.html">important</ulink> + </td> + <td>An admonition set off from the text</td> + </tr> + </informaltable> + </para> + <para>Scilab specific tag: + <informaltable border="1"> + <tr> + <td>latex</td><td>Scilab extension to write directly LaTeX expression in the help pages</td> + </tr> + </informaltable> + </para> + </refsection> + <refsection> + <title>History</title> + <revhistory> + <revision> + <revnumber>5.4.0</revnumber> + <revdescription>Management of tags <note>, <caution>, <warning>, <important> and <tip> + </revdescription> + </revision> + </revhistory> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="apropos">apropos</link> + </member> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="help_skeleton">help_skeleton</link> + </member> + <member> + <link linkend="help_from_sci">help_from_sci</link> + </member> + <member> + <link linkend="xmltojar">xmltojar</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/manedit.xml b/modules/helptools/help/en_US/manedit.xml new file mode 100755 index 000000000..d13bfa689 --- /dev/null +++ b/modules/helptools/help/en_US/manedit.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="manedit"> + <refnamediv> + <refname>manedit</refname> + <refpurpose>editing a manual item</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>manedit(manitem)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>manitem</term> + <listitem> + <para>character string (usually, name of a function)</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>edit(manitem)</literal> opens the xml file associated to <literal>manitem</literal> + in the scilab editor. + </para> + <para> + If there is no xml file associated with <literal>manitem</literal> and + <literal>manitem</literal> is the name of a Scilab function, editor opens with + the skeleton of the xml file produced by <link linkend="help_skeleton">help_skeleton</link>. This + file is located in TMPDIR. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +manedit('manedit') + +function [x,y,z]=foo123(a,b), +x=a+b,y=a-b,z=a==b +endfunction +manedit foo123 + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="help_skeleton">help_skeleton</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/percenthelps.xml b/modules/helptools/help/en_US/percenthelps.xml new file mode 100755 index 000000000..0a7580e5a --- /dev/null +++ b/modules/helptools/help/en_US/percenthelps.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * Copyright (C) 2010 - DIGITEO - Allan CORNET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="percenthelps"> + <refnamediv> + <refname>%helps</refname> + <refpurpose>Variable defining the path of help directories</refpurpose> + </refnamediv> + <refsection> + <title>Description</title> + <para>BEWARE: This variable must NOT be modified by users.</para> + <para> + The global variable <literal>%helps</literal> is an N x 2 matrix of strings. + The kth row of <literal>%helps</literal>, <literal>%helps(k,:)</literal> represents + the kth chapter of the manual and is made of two strings: + </para> + <para> + <literal>%helps(k,1)</literal> is the absolute pathname for a help directory. + </para> + <para> + <literal>%helps(k,2)</literal> is a title for this help directory. + </para> + <para> + To add a new help directory, the user should use <literal>add_help_chapter</literal>. + </para> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + <member> + <link linkend="help">help</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/xmltohtml.xml b/modules/helptools/help/en_US/xmltohtml.xml new file mode 100755 index 000000000..aaa25603e --- /dev/null +++ b/modules/helptools/help/en_US/xmltohtml.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltohtml" xml:lang="en"> + <refnamediv> + <refname>xmltohtml</refname> + <refpurpose>converts xml Scilab help files to HTML format</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>xmltohtml(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vector of strings: a set of directory paths for which html + manuals are to be generated or <literal>[] </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vector of strings: titles associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vector of strings: languages associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vector of strings: default languages associated to directory + paths or []. If a XML file is missing in the dir_language, it's + copied from the default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>converts xml Scilab help files contained in a set of directories + into HTML files. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"> + <![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +tmpPath = TMPDIR + "/examples"; +copyfile("SCI/modules/helptools/examples", tmpPath); +my_module_path = pathconvert(tmpPath + "/example_1",%f,%f); + +// Build the french help +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +my_french_html_dir = xmltohtml(my_french_help_dir,my_french_help_title,'fr_FR') + +// Build the english help +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [en_US]'; +my_english_html_dir = xmltohtml(my_english_help_dir,my_english_help_title,'en_US') + +// Build the chinese help +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +my_chinese_html_dir = xmltohtml(my_chinese_help_dir,my_chinese_help_title,'zh_TW') + ]]> + </programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/xmltojar.xml b/modules/helptools/help/en_US/xmltojar.xml new file mode 100755 index 000000000..5babb6ce9 --- /dev/null +++ b/modules/helptools/help/en_US/xmltojar.xml @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltojar" xml:lang="en"> + <refnamediv> + <refname>xmltojar</refname> + <refpurpose>converts xml Scilab help files to javaHelp format</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>xmltojar(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vector of strings: a set of directory paths for which html + manuals are to be generated or <literal>[] </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vector of strings: titles associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vector of strings: languages associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vector of strings: default languages associated to directory + paths or []. If a XML file is missing in the dir_language, it's + copied from the default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>converts xml Scilab help files contained in a set of directories + into jar files. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"> + <![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +tmpPath = TMPDIR + "/examples"; +copyfile("SCI/modules/helptools/examples", tmpPath); +my_module_path = pathconvert(tmpPath + "/example_1",%f,%f); + +// Build the french help +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +xmltojar(my_french_help_dir,my_french_help_title,'fr_FR'); + +// Build the english help +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [en_US]'; +xmltojar(my_english_help_dir,my_english_help_title,'en_US'); + +// Build the chinese help +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +xmltojar(my_chinese_help_dir,my_chinese_help_title,'zh_TW'); + +// Add french, english or chinese help chapters +// ============================================================================= + +if getlanguage() == 'fr_FR' then + add_help_chapter(my_french_help_title,my_module_path+"/jar"); + +elseif getlanguage() == 'zh_TW' then + add_help_chapter(my_chinese_help_title,my_module_path+"/jar"); + +else + add_help_chapter(my_english_help_title,my_module_path+"/jar"); +end + +// See the result in the help browser +// ============================================================================= +help(); + +// Del french and english help chapters +// ============================================================================= +if getlanguage() == 'fr_FR' then + del_help_chapter(my_french_help_title); +else + del_help_chapter(my_english_help_title); +end + ]]> + </programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/xmltopdf.xml b/modules/helptools/help/en_US/xmltopdf.xml new file mode 100755 index 000000000..75a3e24c9 --- /dev/null +++ b/modules/helptools/help/en_US/xmltopdf.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltopdf" xml:lang="en"> + <refnamediv> + <refname>xmltopdf</refname> + <refpurpose>converts xml Scilab help files to pdf format</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>xmltopdf(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vector of strings: a set of directory paths for which pdf + manuals are to be generated or <literal>[] </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vector of strings: titles associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vector of strings: languages associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vector of strings: default languages associated to directory + paths or []. If a XML file is missing in the dir_language, it's + copied from the default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>converts xml Scilab help files contained in a set of directories + into pdf files. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"> + <![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +tmpPath = TMPDIR + "/examples"; +copyfile("SCI/modules/helptools/examples", tmpPath); +my_module_path = pathconvert(tmpPath + "/example_1",%f,%f); + +// Build the french help +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +my_french_pdf = xmltopdf(my_french_help_dir,my_french_help_title,'fr_FR') + +// Build the english help +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [en_US]'; +my_english_pdf = xmltopdf(my_english_help_dir,my_english_help_title,'en_US') + +// Build the chinese help +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +my_chinese_pdf = xmltopdf(my_chinese_help_dir,my_chinese_help_title,'zh_TW') + ]]> + </programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/en_US/xmltops.xml b/modules/helptools/help/en_US/xmltops.xml new file mode 100755 index 000000000..7329d4072 --- /dev/null +++ b/modules/helptools/help/en_US/xmltops.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltops" xml:lang="en"> + <refnamediv> + <refname>xmltops</refname> + <refpurpose>converts xml Scilab help files to postscript format</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>xmltops(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vector of strings: a set of directory paths for which postscript + manuals are to be generated or <literal>[] </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vector of strings: titles associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vector of strings: languages associated to directory paths or + [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vector of strings: default languages associated to directory + paths or []. If a XML file is missing in the dir_language, it's + copied from the default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>converts xml Scilab help files contained in a set of directories + into ps files. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"> + <![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +tmpPath = TMPDIR + "/examples"; +copyfile("SCI/modules/helptools/examples", tmpPath); +my_module_path = pathconvert(tmpPath + "/example_1",%f,%f); + +// Build the french help +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +my_french_ps = xmltops(my_french_help_dir,my_french_help_title,'fr_FR') + +// Build the english help +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [EN_US]'; +my_english_ps = xmltops(my_english_help_dir,my_english_help_title,'en_US') + +// Build the chinese help +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +my_chinese_ps = xmltops(my_chinese_help_dir,my_chinese_help_title,'zh_TW'); + ]]> + </programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/fr_FR/addchapter.sce b/modules/helptools/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..58b48a6ae --- /dev/null +++ b/modules/helptools/help/fr_FR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Gestion de l''aide en ligne",SCI+"/modules/helptools/help/fr_FR",%T); + diff --git a/modules/helptools/help/fr_FR/apropos.xml b/modules/helptools/help/fr_FR/apropos.xml new file mode 100755 index 000000000..208eca998 --- /dev/null +++ b/modules/helptools/help/fr_FR/apropos.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="apropos"> + <refnamediv> + <refname>apropos</refname> + <refpurpose>recherche d'un mot-clé dans l'aide de Scilab </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>apropos(key) + apropos(regexp) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Paramètres</title> + <variablelist> + <varlistentry> + <term>key</term> + <listitem> + <para>Une chaîne de caractères, la séquence de caractères à rechercher</para> + </listitem> + </varlistentry> + <varlistentry> + <term>regexp</term> + <listitem> + <para> Une chaîne de caractères, l'expression régulière à + rechercher. Cette syntaxe ne fonctionne que le browser "Scilab Browser" + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>apropos(key)</literal> recherche les pages d'aides contenant la + séquence de caractères <literal>key</literal> dans leur section "SHORT_DESCRIPTION". + </para> + <para> + <literal>apropos(regexp)</literal> + recherche les pages d'aides contenant l'expression régulière donnée par + <literal>regexp</literal> dans leur section "SHORT_DESCRIPTION". + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example"><![CDATA[ +apropos('ode') +apropos ode +apropos "list of" +apropos "sin.*hyperbolique" +apropos "^ab" //rechercher les pages d'aide dont le nom commence par les deux caractères "ab" +apropos "quadratic.*solver" + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="man">man</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/fr_FR/help.xml b/modules/helptools/help/fr_FR/help.xml new file mode 100755 index 000000000..0c9b84493 --- /dev/null +++ b/modules/helptools/help/fr_FR/help.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="help"> + <refnamediv> + <refname>help</refname> + <refpurpose>commande d'aide en ligne </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>help(key)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Paramètres</title> + <variablelist> + <varlistentry> + <term>key</term> + <listitem> + <para>Une chaîne de caractères. Donne le nom de la page d'aide à visualiser.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>help</literal> sans argument, visualise la page hypertexte contenat la + liste des chapitres d'aide. + </para> + <para> + <literal>help(key)</literal> visualise la page d'aide associé avec le nom + donné par <literal>key</literal>. S'il n'y a pas de page d'aide, <literal>help(key)</literal> + appele automatiquement <literal>apropos(key)</literal>. + </para> + <para> + Voir <link linkend="man">man</link> pour apprendre à écrire de nouvelles pages d'aide. + </para> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="apropos">apropos</link> + </member> + <member> + <link linkend="man">man</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/fr_FR/percenthelps.xml b/modules/helptools/help/fr_FR/percenthelps.xml new file mode 100755 index 000000000..eadefa5b9 --- /dev/null +++ b/modules/helptools/help/fr_FR/percenthelps.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * Copyright (C) 2010 - DIGITEO - Allan CORNET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="percenthelps"> + <refnamediv> + <refname>%helps</refname> + <refpurpose>variable contenant les noms des répertoires des chapitres d'aide </refpurpose> + </refnamediv> + <refsection> + <title>Description</title> + <para>ATTENTION: Cette variable ne doit pas être modifiée manuellement par l'utilisateur.</para> + <para> + <literal>%helps</literal> est une matrice de chaînes de caractères à deux colonnes. Chaque ligne est formée comme ceci + </para> + <programlisting role="no-scilab-exec"><![CDATA[ +répertoire_du_chapitre titre_du_chapitre + ]]></programlisting> + <para> + Pour ajouter de nouveaux chapitres d'aide, il faut utiliser la fonction <literal>add_help_chapter</literal>. + </para> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/ja_JP/addchapter.sce b/modules/helptools/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..f1760001d --- /dev/null +++ b/modules/helptools/help/ja_JP/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Online help management",SCI+"/modules/helptools/help/ja_JP",%T); + diff --git a/modules/helptools/help/pt_BR/add_help_chapter.xml b/modules/helptools/help/pt_BR/add_help_chapter.xml new file mode 100755 index 000000000..7f67c4059 --- /dev/null +++ b/modules/helptools/help/pt_BR/add_help_chapter.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="add_help_chapter" xml:lang="en"> + <refnamediv> + <refname>add_help_chapter</refname> + <refpurpose>adiciona uma entrada na lista de ajudas</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>add_help_chapter(title,path[,mode])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>title</term> + <listitem> + <para>string, o título da ajuda</para> + </listitem> + </varlistentry> + <varlistentry> + <term>path</term> + <listitem> + <para>string, o endereço do diretório contendo os arquivos de + ajuda + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>mode</term> + <listitem> + <para>booleano, %T se o diretório pertence à lista de módulos do + Scilab, %F em caso contrário (toolboxes). O valor padrão é + %F. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Esta função adiciona uma nova entrada na lista de ajudas. Os + arquivos do capítulo de ajuda devem estar localizados em um único + diretório. Se o dado título <literal>title</literal> já existir na lista + de ajudas associado com o mesmo endereço, nada é feito. A função verifica + se o diretório existe. + </para> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_demo">add_demo</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/addchapter.sce b/modules/helptools/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..431bb3864 --- /dev/null +++ b/modules/helptools/help/pt_BR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Gerenciamento de ajuda online",SCI+"/modules/helptools/help/pt_BR",%T); + diff --git a/modules/helptools/help/pt_BR/apropos.xml b/modules/helptools/help/pt_BR/apropos.xml new file mode 100755 index 000000000..6106d47c4 --- /dev/null +++ b/modules/helptools/help/pt_BR/apropos.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="apropos" xml:lang="en"> + <refnamediv> + <refname>apropos</refname> + <refpurpose>procura por palavras-chave na ajuda do Scilab</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>apropos(key) + apropos(regexp) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>key</term> + <listitem> + <para>string. Fornece a seqüência de caracteres a ser + encontrada. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>regexp</term> + <listitem> + <para>string. Fornece a expressão regular a ser encontrada (apenas + com "Scilab Browser") + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>apropos(key)</literal> procura por arquivos de ajuda Scilab + contendo a palavra-chave <literal>key</literal> na seção de descrições + breves. + </para> + <para> + <literal>apropos(regexp)</literal> procura por arquivos de ajuda + Scilab contendo a expressão regular <literal>regexp</literal> na seção de + descrições breves. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +apropos('ode') +apropos ode +apropos "list of" +apropos "sin.*hyperbolic" +apropos "^ab" //procura por ajuda começando com os dois caracteres "ab" +apropos "quadratic.*solver" + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="man">man</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/foo.xml b/modules/helptools/help/pt_BR/foo.xml new file mode 100755 index 000000000..865430cbb --- /dev/null +++ b/modules/helptools/help/pt_BR/foo.xml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="foo" xml:lang="en"> + <refnamediv> + <refname>foo</refname> + <refpurpose>descrição breve de foo</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>[y] = foo(x)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>x</term> + <listitem> + <para>o que puder ser x</para> + </listitem> + </varlistentry> + <varlistentry> + <term>y</term> + <listitem> + <para>o que puder ser y</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Um primeiro parárgrafo que explica o que a função foo computa. Se + quiser enfatizar um parâmetro, então você utiliza o seguinte tag + <literal>x</literal>, se quiser enfatizar parte do texto + <emphasis>encerre-o nestes tags</emphasis> e então utilize estes <emphasis role="bold">para obter uma fonte em negrito</emphasis> e finalmente + <literal>para um estilo em máquina de escrever</literal>. + </para> + <para>Um segundo parágrafo... Aqui está um exemplo de um link para outra + página : <link linkend="man">man</link>. + </para> + <variablelist> + <varlistentry> + <term>first</term> + <listitem> + <para>parágrafo simples</para> + </listitem> + </varlistentry> + <varlistentry> + <term>second</term> + <listitem> + <para>toto é o foo francês...</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +deff("y=foo(x)","y=x"); // define a função foo como a função identidade. +foo("toto") + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="man">man</link> + </member> + <member> + <link linkend="apropos">apropos</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/help.xml b/modules/helptools/help/pt_BR/help.xml new file mode 100755 index 000000000..a554761d6 --- /dev/null +++ b/modules/helptools/help/pt_BR/help.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="help" xml:lang="en"> + <refnamediv> + <refname>help</refname> + <refpurpose>comando de ajuda on-line</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>help(key) + help + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>key</term> + <listitem> + <para>string. Fornece a página de ajuda a ser encontrada</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>help</literal> sem argumentos fornece a página de + hipertextos dos capítulos de ajuda. + </para> + <para> + <literal>help(key)</literal> exibe o arquivo de ajuda Scilab + associado ao dado <literal>key</literal>. Se nenhum arquivo for + encontrado, <literal>help(key)</literal> chama automaticamente + <literal>apropos(key)</literal>. + </para> + <para> + Ver <link linkend="man">man</link> para mais explicações sobre como + escrever novas páginas. + </para> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="apropos">apropos</link> + </member> + <member> + <link linkend="man">man</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/help_from_sci.xml b/modules/helptools/help/pt_BR/help_from_sci.xml new file mode 100755 index 000000000..797ee180e --- /dev/null +++ b/modules/helptools/help/pt_BR/help_from_sci.xml @@ -0,0 +1,174 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * + * This help file was generated from help_from_sci.sci using help_from_sci(). + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="help_from_sci" xml:lang="en"> + <refnamediv> + <refname>help_from_sci</refname> + <refpurpose>Geração de arquivos de ajuda e de arquivos de demonstração a + partir da seção de comentários de cabeçalho de um arquivo-fonte + .sci + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis> + help_from_sci() // gera um modelo de função vazio + help_from_sci(funname,helpdir) // gera helpdir/funname.xml a partir de funname.sci + help_from_sci(dirname,helpdir) // processa dirname/*.sci e cria helpdir/*.xml. + help_from_sci(dirname,helpdir,helpdir) // como acima, mas também cria o arquivo de demonstração helpdir/*.dem.sce. + [helptxt,demotxt]=help_from_sci(funname) // retorna funname.xml e funname.dem.sce como duas matrizes de texto. + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>funname:</term> + <listitem> + <para>o nome de um único arquivo .sci a ser processado</para> + </listitem> + </varlistentry> + <varlistentry> + <term>dirname:</term> + <listitem> + <para>nome do diretório onde todos os arquivos .sci serão + processados + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>helpdir:</term> + <listitem> + <para>endereço opcional onde o arquivo de ajuda .xml será + criado + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>demodir:</term> + <listitem> + <para>endereço opcional onde os arquivos de demonstração .dem.sce + serão criados baseados nos códigos da seção Examples + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>helptxt:</term> + <listitem> + <para>retorna o código da ajuda XML se helpdir for vazio, ou o + endereço para o novo arquivo .xml + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>demotxt:</term> + <listitem> + <para>retorna o código de demonstração se demodir for vazio, ou o + endereço para o novo arquivo .dem.sc + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>help_from_sci é uma versão revisada da função help_skeleton. Seu + objetivo é gerar arquivos de ajuda .xml baseados na seção de comentários + de cabeçalho dos arquivos-fontes .sci. Opcionalmente, os arquivos de + demonstração .dem.sce podem ser gerados baseados nos códigos da seção + Examples na seção de cometários de cabeçalho dos arquivos .sci. + </para> + <para>Para que help_from_sci formate o arquivo .xml propriamente, os a + seção de comentários de cabeçalho deve concordar com algumas regras + simples de formatação. + </para> + <para>A primeira linha de comentário seguinte à definição de função deve + conter uma descrição breve da função. + </para> + <para>Os comentários restantes são formatados de acordo com os seguintes + cabeçalhos (opcionais): "Calling Sequence", "Parameters", "Description", + "Examples", "See also", "Used functions", "Authors" e + "Bibliography". + </para> + <para>As seguintes diretrizes devem ser seguidas ao se escrever os + comentários de código fonte: + </para> + <itemizedlist> + <listitem> + <para> + <literal>Calling Sequence</literal> + - um exemplo por linha. + </para> + </listitem> + <listitem> + <para> + <literal>Parameters</literal> + - separe o nome do parâmetro e a descrição por um ":". Mantenha a descrição de cada parâmetro na mesma linha. + </para> + </listitem> + <listitem> + <para> + <literal>Description</literal> + - a formatação do texto pode ser feita utilizando comandos XML. Adicionar uma linha de comentário vazia na seção Description é interpretado como começo de um novo parágrafo. + </para> + </listitem> + <listitem> + <para> + <literal>See also</literal> + - liste um nome de função por linha. + </para> + </listitem> + <listitem> + <para> + <literal>Authors</literal> + - escreva um autor em cada linha após o cabeçalho Authors. Use ";" para separar os autores de qualquer informação adicional. + </para> + </listitem> + <listitem> + <para> + <literal>Bibliography</literal> + - escreva uma referência por linha seguindo o cabeçalho References. + </para> + </listitem> + </itemizedlist> + <para/> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +help_from_sci() // abrindo um modelo de código-fonte vazio no editor. +// salve este modelo como test_fun.sci no diretório corrente antes de executar +// os próximos comandos do exemplo + +help_from_sci('test_fun') // retornando o esqueleto xml como um string de texto. + +help_from_sci('test_fun','.') // criando o arquivo de ajuda xml no diretório corrente. + +// criando ambos os arquivos de ajuda e demonstração no diretório corrente. +help_from_sci('test_fun','.','.') + +// de um diretório raiz de um toolbox, uma seqüência de chamamento típica seria: +// help_from_sci('macros','help\pt_BR','demos') +// este comando processaria todos os arquivos .sci no diretório de macros +// e utilizaria a seção de comentários de cabeçalho para atualizar as ajudas .xml no +// diretório help\en_US e reconstruiria os arquivos .dem.sce no diretório demos\. + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="help_skeleton">help_skeleton</link> + </member> + <member> + <link linkend="xmltohtml">xmltohtml</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/help_skeleton.xml b/modules/helptools/help/pt_BR/help_skeleton.xml new file mode 100755 index 000000000..9de8151ac --- /dev/null +++ b/modules/helptools/help/pt_BR/help_skeleton.xml @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="help_skeleton" xml:lang="en"> + <refnamediv> + <refname>help_skeleton</refname> + <refpurpose>constrói o esqueleto do arquivo de ajuda xml associado à + função Scilab + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>txt = help_skeleton(funname [,path [,language]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>funname</term> + <listitem> + <para>string : o nome da função</para> + </listitem> + </varlistentry> + <varlistentry> + <term>path</term> + <listitem> + <para>string : o endereço onde se criará o arquivo, se for + requerido. Se este argumento não for fornecido, o esqueleto é + retornado como um string. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>language</term> + <listitem> + <para>string :com valor possÃvel "fr_FR" ou "en_US" o padrão é + "en_US" + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>txt</term> + <listitem> + <para>o código xml ou o endereço do arquivo xml completo</para> + <para/> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>txt = help_skeleton(funname)</literal> gera um vetor de + strings contendo o esqueleto do código XML descrevendo a ajuda da função + <literal>funname</literal>. + </para> + <para> + <literal>fullpath = help_skeleton(funname,dirpath)</literal> gera o + código XML descrevendo a ajuda da função <literal>funname</literal> em um + arquivo nomeado <literal>funname.xml</literal> no diretório especificado + pelo endereço <literal>dirpath</literal>. Neste caso, a função retorna o + endereço do arquivo. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +function [y,z]=foo(a,b),y=a+b,z=1,endfunction +p=help_skeleton('foo',TMPDIR) +if (isdef('editor') | (funptr('editor')<>0)) then + editor(p); +end + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/manedit.xml b/modules/helptools/help/pt_BR/manedit.xml new file mode 100755 index 000000000..386ae59c2 --- /dev/null +++ b/modules/helptools/help/pt_BR/manedit.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="manedit" xml:lang="en"> + <refnamediv> + <refname>manedit</refname> + <refpurpose>editando item do manual</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>manedit(manitem)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>manitem</term> + <listitem> + <para>string (geralmente, o nome de uma função)</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>edit(manitem)</literal> abre o arquivo xml associado a + <literal>manitem</literal> no editor. + </para> + <para> + Se não há arquivo xml associado a <literal>manitem</literal> e + <literal>manitem</literal> é o nome de uma função Scilab, o scinotes abre + com o esqueleto do arquivo xml produzido por <link linkend="help_skeleton">help_skeleton</link>. Este arquivo está localizado + em TMPDIR. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +manedit('manedit') + +function [x,y,z]=foo123(a,b), +x=a+b,y=a-b,z=a==b +endfunction +manedit foo123 + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="help_skeleton">help_skeleton</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/percenthelps.xml b/modules/helptools/help/pt_BR/percenthelps.xml new file mode 100755 index 000000000..93d8bebf3 --- /dev/null +++ b/modules/helptools/help/pt_BR/percenthelps.xml @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="percenthelps" xml:lang="en"> + <refnamediv> + <refname>%helps</refname> + <refpurpose>variável definindo o endereço dos diretórios de + ajuda + </refpurpose> + </refnamediv> + <refsection> + <title>Descrição</title> + <para> + A variável global <literal>%helps</literal> é uma matriz N x 2 de + strings. A k-ésima linha de <literal>%helps</literal>, + <literal>%helps(k,:)</literal> representa o k-ésimo capítulo do manual e é + feita de dois strings: + </para> + <para> + <literal>%helps(k,1)</literal> é o nome de endereço absoluto de um + diretório. + </para> + <para> + <literal>%helps(k,2)</literal> é um título para este diretório. Por + exemplo, para k=2, nós temos o capítulo de gráficos + <literal>%helps(2,:)</literal>. + </para> + <para> + A variável <literal>%helps</literal> é definida no arquivo de + inicialização do Scilab <literal>SCI+"/scilab.start"</literal>. + </para> + <para>Para adicionar um novo diretório de ajuda, o usuário deve adicionar + uma linha a <literal>%helps</literal>. (Uma linha para cada + diretório). + </para> + <para> + Por exemplo, <literal>%helps=[%helps; + "Path-Of-My-Help-Dir","My-Title"]; + </literal> + habilita o navegador de ajuda + do Scilab a procurar por itens do manual de ajuda no diretório com + endereço "Path-Of-My-Help-Dir". + </para> + <para>"My-Title" é, então, o título do novo capítulo de ajuda.</para> + <para>Um diretório válido deve conter:</para> + <para> + 1- Um conjunto de arquivos<literal>.html</literal> (ex.: + <literal>item1.html, item2.html</literal> etc). Os arquivos + <literal>.html</literal> são geralmente construídos de arquivos + XML. + </para> + <para> + 2- Um arquivo <literal>whatis.html</literal>, que deve conter um + formato especial. Cada linha de <literal>whatis</literal> deve ser como + segue: + </para> + <programlisting role="xml"><![CDATA[ +<BR><A HREF="item.html">item</A> - rápida descrição + ]]></programlisting> + <para> + <literal>item</literal> é o item da ajuda, i.e. o comando + <literal>help item</literal> exibe o conteúdo do arquivo + <literal>item.html</literal>. + </para> + <para> + O comando <literal>apropos keyword</literal> retorna as linhas de + todos os arquivos <literal>whatis.html</literal> nos quais a palavra-chave + keyword aparece. + </para> + <para>Em plataformas Linux, o Scilab provê um Makefile para transformar + páginas <literal>.xml</literal> pages em páginas <literal>.html</literal> + (ver SCIDIR/examples/man-examples). + </para> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="apropos">apropos</link> + </member> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="man">man</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/xmltohtml.xml b/modules/helptools/help/pt_BR/xmltohtml.xml new file mode 100755 index 000000000..a98854f69 --- /dev/null +++ b/modules/helptools/help/pt_BR/xmltohtml.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltohtml" xml:lang="en"> + <refnamediv> + <refname>xmltohtml</refname> + <refpurpose>converte arquivos de ajuda xml do Scilab para formato + HTML + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xmltohtml(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vetor de strings: um conjunto de endereços de diretórios para + os quais os manuais html devem ser gerados ou <literal>[] + </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vetor de strings: tÃtulos associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vetor de strings: idiomas associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vetor de strings: idiomas padrões associados aos endereços de + diretórios ou []. Se um arquivo XML estiver faltando em + dir_language, ele é copiado de default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Converte arquivos de ajuda Scilab contidos em um conjunto de + diretórios para formato HTML. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +my_module_path = pathconvert(SCI+'/modules/helptools/examples/example_1',%f,%f) + +// Construindo a ajuda em francês +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +my_french_html_dir = xmltohtml(my_french_help_dir,my_french_help_title,'fr_FR') + +// Construindo a ajuda em inglês +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [en_US]'; +my_english_html_dir = xmltohtml(my_english_help_dir,my_english_help_title,'en_US') + +// Construindo a ajuda em chinês +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +my_chinese_html_dir = xmltohtml(my_chinese_help_dir,my_chinese_help_title,'zh_TW') + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/xmltojar.xml b/modules/helptools/help/pt_BR/xmltojar.xml new file mode 100755 index 000000000..759573660 --- /dev/null +++ b/modules/helptools/help/pt_BR/xmltojar.xml @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltojar" xml:lang="en"> + <refnamediv> + <refname>xmltojar</refname> + <refpurpose>converte arquivos de ajuda xml do Scilab para formato + javaHelp + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xmltojar(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vetor de strings: um conjunto de endereços de diretórios para + os quais os manuais html devem ser gerados ou <literal>[] + </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vetor de strings: tÃtulos associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vetor de strings: idiomas associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vetor de strings: idiomas padrões associados aos endereços de + diretórios ou []. Se um arquivo XML estiver faltando em + dir_language, ele é copiado de default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Converte arquivos de ajuda Scilab contidos em um conjunto de + diretórios para formato jar. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +my_module_path = pathconvert(SCI+'/modules/helptools/examples/example_1',%f,%f) + +// Construindo a ajuda em francês +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +xmltojar(my_french_help_dir,my_french_help_title,'fr_FR'); + +// Construindo a ajuda em inglês +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [en_US]'; +xmltojar(my_english_help_dir,my_english_help_title,'en_US'); + +// Construindo a ajuda em chinês +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +xmltojar(my_chinese_help_dir,my_chinese_help_title,'zh_TW'); + +// Adicionando capÃtulos de ajuda em francês, inglês e chinês +// ============================================================================= + +if getlanguage() == 'fr_FR' then + add_help_chapter(my_french_help_title,my_module_path+"/jar"); + +elseif getlanguage() == 'zh_TW' then + add_help_chapter(my_chinese_help_title,my_module_path+"/jar"); + +else + add_help_chapter(my_english_help_title,my_module_path+"/jar"); +end + +// Ver o resultado no navegador de ajuda +// ============================================================================= +help(); + +// Deletando capÃtulos de ajuda em francês e inglês +// ============================================================================= +if getlanguage() == 'fr_FR' then + del_help_chapter(my_french_help_title); +else + del_help_chapter(my_english_help_title); +end + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/xmltopdf.xml b/modules/helptools/help/pt_BR/xmltopdf.xml new file mode 100755 index 000000000..7c1e50ca5 --- /dev/null +++ b/modules/helptools/help/pt_BR/xmltopdf.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltopdf" xml:lang="en"> + <refnamediv> + <refname>xmltopdf</refname> + <refpurpose>converte arquivos de ajuda xml do Scilab para formato + PDF + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xmltopdf(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vetor de strings: um conjunto de endereços de diretórios para + os quais os manuais pdf devem ser gerados ou <literal>[] + </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vetor de strings: tÃtulos associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vetor de strings: idiomas associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vetor de strings: idiomas padrões associados aos endereços de + diretórios ou []. Se um arquivo XML estiver faltando em + dir_language, ele é copiado de default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Converte arquivos de ajuda Scilab contidos em um conjunto de + diretórios para formato PDF + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +my_module_path = pathconvert(SCI+'/modules/helptools/examples/example_1',%f,%f) + +// Construindo a ajuda em francês +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +my_french_pdf = xmltopdf(my_french_help_dir,my_french_help_title,'fr_FR') + +// Construindo a ajuda em inglês +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [en_US]'; +my_english_pdf = xmltopdf(my_english_help_dir,my_english_help_title,'en_US') + +// Construindo a ajuda em chinês +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +my_chinese_pdf = xmltopdf(my_chinese_help_dir,my_chinese_help_title,'zh_TW') + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/pt_BR/xmltops.xml b/modules/helptools/help/pt_BR/xmltops.xml new file mode 100755 index 000000000..c5dcf7bca --- /dev/null +++ b/modules/helptools/help/pt_BR/xmltops.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xmltops" xml:lang="en"> + <refnamediv> + <refname>xmltops</refname> + <refpurpose>converte arquivos de ajuda xml do Scilab para formato + Postscript + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xmltops(dirs [,titles [,dir_language [default_language]]]]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>dirs</term> + <listitem> + <para>vetor de strings: um conjunto de endereços de diretórios para + os quais os manuais postscript devem ser gerados ou <literal>[] + </literal> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>titles</term> + <listitem> + <para>vetor de strings: tÃtulos associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>dir_language</term> + <listitem> + <para>vetor de strings: idiomas associados a endereços de diretórios + ou [] + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>default_language</term> + <listitem> + <para>vetor de strings: idiomas padrões associados aos endereços de + diretórios ou []. Se um arquivo XML estiver faltando em + dir_language, ele é copiado de default_language. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Converte arquivos de ajuda Scilab contidos em um conjunto de + diretórios para formato PS. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +// example_1/ +// `-- help +// |-- en_US +// | |-- example_1_function_1.xml +// | |-- example_1_function_2.xml +// | `-- example_1_function_3.xml +// `-- fr_FR +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml +// `-- zh_TW +// |-- example_1_function_1.xml +// |-- example_1_function_2.xml +// `-- example_1_function_3.xml + +my_module_path = pathconvert(SCI+'/modules/helptools/examples/example_1',%f,%f) + +// Construindo a ajuda em francês +// ============================================================================= +my_french_help_dir = my_module_path+'/help/fr_FR'; +my_french_help_title = 'Example 1 [fr_FR]'; +my_french_ps = xmltops(my_french_help_dir,my_french_help_title,'fr_FR') + +// Construindo a ajuda em inglês +// ============================================================================= +my_english_help_dir = my_module_path+'/help/en_US'; +my_english_help_title = 'Example 1 [EN_US]'; +my_english_ps = xmltops(my_english_help_dir,my_english_help_title,'en_US') + +// Construindo a ajuda em chinês +// ============================================================================= +my_chinese_help_dir = my_module_path+'/help/zh_TW'; +my_chinese_help_title = 'Example 1 [zh_TW]'; +my_chinese_ps = xmltops(my_chinese_help_dir,my_chinese_help_title,'zh_TW'); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="help">help</link> + </member> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/helptools/help/ru_RU/addchapter.sce b/modules/helptools/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..b6d39a61e --- /dev/null +++ b/modules/helptools/help/ru_RU/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Online help management",SCI+"/modules/helptools/help/ru_RU",%T); + |