summaryrefslogtreecommitdiff
path: root/modules/preferences/help
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/preferences/help
downloadscilab_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/preferences/help')
-rwxr-xr-xmodules/preferences/help/en_US/addchapter.sce10
-rwxr-xr-xmodules/preferences/help/en_US/getPreferencesValue.xml102
-rwxr-xr-xmodules/preferences/help/en_US/preferences.xml44
-rwxr-xr-xmodules/preferences/help/en_US/prefs_SciNotes.xml103
-rwxr-xr-xmodules/preferences/help/en_US/setPreferencesValue.xml114
-rwxr-xr-xmodules/preferences/help/fr_FR/addchapter.sce10
-rwxr-xr-xmodules/preferences/help/images/scinotes/editor.pngbin0 -> 12200 bytes
-rwxr-xr-xmodules/preferences/help/images/scinotes/scinotes_general_settings.pngbin0 -> 18041 bytes
-rwxr-xr-xmodules/preferences/help/ja_JP/addchapter.sce10
-rwxr-xr-xmodules/preferences/help/ja_JP/getPreferencesValue.xml115
-rwxr-xr-xmodules/preferences/help/ja_JP/preferences.xml44
-rwxr-xr-xmodules/preferences/help/ja_JP/prefs_SciNotes.xml123
-rwxr-xr-xmodules/preferences/help/ja_JP/setPreferencesValue.xml126
-rwxr-xr-xmodules/preferences/help/pt_BR/addchapter.sce10
-rwxr-xr-xmodules/preferences/help/ru_RU/addchapter.sce10
15 files changed, 821 insertions, 0 deletions
diff --git a/modules/preferences/help/en_US/addchapter.sce b/modules/preferences/help/en_US/addchapter.sce
new file mode 100755
index 000000000..cf229bec1
--- /dev/null
+++ b/modules/preferences/help/en_US/addchapter.sce
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - Scilab Enterprises
+//
+// 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("Preferences",SCI+"/modules/preferences/help/en_US",%T); \ No newline at end of file
diff --git a/modules/preferences/help/en_US/getPreferencesValue.xml b/modules/preferences/help/en_US/getPreferencesValue.xml
new file mode 100755
index 000000000..af12ae802
--- /dev/null
+++ b/modules/preferences/help/en_US/getPreferencesValue.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2014 - Scilab Enterprises - 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="getPreferencesValue" xml:lang="en">
+ <refnamediv>
+ <refname>getPreferencesValue</refname>
+ <refpurpose>Get preferences value</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ getPreferencesValue(xpath, attributes [, doc])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>xpath</term>
+ <listitem>
+ <para>a string, represents the XPath request to get the node in the preferences file.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>attributes</term>
+ <listitem>
+ <para>a matrix of strings, the attributes names.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term>doc</term>
+ <listitem>
+ <para>a mlist typed XMLDoc, the XML document associated to the preference file.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ Get the values of the attributes in preferences file (<literal>SCIHOME+'/XConfiguration.xml'</literal>).
+ </para>
+ <para>
+ When doc is specified, the values are searched in this document. It is useful when several requests need to be done to avoid to parse again and again the same configuration file.
+ </para>
+ <para>
+ All valid XPath requests are possible. For example to write the XPath request to get proxy settings:
+ </para>
+ <simplelist type="inline">
+ <member>
+ <para>
+ Open the file <literal>SCIHOME+'/XConfiguration.xml'</literal> and gets the nodes names to access to the expected node:
+ </para>
+ <programlisting role="xml"><![CDATA[
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<interface height="600" path="1/" version="0.17" width="800">
+ <general title="_(General)">
+ ...
+ </general>
+ <web title="_(Web)">
+ <body>
+ <web command-browser="" command-mailer="" default-browser="true" default-mailer="true"/>
+ <proxy enabled="false" host="" password="" port="" user=""/>
+ <previous-proxy enabled="false" host="" password="" port="" user=""/>
+ </body>
+ </web>
+ ...
+</interface>
+ ]]></programlisting>
+ <para>
+ The path will be <literal>"/interface/web/body/proxy"</literal> (or to simplify <literal>"//web/body/proxy"</literal>).
+ </para>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"]);
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="setPreferencesValue">setPreferencesValue</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/en_US/preferences.xml b/modules/preferences/help/en_US/preferences.xml
new file mode 100755
index 000000000..618e1782f
--- /dev/null
+++ b/modules/preferences/help/en_US/preferences.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2009 - DIGITEO - Sylvestre KOUMAR
+ *
+ * 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:ns5="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="preferences" xml:lang="en">
+ <refnamediv>
+ <refname>preferences</refname>
+ <refpurpose>Open the Scilab Preferences window</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ preferences()
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ Open Scilab Preferences window.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+preferences()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="scinotes">scinotes</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/en_US/prefs_SciNotes.xml b/modules/preferences/help/en_US/prefs_SciNotes.xml
new file mode 100755
index 000000000..5d884c1b3
--- /dev/null
+++ b/modules/preferences/help/en_US/prefs_SciNotes.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2012 - Scilab Enterprises - 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
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="prefs_SciNotes" scilab:needs-examples="no" xml:lang="en">
+ <refnamediv>
+ <refname>SciNotes preferences</refname>
+ <refpurpose>SciNotes general preferences</refpurpose>
+ </refnamediv>
+ <refsection id="prefs_SciNotes_Editor">
+ <title>Editor</title>
+ <para>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="../images/scinotes/editor.png" width="100" depth="100" scalefit="0" align="center" valign="middle"/>
+ </imageobject>
+ </inlinemediaobject>
+ </para>
+ <para>
+ SciNotes is the default Scilab code editor. It is now possible to use an external editor using a system dependent command or a Scilab macro name.
+ </para>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis role="bold">Use SciNotes</emphasis>: check this box if you want to use SciNotes in using commands such like editor or edit.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">External editor</emphasis>: check this radio button to use an external system editor, e.g. it is possible to enter "/usr/bin/gedit".
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Scilab command</emphasis>: check this radio button to use an editor which is callable via a Scilab macro. This macro should take the same kind of argument as the editor command.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </refsection>
+ <refsection id="prefs_SciNotes_General_Settings">
+ <title>SciNotes General settings</title>
+ <para>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="../images/scinotes/scinotes_general_settings.png" width="100" depth="100" scalefit="0" align="center" valign="middle"/>
+ </imageobject>
+ </inlinemediaobject>
+ </para>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis role="bold">Restore previous session on start-up</emphasis>: check this box to be able to restore the previous Scilab session as it was before quiting Scilab.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Add carriage return at the end of the file</emphasis>: check this box to automatically add a CR, if none, at the end of the file.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Number of recently opened files to display</emphasis>: modify this value to fix how many files must appears in the last opened section.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Default file enconding</emphasis>: fix the default encoding to use to save a file. No more encodings are proposed since Scilab handles only these ones at execution.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Default End-Of-Line</emphasis>: fix the default end-of-line chars to use when saving the file.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="scinotes">scinotes</link>
+ </member>
+ <member>
+ <link linkend="editor">editor</link>
+ </member>
+ <member>
+ <link linkend="edit">edit</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/en_US/setPreferencesValue.xml b/modules/preferences/help/en_US/setPreferencesValue.xml
new file mode 100755
index 000000000..80d58a119
--- /dev/null
+++ b/modules/preferences/help/en_US/setPreferencesValue.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2014 - Scilab Enterprises - 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="setPreferencesValue" xml:lang="en">
+ <refnamediv>
+ <refname>setPreferencesValue</refname>
+ <refpurpose>Set preferences value</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ setPreferencesValue(xpath, key_value [, doc])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>xpath</term>
+ <listitem>
+ <para>a string, represents the XPath request to get the node in the preferences file.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>key_value</term>
+ <listitem>
+ <para>a 2xN matrix of strings, the key-values to set.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term>doc</term>
+ <listitem>
+ <para>a mlist typed XMLDoc, the XML document associated to the preference file.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ Set the values of the attributes in preferences file (<literal>SCIHOME+'/XConfiguration.xml'</literal>).
+ </para>
+ <warning>
+ Modifying incorrectly some preferences can alter Scilab's behaviour.
+ </warning>
+ <para>
+ When doc is specified, the values are searched in this document. It is useful when several requests need to be done to avoid to parse again and again the same configuration file.
+ </para>
+ <para>
+ All valid XPath requests are possible. For example to write the XPath request to set proxy settings:
+ </para>
+ <simplelist type="inline">
+ <member>
+ <para>
+ Open the file <literal>SCIHOME+'/XConfiguration.xml'</literal> and gets the nodes names to access to the expected node:
+ </para>
+ <programlisting role="xml"><![CDATA[
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<interface height="600" path="1/" version="0.17" width="800">
+ <general title="_(General)">
+ ...
+ </general>
+ <web title="_(Web)">
+ <body>
+ <web command-browser="" command-mailer="" default-browser="true" default-mailer="true"/>
+ <proxy enabled="false" host="" password="" port="" user=""/>
+ <previous-proxy enabled="false" host="" password="" port="" user=""/>
+ </body>
+ </web>
+ ...
+</interface>
+ ]]></programlisting>
+ <para>
+ The path will be <literal>"/interface/web/body/proxy"</literal> (or to simplify <literal>"//web/body/proxy"</literal>).
+ </para>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Get the current values
+prev = getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"]);
+setPreferencesValue("//web/body/proxy", ["enabled", "host", "port"; "true", "my.proxy.org", "1234"]);
+
+// Ok that's work
+getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"])
+
+// We restore the previous values
+setPreferencesValue("//web/body/proxy", ["enabled", "host", "port" ; prev]);
+getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"])
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getPreferencesValue">getPreferencesValue</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/fr_FR/addchapter.sce b/modules/preferences/help/fr_FR/addchapter.sce
new file mode 100755
index 000000000..c4d279c97
--- /dev/null
+++ b/modules/preferences/help/fr_FR/addchapter.sce
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - Scilab Enterprises
+//
+// 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("Préférences",SCI+"/modules/preferences/help/en_US",%T); \ No newline at end of file
diff --git a/modules/preferences/help/images/scinotes/editor.png b/modules/preferences/help/images/scinotes/editor.png
new file mode 100755
index 000000000..e48c4adbf
--- /dev/null
+++ b/modules/preferences/help/images/scinotes/editor.png
Binary files differ
diff --git a/modules/preferences/help/images/scinotes/scinotes_general_settings.png b/modules/preferences/help/images/scinotes/scinotes_general_settings.png
new file mode 100755
index 000000000..3a52f648d
--- /dev/null
+++ b/modules/preferences/help/images/scinotes/scinotes_general_settings.png
Binary files differ
diff --git a/modules/preferences/help/ja_JP/addchapter.sce b/modules/preferences/help/ja_JP/addchapter.sce
new file mode 100755
index 000000000..3bde691eb
--- /dev/null
+++ b/modules/preferences/help/ja_JP/addchapter.sce
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - Scilab Enterprises
+//
+// 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("Preferences",SCI+"/modules/preferences/help/ja_JP",%T); \ No newline at end of file
diff --git a/modules/preferences/help/ja_JP/getPreferencesValue.xml b/modules/preferences/help/ja_JP/getPreferencesValue.xml
new file mode 100755
index 000000000..8ad624fa8
--- /dev/null
+++ b/modules/preferences/help/ja_JP/getPreferencesValue.xml
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2014 - Scilab Enterprises - 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="getPreferencesValue" xml:lang="ja">
+ <refnamediv>
+ <refname>getPreferencesValue</refname>
+ <refpurpose>設定値を取得</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>
+ getPreferencesValue(xpath, attributes [, doc])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>引数</title>
+ <variablelist>
+ <varlistentry>
+ <term>xpath</term>
+ <listitem>
+ <para>文字列,
+ 設定ファイルのノードを取得する
+ XPathリクエストを表す.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>attributes</term>
+ <listitem>
+ <para>文字列の行列, 属性名.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term>doc</term>
+ <listitem>
+ <para>XMLDoc型のmlist, 設定ファイルのXML文書.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>説明</title>
+ <para>
+ 設定ファイル(<literal>SCIHOME+'/XConfiguration.xml'</literal>)の
+ 属性の値を取得します.
+ </para>
+ <para>
+ docを指定した場合, 値はこの文書内で探されます.
+ 複数のリクエストを実行する必要がある際,
+ 同じ設定ファイルを重複してパースすることを避けるために
+ 有用です.
+ </para>
+ <para>
+ 有効な任意のXPathリクエストを指定できます.
+ 例えば,proxy設定を取得するXPathリクエストは以下のように
+ 記述できます:
+ </para>
+ <simplelist type="inline">
+ <member>
+ <para>
+ ファイル<literal>SCIHOME+'/XConfiguration.xml'</literal>
+ を開き,指定したノードにアクセスするためのノード名を
+ 取得します:
+ </para>
+ <programlisting role="xml"><![CDATA[
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<interface height="600" path="1/" version="0.17" width="800">
+ <general title="_(General)">
+ ...
+ </general>
+ <web title="_(Web)">
+ <body>
+ <web command-browser="" command-mailer="" default-browser="true" default-mailer="true"/>
+ <proxy enabled="false" host="" password="" port="" user=""/>
+ <previous-proxy enabled="false" host="" password="" port="" user=""/>
+ </body>
+ </web>
+ ...
+</interface>
+ ]]></programlisting>
+ <para>
+ パスは<literal>"/interface/web/body/proxy"</literal>
+ (または簡単化するために<literal>"//web/body/proxy"</literal>)
+ となります.
+ </para>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"]);
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="setPreferencesValue">setPreferencesValue</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/ja_JP/preferences.xml b/modules/preferences/help/ja_JP/preferences.xml
new file mode 100755
index 000000000..f3b9b7f53
--- /dev/null
+++ b/modules/preferences/help/ja_JP/preferences.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2009 - DIGITEO - Sylvestre KOUMAR
+ *
+ * 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:ns5="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="preferences" xml:lang="ja">
+ <refnamediv>
+ <refname>preferences</refname>
+ <refpurpose>Scilab設定ウィンドウを開く</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>
+ preferences()
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>
+ Scilab設定ウィンドウを開きます.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+preferences()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="scinotes">scinotes</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/ja_JP/prefs_SciNotes.xml b/modules/preferences/help/ja_JP/prefs_SciNotes.xml
new file mode 100755
index 000000000..86f0c5f3b
--- /dev/null
+++ b/modules/preferences/help/ja_JP/prefs_SciNotes.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2012 - Scilab Enterprises - 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
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="prefs_SciNotes" scilab:needs-examples="no" xml:lang="ja">
+ <refnamediv>
+ <refname>SciNotes preferences</refname>
+ <refpurpose>SciNotes 一般設定</refpurpose>
+ </refnamediv>
+ <refsection id="prefs_SciNotes_Editor">
+ <title>Editor</title>
+ <para>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="../images/scinotes/editor.png" width="100" depth="100" scalefit="0" align="center" valign="middle"/>
+ </imageobject>
+ </inlinemediaobject>
+ </para>
+ <para>
+ SciNotes はデフォルトのScilabコードエディタです.
+ システム依存のコマンドまたはScilabマクロ名により
+ 外部エディタを使用できます,
+ </para>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis role="bold">SciNotesを使用</emphasis>:
+ エディタまたは編集のようなコマンドで
+ SciNotesを使用する場合はチェックしてください.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">外部エディタ</emphasis>:
+ 外部システムエディタを使用する場合はこのラジオボタンを
+ チェックしてください.
+ "/usr/bin/gedit"のように入力できます.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Scilabコマンド</emphasis>:
+ Scilabマクロ経由でコール可能な
+ エディタを使用する場合はこのラジオボタンをチェックしてください.
+ このマクロは,エディタコマンドと同種の引数をとります.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </refsection>
+ <refsection id="prefs_SciNotes_General_Settings">
+ <title>SciNotes一般設定</title>
+ <para>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="../images/scinotes/scinotes_general_settings.png" width="100" depth="100" scalefit="0" align="center" valign="middle"/>
+ </imageobject>
+ </inlinemediaobject>
+ </para>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis role="bold">
+ 起動時に前のセッションを回復する
+ </emphasis>
+ :
+ Scilab終了前と同じになるように前のScilabセッションを
+ 回復する場合はこのボックスをクリックしてください.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">ファイルの終端に復改を追加</emphasis>:
+ ファイルの終端に(もしない場合に)
+ CRを自動的に追加する場合はこのボックスをチェックしてください,
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">表示する直近に開かれたファイルの数</emphasis>: 直近に開かれたセクションに表示するファイルの数を変更する場合はこの値を修正してください.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">ファイルエンコーディングのデフォルト値</emphasis>: ファイル保存時に使用するエンコーディングのデフォルト値を変更します.
+ Scilabはこれらのエンコーディングのみを実行時に処理するため,
+ これ以外のエンコーディングは考慮されません.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">デフォルトの行末</emphasis>:
+ ファイル保存時に使用する行末文字のデフォルト値を変更します.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="scinotes">scinotes</link>
+ </member>
+ <member>
+ <link linkend="editor">editor</link>
+ </member>
+ <member>
+ <link linkend="edit">edit</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/ja_JP/setPreferencesValue.xml b/modules/preferences/help/ja_JP/setPreferencesValue.xml
new file mode 100755
index 000000000..cd1c3d10d
--- /dev/null
+++ b/modules/preferences/help/ja_JP/setPreferencesValue.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2014 - Scilab Enterprises - 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="setPreferencesValue" xml:lang="ja">
+ <refnamediv>
+ <refname>setPreferencesValue</refname>
+ <refpurpose>設定値を設定</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>
+ setPreferencesValue(xpath, key_value [, doc])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>引数</title>
+ <variablelist>
+ <varlistentry>
+ <term>xpath</term>
+ <listitem>
+ <para>
+ 文字列, 設定ファイルのノードを取得する
+ XPathリクエストを表す.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>key_value</term>
+ <listitem>
+ <para>2xNの文字列行列, 設定するキーの値.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term>doc</term>
+ <listitem>
+ <para>
+ XMLDoc型のmlist, 設定ファイルのXML文書.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>説明</title>
+ <para>
+ 設定ファイル(<literal>SCIHOME+'/XConfiguration.xml'</literal>)
+ の属性の値を設定します.
+ </para>
+ <warning>
+ 誤って設定を修正するとScilabの動作を改変することになります.
+ </warning>
+ <para>
+ docを指定した場合, 値はこの文書内で探されます.
+ 複数のリクエストを実行する必要がある際,
+ 同じ設定ファイルを重複してパースすることを避けるために
+ 有用です.
+ </para>
+ <para>
+ 有効な任意のXPathリクエストを指定できます.
+ 例えば,proxy設定を書き込むXPathリクエストは以下のように
+ 記述できます:
+ </para>
+ <simplelist type="inline">
+ <member>
+ <para>
+ ファイル<literal>SCIHOME+'/XConfiguration.xml'</literal>
+ を開き,指定したノードにアクセスするためのノード名を
+ 取得します:
+ </para>
+ <programlisting role="xml"><![CDATA[
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<interface height="600" path="1/" version="0.17" width="800">
+ <general title="_(General)">
+ ...
+ </general>
+ <web title="_(Web)">
+ <body>
+ <web command-browser="" command-mailer="" default-browser="true" default-mailer="true"/>
+ <proxy enabled="false" host="" password="" port="" user=""/>
+ <previous-proxy enabled="false" host="" password="" port="" user=""/>
+ </body>
+ </web>
+ ...
+</interface>
+ ]]></programlisting>
+ <para>
+ パスは<literal>"/interface/web/body/proxy"</literal>
+ (または簡単化するために<literal>"//web/body/proxy"</literal>)
+ となります.
+ </para>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+// カレントの値を取得
+prev = getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"]);
+setPreferencesValue("//web/body/proxy", ["enabled", "host", "port"; "true", "my.proxy.org", "1234"]);
+// 確認します
+getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"])
+// 前の値に戻します
+setPreferencesValue("//web/body/proxy", ["enabled", "host", "port" ; prev]);
+getPreferencesValue("//web/body/proxy", ["enabled", "host", "port"])
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getPreferencesValue">getPreferencesValue</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/preferences/help/pt_BR/addchapter.sce b/modules/preferences/help/pt_BR/addchapter.sce
new file mode 100755
index 000000000..cf229bec1
--- /dev/null
+++ b/modules/preferences/help/pt_BR/addchapter.sce
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - Scilab Enterprises
+//
+// 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("Preferences",SCI+"/modules/preferences/help/en_US",%T); \ No newline at end of file
diff --git a/modules/preferences/help/ru_RU/addchapter.sce b/modules/preferences/help/ru_RU/addchapter.sce
new file mode 100755
index 000000000..cf229bec1
--- /dev/null
+++ b/modules/preferences/help/ru_RU/addchapter.sce
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - Scilab Enterprises
+//
+// 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("Preferences",SCI+"/modules/preferences/help/en_US",%T); \ No newline at end of file