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/scinotes/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/scinotes/help')
-rwxr-xr-x | modules/scinotes/help/en_US/addchapter.sce | 11 | ||||
-rwxr-xr-x | modules/scinotes/help/en_US/edit_error.xml | 67 | ||||
-rwxr-xr-x | modules/scinotes/help/en_US/editor.xml | 50 | ||||
-rwxr-xr-x | modules/scinotes/help/en_US/scinotes.xml | 586 | ||||
-rwxr-xr-x | modules/scinotes/help/fr_FR/addchapter.sce | 11 | ||||
-rwxr-xr-x | modules/scinotes/help/ja_JP/addchapter.sce | 11 | ||||
-rwxr-xr-x | modules/scinotes/help/ja_JP/edit_error.xml | 70 | ||||
-rwxr-xr-x | modules/scinotes/help/ja_JP/editor.xml | 38 | ||||
-rwxr-xr-x | modules/scinotes/help/ja_JP/scinotes.xml | 575 | ||||
-rwxr-xr-x | modules/scinotes/help/pt_BR/addchapter.sce | 11 | ||||
-rwxr-xr-x | modules/scinotes/help/ru_RU/addchapter.sce | 11 |
11 files changed, 1441 insertions, 0 deletions
diff --git a/modules/scinotes/help/en_US/addchapter.sce b/modules/scinotes/help/en_US/addchapter.sce new file mode 100755 index 000000000..a5372d257 --- /dev/null +++ b/modules/scinotes/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("Text editor (Scinotes)",SCI+"/modules/scinotes/help/en_US",%T); + diff --git a/modules/scinotes/help/en_US/edit_error.xml b/modules/scinotes/help/en_US/edit_error.xml new file mode 100755 index 000000000..2778f424b --- /dev/null +++ b/modules/scinotes/help/en_US/edit_error.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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="edit_error"> + <refnamediv> + <refname>edit_error</refname> + <refpurpose>opens in scilab editor the source of the last recorded error</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>answ = edit_error(clearerror)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>clearerror</term> + <listitem> + <para>boolean - if true the error condition is cleared, if false it is kept (as in + <link linkend="lasterror">lasterror</link>) + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>answ</term> + <listitem> + <para>a string stating which source file is open (or why no file was open) + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + This function opens in scilab editor the source of the function which caused the last recorded + error. + </para> + <!-- , and highlights the offending line --> + <para> + This function works only for functions which are defined in libraries, i.e. + not for internal functions, nor with functions defined online, nor loaded with + individual <link linkend="exec">exec</link> or <link linkend="getd">getd</link>. This is since Scilab presently + retains only the path to libraries and not to individual function sources. + </para> + <para> + Correspondance between the function name foo and function filename foo.sci + is tacitly assumed. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +acosh abc +edit_error + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="lasterror">lasterror</link> + </member> + <member> + <link linkend="errclear">errclear</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/scinotes/help/en_US/editor.xml b/modules/scinotes/help/en_US/editor.xml new file mode 100755 index 000000000..2ee1d6484 --- /dev/null +++ b/modules/scinotes/help/en_US/editor.xml @@ -0,0 +1,50 @@ +<?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="editor" xml:lang="en"> + <refnamediv> + <refname>editor</refname> + <refpurpose>Call the text editor as defined in the preferences</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + editor(...) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + An external text editor can be used with Scilab. This has to be configured in the <link linkend="preferences">preferences</link> menu. + </para> + <para>By default, Scinotes is the preferred editor. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +// editor without parameters +editor(); + +// editor with a file name +editor('SCI/modules/time/macros/datenum.sci'); + ]]></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/scinotes/help/en_US/scinotes.xml b/modules/scinotes/help/en_US/scinotes.xml new file mode 100755 index 000000000..2357e6016 --- /dev/null +++ b/modules/scinotes/help/en_US/scinotes.xml @@ -0,0 +1,586 @@ +<?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="scinotes" xml:lang="en"> + <refnamediv> + <refname>scinotes</refname> + <refpurpose>Scinotes: Embedded Scilab text editor</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + scinotes() + scinotes(file) + scinotes([file1, file2]) + scinotes(file, line_number) + scinotes(file, line_number, macro_name) + scinotes([file1, file2], [line_number1, line_number2]) + scinotes(file, 'readonly') + scinotes(file, ['indent','trailing','quote']) + scinotes([file1, file2], 'readonly') + scinotes([file1, file2], ['indent','trailing','quote']) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>file</term> + <listitem> + <para>a string, the file to be opened.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>[file1, file2]</term> + <listitem> + <para>a matrix of string, files to be opened.</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>line_number</term> + <listitem> + <para>An integer, the number of the line to be highlighted at the + opening of the file. + </para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>macro_name</term> + <listitem> + <para>a string, the line number would be relative to the definition of the function macro_name</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>[line_number1, line_number2]</term> + <listitem> + <para>a matrix of integer, each opened file will have its corresponding + line highlighted. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>Scinotes</literal> is an embedded Scilab text editor. + </para> + <para>It can be started with a fresh text buffer pressing the "Editor" + button on top of the main Scilab window, or from Scilab command line with + the instruction <literal>editor()</literal>, or it can open specific files + if invoked with any of the calling sequences above (whithout any + parameters, it opens editor with a blank file). + </para> + <para>The same invocation adds further files to an already opened + Editor. + </para> + <para>With the option 'readonly', files are opened in read-only mode so + they cannot be modified. + </para> + + <para>With the options 'indent', 'quote' or 'trailing', the editor will not be opened and the file(s) will be treated consequently to the actions. The actions are the following: + <itemizedlist> + <listitem> + <para> + The action 'indent' will indent correctly the file. + </para> + </listitem> + <listitem> + <para> + The action 'trailing' will remove the trailing white spaces. + </para> + </listitem> + <listitem> + <para> + The action 'quote' will replace all simple quoted strings by double quoted ones. + </para> + </listitem> + </itemizedlist> + </para> + <para> + One or several actions can be used at the same time, e.g. 'trailing' or ['indent','quote']. + </para> + + <para>Keyboard shortcuts are defined for most possible editing actions and + reported by the menu entries. + </para> + <para/> + <para>Scinotes can be started in the following ways :</para> + <itemizedlist> + <listitem> + <para>By the menu Applications. Choose Applications => + Editor + </para> + </listitem> + <listitem> + <para>From the command line:</para> + <itemizedlist> + <listitem> + <para>scinotes()</para> + </listitem> + <listitem> + <para>scinotes(file)</para> + </listitem> + <listitem> + <para>scinotes([file1, file2])</para> + </listitem> + <listitem> + <para>scinotes(file, line_number)</para> + </listitem> + <listitem> + <para>scinotes([file1, file2], [line_number1, line_number2])</para> + </listitem> + </itemizedlist> + </listitem> + </itemizedlist> + </refsection> + <refsection> + <title>Menus and Shortcuts</title> + <itemizedlist> + <listitem> + <para>Menu File</para> + <informaltable border="1"> + <tr> + <td> + <para>Command</para> + </td> + <td> + <para>Shortcut</para> + </td> + <td> + <para>Description</para> + </td> + </tr> + <tr> + <td>New...</td> + <td><CTRL-N></td> + <td> + <para>Open a new file</para> + </td> + </tr> + <tr> + <td>Open...</td> + <td><CTRL-O></td> + <td> + <para>Open an existing file</para> + </td> + </tr> + <tr> + <td>Recent Files</td> + <td/> + <td> + <para>Display files recently opened</para> + </td> + </tr> + <tr> + <td>Save</td> + <td><CTRL-S></td> + <td> + <para>Save a file</para> + </td> + </tr> + <tr> + <td>Save as...</td> + <td><CTRL-MAJ-S></td> + <td> + <para>Save a file as</para> + </td> + </tr> + <tr> + <td>Page Setup</td> + <td/> + <td> + <para>Setup page for printing</para> + </td> + </tr> + <tr> + <td>Print Preview</td> + <td><CTRL-MAJ-P></td> + <td> + <para>Open a print preview window</para> + </td> + </tr> + <tr> + <td>Print...</td> + <td><CTRL-P></td> + <td> + <para>Print a file</para> + </td> + </tr> + <tr> + <td>Close</td> + <td><CTRL-W></td> + <td> + <para>Close a file</para> + </td> + </tr> + <tr> + <td>Quit</td> + <td><CTRL-Q></td> + <td> + <para>Close Editor</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>Menu Edit</para> + <informaltable border="1"> + <tr> + <td> + <para>Command</para> + </td> + <td> + <para>Shortcut</para> + </td> + <td> + <para>Description</para> + </td> + </tr> + <tr> + <td>Undo</td> + <td><CTRL-Z></td> + <td> + <para>Undo action</para> + </td> + </tr> + <tr> + <td>Redo</td> + <td><CTRL-Y></td> + <td> + <para>Redo action</para> + </td> + </tr> + <tr> + <td>Cut</td> + <td><CTRL-X></td> + <td> + <para>Cut the selection</para> + </td> + </tr> + <tr> + <td>Copy</td> + <td><CTRL-C></td> + <td> + <para>Copy the selection</para> + </td> + </tr> + <tr> + <td>Paste</td> + <td><CTRL-V></td> + <td> + <para>Paste the selection</para> + </td> + </tr> + <tr> + <td>Select All</td> + <td><CTRL-A></td> + <td> + <para>Select the entire document</para> + </td> + </tr> + <tr> + <td>Delete</td> + <td/> + <td> + <para>Delete the selection</para> + </td> + </tr> + <tr> + <td>Comment Selection</td> + <td><CTRL-D></td> + <td> + <para>Comment selected lines</para> + </td> + </tr> + <tr> + <td>Uncomment Selection</td> + <td><CTRL-MAJ-D></td> + <td> + <para>Uncomment selected lines</para> + </td> + </tr> + <tr> + <td>Tabify Selection</td> + <td><TAB></td> + <td> + <para>Tabify selected lines</para> + </td> + </tr> + <tr> + <td>Untabify Selection</td> + <td><MAJ-TAB></td> + <td> + <para>Untabify selected lines</para> + </td> + </tr> + <tr> + <td>Indent</td> + <td><CTRL-I></td> + <td> + <para>Indent selected lines</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>Menu Search</para> + <informaltable border="1"> + <tr> + <td> + <para>Command</para> + </td> + <td> + <para>Shortcut</para> + </td> + <td> + <para>Description</para> + </td> + </tr> + <tr> + <td>Find/Replace</td> + <td><CTRL-F></td> + <td> + <para>Find and/or Replace an element</para> + </td> + </tr> + <tr> + <td>Goto line</td> + <td><CTRL-G></td> + <td> + <para>Goto line</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>Menu View</para> + <informaltable border="1"> + <tr> + <td> + <para>Command</para> + </td> + <td> + <para>Shortcut</para> + </td> + <td> + <para>Description</para> + </td> + </tr> + <tr> + <td>Show/Hide Toolbar</td> + <td/> + <td> + <para>Option to show or hide the toolbar</para> + </td> + </tr> + <tr> + <td>Highlight current line</td> + <td><CTRL-J></td> + <td> + <para>Highlight the current line</para> + </td> + </tr> + <tr> + <td>Line Numbers</td> + <td><CTRL-B></td> + <td> + <para>Display document's line numbers</para> + </td> + </tr> + <tr> + <td>Set Colors...</td> + <td/> + <td> + <para>Color settings for documents</para> + </td> + </tr> + <tr> + <td>Set Fonts...</td> + <td/> + <td> + <para>Font settings for documents</para> + </td> + </tr> + <tr> + <td>Reset default font</td> + <td/> + <td> + <para>Reset default font settings for documents</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>Menu Document</para> + <informaltable border="1"> + <tr> + <td> + <para>Command</para> + </td> + <td> + <para>Shortcut</para> + </td> + <td> + <para>Description</para> + </td> + </tr> + <tr> + <td>Syntax Type</td> + <td/> + <td> + <para>Syntax type settings (default type is Scilab)</para> + </td> + </tr> + <tr> + <td>Encoding</td> + <td/> + <td> + <para>Encoding settings (default type is UTF-8 + Encoding) + </para> + </td> + </tr> + <tr> + <td>Colorize</td> + <td/> + <td> + <para>Colorize the document</para> + </td> + </tr> + <tr> + <td>Auto Indent</td> + <td/> + <td> + <para>Activate the automatic indentation</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>Menu Execute</para> + <informaltable border="1"> + <tr> + <td> + <para>Command</para> + </td> + <td> + <para>Shortcut</para> + </td> + <td> + <para>Description</para> + </td> + </tr> + <tr> + <td>Load Into Scilab</td> + <td><CTRL-L></td> + <td> + <para>Load the entire document into the Scilab console</para> + </td> + </tr> + <tr> + <td>Evaluate Selection</td> + <td/> + <td> + <para>Load the selection into the Scilab console</para> + </td> + </tr> + <tr> + <td>Execute Into Scilab</td> + <td><CTRL-E></td> + <td> + <para>If the file exist, execute the content of the file</para> + </td> + </tr> + </informaltable> + </listitem> + </itemizedlist> + </refsection> + <refsection> + <title>Remarks</title> + <variablelist> + <varlistentry> + <term>Document :</term> + <listitem> + <para>The default text colorization is the Scilab's syntax + colorization. + </para> + <para> + The <literal>auto-indent</literal> mode indent a line + according to Scilab's syntax (after a return action). + </para> + <para/> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +// editor without parameters +scinotes(); + +// editor with a file name +scinotes('SCI/modules/time/macros/datenum.sci'); + +// editor with a matrix of files name +scinotes(['SCI/modules/time/macros/datenum.sci','SCI/modules/time/macros/datevec.sci']); + +// editor with a file name and the line number to highlight +scinotes('SCI/modules/time/macros/datenum.sci', 5); + +// editor with a file name and the line number to highlight +scinotes('SCI/modules/time/macros/datenum.sci', 8, 'datenum'); + +// editor with a matrix of files name and the corresponding matrix of lines to highlight +// the files name matrix and the lines to highlight matrix should have the same size +scinotes(['SCI/modules/time/macros/datenum.sci','SCI/modules/time/macros/datevec.sci'], [5,10]); + ]]></programlisting> + Indent some Scilab code + <programlisting role="example"><![CDATA[ + + +f=TMPDIR + "/file_to_correct.sci"; +mputl(["a=''abcdef'' "; + "if a==1"; + " b=1+""abcdef'' "; + " c=2"; + " d=3 "; + " if "; + "a=''abcdef"""""""; + " end"; + " end "], f); + +scinotes(f, ["indent" "trailing" "quote"]); + +// Show the results +mgetl(f) + + ]]></programlisting> + </refsection> + <refsection> + <title>History</title> + <revhistory> + <revision> + <revnumber>5.4.1</revnumber> + <revremark>['indent','trailing','quote'] options added.</revremark> + </revision> + </revhistory> + </refsection> + +</refentry> diff --git a/modules/scinotes/help/fr_FR/addchapter.sce b/modules/scinotes/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..8a4b7351e --- /dev/null +++ b/modules/scinotes/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("Editeur de texte (Scinotes)",SCI+"/modules/scinotes/help/fr_FR",%T); + diff --git a/modules/scinotes/help/ja_JP/addchapter.sce b/modules/scinotes/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..f95e1d866 --- /dev/null +++ b/modules/scinotes/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("scilab editor",SCI+"/modules/scinotes/help/ja_JP",%T); + diff --git a/modules/scinotes/help/ja_JP/edit_error.xml b/modules/scinotes/help/ja_JP/edit_error.xml new file mode 100755 index 000000000..cf20bd9e4 --- /dev/null +++ b/modules/scinotes/help/ja_JP/edit_error.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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="ja" xml:id="edit_error"> + <refnamediv> + <refname>edit_error</refname> + <refpurpose>直近に記録されたエラーのソースをscilabエディタで開く</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>answ = edit_error(clearerror)</synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>clearerror</term> + <listitem> + <para>論理値 - エラー条件がクリアされた場合は true, + エラー条件が維持された場合はfalse + (<link linkend="lasterror">lasterror</link>と同様) + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>answ</term> + <listitem> + <para> + どのソースファイルが開かれているか(またはなぜファイルが開かれていないか) + を示す文字列 + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + この関数は直近に記録されたエラーを発生した関数のソースをscilabエディタで開きます. + </para> + <!-- , and highlights the offending line --> + <para> + この関数はライブラリで定義された関数でのみ動作します. + よって,内部関数,オンラインで定義された関数, + <link linkend="exec">exec</link> または <link linkend="getd">getd</link>で個別に + 読み込まれた関数では動作しません. + これは,Scilabは現在ライブラリのパスのみを保持し,個別の関数ソースへのパスを + 保持していないためです. + </para> + <para> + 関数名fooと関数ファイル名foo.sciが一致することが仮定されます. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +acosh abc +edit_error + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="lasterror">lasterror</link> + </member> + <member> + <link linkend="errclear">errclear</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/scinotes/help/ja_JP/editor.xml b/modules/scinotes/help/ja_JP/editor.xml new file mode 100755 index 000000000..2cdb5bdff --- /dev/null +++ b/modules/scinotes/help/ja_JP/editor.xml @@ -0,0 +1,38 @@ +<?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="editor" xml:lang="ja"> + <refnamediv> + <refname>editor</refname> + <refpurpose>設定で定義されたテキストエディタをコールする</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis> + editor(...) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>説明</title> + <para> + Scilabで使用できる外部テキストエディタ. + </para> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="scinotes">scinotes</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/scinotes/help/ja_JP/scinotes.xml b/modules/scinotes/help/ja_JP/scinotes.xml new file mode 100755 index 000000000..2e39432d6 --- /dev/null +++ b/modules/scinotes/help/ja_JP/scinotes.xml @@ -0,0 +1,575 @@ +<?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="scinotes" xml:lang="ja"> + <refnamediv> + <refname>scinotes</refname> + <refpurpose>Scinotes: Scilab組込みテキストエディタ</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis> + scinotes() + scinotes(file) + scinotes([file1, file2]) + scinotes(file, line_number) + scinotes(file, line_number, macro_name) + scinotes([file1, file2], [line_number1, line_number2]) + scinotes(file, 'readonly') + scinotes(file, ['indent','trailing','quote']) + scinotes([file1, file2], 'readonly') + scinotes([file1, file2], ['indent','trailing','quote']) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>file</term> + <listitem> + <para>文字列, 開こうとするファイル.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>[file1, file2]</term> + <listitem> + <para>文字列の行列, 開こうとするファイル.</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>line_number</term> + <listitem> + <para>整数, ファイルを開く際にハイライト表示する行の番号. + </para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>macro_name</term> + <listitem> + <para>文字列, 関数 macro_nameの定義位置に相対的な行番号</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>[line_number1, line_number2]</term> + <listitem> + <para>整数の行列, 各開かれたファイルでハイライト表示される行. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>Scinotes</literal> は,組込みScilabテキストエディタです. + </para> + <para> + Scilabメインウィンドウの最上部の"Editor"ボタンを押すか, + Scilabコマンドラインで<literal>editor()</literal>を入力する + ことにより,新規テキストバッファを開始することができます. + 上記以外の呼び出し手順で起動された場合,特定のファイルを開くことができます + (パラメータを指定しない場合,空のファイルをエディタで開きます). + </para> + <para> + 重ねて起動すると,既に開かれたエディタにファイルが追加されます. + </para> + <para> + オプション'readonly'を指定すると, ファイルは読込モードで開かれ,修正できません. + </para> + <para> + オプション 'indent', 'quote' または 'trailing'を指定すると, + エディタはオープンせずに,ファイルが指定した処理を行います. + 以下の処理が定義されています: + <itemizedlist> + <listitem> + <para> + 'indent'処理はファイルを正しくインデントします. + </para> + </listitem> + <listitem> + <para> + 'trailing'処理は末尾の空白文字を削除します. + </para> + </listitem> + <listitem> + <para> + 'quote'処理はシングルクォートで括られた文字列を全てダブルクオートで置換します. + </para> + </listitem> + </itemizedlist> + </para> + <para> + 1つまたは複数の処理を同時に行うことができます. + 例: 'trailing' または ['indent','quote']. + </para> + <para> + ほとんど全ての編集動作についてキーボードショートカットが定義されており, + メニューのエントリで知ることができます. + </para> + <para/> + <para>Scinotes は以下のどれかの方法で起動できます :</para> + <itemizedlist> + <listitem> + <para>アプリケーションメニューから. アプリケーション => + Editor を選択してください. + </para> + </listitem> + <listitem> + <para>コマンドラインから:</para> + <itemizedlist> + <listitem> + <para>scinotes()</para> + </listitem> + <listitem> + <para>scinotes(file)</para> + </listitem> + <listitem> + <para>scinotes([file1, file2])</para> + </listitem> + <listitem> + <para>scinotes(file, line_number)</para> + </listitem> + <listitem> + <para>scinotes([file1, file2], [line_number1, line_number2])</para> + </listitem> + </itemizedlist> + </listitem> + </itemizedlist> + </refsection> + <refsection> + <title>メニューとショートカット</title> + <itemizedlist> + <listitem> + <para>メニューファイル</para> + <informaltable border="1"> + <tr> + <td> + <para>コマンド</para> + </td> + <td> + <para>ショートカット</para> + </td> + <td> + <para>説明</para> + </td> + </tr> + <tr> + <td>新規...</td> + <td><CTRL-N></td> + <td> + <para>ファイルを新たに開く</para> + </td> + </tr> + <tr> + <td>開く...</td> + <td><CTRL-O></td> + <td> + <para>既存のファイルを開く</para> + </td> + </tr> + <tr> + <td>最近のファイル</td> + <td/> + <td> + <para>最近開かれたファイルを表示</para> + </td> + </tr> + <tr> + <td>保存</td> + <td><CTRL-S></td> + <td> + <para>ファイルを保存する</para> + </td> + </tr> + <tr> + <td>名前を指定して保存...</td> + <td><CTRL-MAJ-S></td> + <td> + <para>名前を指定してファイルを保存する</para> + </td> + </tr> + <tr> + <td>ページ設定</td> + <td/> + <td> + <para>印刷用にページを設定する</para> + </td> + </tr> + <tr> + <td>印刷プレビュー</td> + <td><CTRL-MAJ-P></td> + <td> + <para>プレビューウィンドウを開く</para> + </td> + </tr> + <tr> + <td>印刷...</td> + <td><CTRL-P></td> + <td> + <para>ファイルを印刷する</para> + </td> + </tr> + <tr> + <td>閉じる</td> + <td><CTRL-W></td> + <td> + <para>ファイルを閉じる</para> + </td> + </tr> + <tr> + <td>終了</td> + <td><CTRL-Q></td> + <td> + <para>エディタを終了する</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>編集メニュー</para> + <informaltable border="1"> + <tr> + <td> + <para>コマンド</para> + </td> + <td> + <para>ショートカット</para> + </td> + <td> + <para>説明</para> + </td> + </tr> + <tr> + <td>取り消す</td> + <td><CTRL-Z></td> + <td> + <para>操作を取り消す</para> + </td> + </tr> + <tr> + <td>やり直す</td> + <td><CTRL-Y></td> + <td> + <para>操作をやり直す</para> + </td> + </tr> + <tr> + <td>切り取る</td> + <td><CTRL-X></td> + <td> + <para>選択部を切り取る</para> + </td> + </tr> + <tr> + <td>コピー</td> + <td><CTRL-C></td> + <td> + <para>選択部をコピーする</para> + </td> + </tr> + <tr> + <td>貼付け</td> + <td><CTRL-V></td> + <td> + <para>選択部を貼り付ける</para> + </td> + </tr> + <tr> + <td>全て選択</td> + <td><CTRL-A></td> + <td> + <para>文書全体を選択する</para> + </td> + </tr> + <tr> + <td>削除</td> + <td/> + <td> + <para>選択部を削除する</para> + </td> + </tr> + <tr> + <td>選択部をコメントアウトする</td> + <td><CTRL-D></td> + <td> + <para>選択された行をコメントアウトする</para> + </td> + </tr> + <tr> + <td>選択部をコメントから外す</td> + <td><CTRL-MAJ-D></td> + <td> + <para>選択された行をコメントから外す</para> + </td> + </tr> + <tr> + <td>選択部の空白をタブに変換</td> + <td><TAB></td> + <td> + <para>選択された行の空白をタブに変換する</para> + </td> + </tr> + <tr> + <td>選択部のタブ変換を解除する</td> + <td><MAJ-TAB></td> + <td> + <para>選択された行のタブ変換を解除する</para> + </td> + </tr> + <tr> + <td>インデント</td> + <td><CTRL-I></td> + <td> + <para>選択された行をインデントする</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>検索メニュー</para> + <informaltable border="1"> + <tr> + <td> + <para>コマンド</para> + </td> + <td> + <para>ショートカット</para> + </td> + <td> + <para>説明</para> + </td> + </tr> + <tr> + <td>検索/置換</td> + <td><CTRL-F></td> + <td> + <para>要素を検索または置換する</para> + </td> + </tr> + <tr> + <td>指定行に移動</td> + <td><CTRL-G></td> + <td> + <para>指定行に移動する</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>表示メニュー</para> + <informaltable border="1"> + <tr> + <td> + <para>コマンド</para> + </td> + <td> + <para>ショートカット</para> + </td> + <td> + <para>説明</para> + </td> + </tr> + <tr> + <td>ツールバーを表示/隠す</td> + <td/> + <td> + <para>ツールバーを表示または隠すオプション</para> + </td> + </tr> + <tr> + <td>カレント行をハイライト表示</td> + <td><CTRL-J></td> + <td> + <para>カレント行をハイライト表示する</para> + </td> + </tr> + <tr> + <td>行番号</td> + <td><CTRL-B></td> + <td> + <para>文書の行番号を表示する</para> + </td> + </tr> + <tr> + <td>色を指定...</td> + <td/> + <td> + <para>文書の色を指定する</para> + </td> + </tr> + <tr> + <td>フォントを指定...</td> + <td/> + <td> + <para>文書のフォントを設定する</para> + </td> + </tr> + <tr> + <td>デフォルトフォントをリセット</td> + <td/> + <td> + <para>文書のデフォルトフォント設定をリセットする</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>文書メニュー</para> + <informaltable border="1"> + <tr> + <td> + <para>コマンド</para> + </td> + <td> + <para>ショートカット</para> + </td> + <td> + <para>説明</para> + </td> + </tr> + <tr> + <td>構文型</td> + <td/> + <td> + <para>構文型設定(デフォルト型はScilab)</para> + </td> + </tr> + <tr> + <td>エンコーディング</td> + <td/> + <td> + <para>エンコーディング設定 (デフォルト型は UTF-8エンコーディング) + </para> + </td> + </tr> + <tr> + <td>色付け</td> + <td/> + <td> + <para>文書を色付けする</para> + </td> + </tr> + <tr> + <td>自動インデント</td> + <td/> + <td> + <para>自動インデントをアクティブにする</para> + </td> + </tr> + </informaltable> + </listitem> + <listitem> + <para>実行メニュー</para> + <informaltable border="1"> + <tr> + <td> + <para>コマンド</para> + </td> + <td> + <para>ショートカット</para> + </td> + <td> + <para>説明</para> + </td> + </tr> + <tr> + <td>Scilabにロード</td> + <td><CTRL-L></td> + <td> + <para>文書全体をScilabコンソールにロードする</para> + </td> + </tr> + <tr> + <td>選択部を評価</td> + <td/> + <td> + <para>選択部をScilabコンソールにロードする</para> + </td> + </tr> + <tr> + <td>Scilabで実行</td> + <td><CTRL-E></td> + <td> + <para>ファイルが存在する場合, そのファイルの内容を実行する</para> + </td> + </tr> + </informaltable> + </listitem> + </itemizedlist> + </refsection> + <refsection> + <title>注意</title> + <variablelist> + <varlistentry> + <term>文書 :</term> + <listitem> + <para>デフォルトのテキストの色付けはScilab構文の色付けです. + </para> + <para> + <literal>自動インデント</literal> モードでは,(リターン操作後に) + Scilab構文に基づき行をインデントします. + </para> + <para/> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +// パラメータなしでエディタを起動 +scinotes(); +// ファイル名を指定してエディタを起動 +scinotes('SCI/modules/time/macros/datenum.sci'); +// ファイル名の行列を指定してエディタを起動 +scinotes(['SCI/modules/time/macros/datenum.sci','SCI/modules/time/macros/datevec.sci']); +// ファイル名とハイライト表示する行を指定してエディタを起動 +scinotes('SCI/modules/time/macros/datenum.sci', 5); +// ファイル名とハイライト表示する行を指定してエディタを起動 +scinotes('SCI/modules/time/macros/datenum.sci', 8, 'datenum'); +// ファイル名の行列と対応するハイライト表示する行の行列を指定してエディタを起動 +// ファイル名の行列とハイライト表示する行の行列は同じ大きさにします +scinotes(['SCI/modules/time/macros/datenum.sci','SCI/modules/time/macros/datevec.sci'], [5,10]); + ]]></programlisting> + Scilabコードをインデント + <programlisting role="example"><![CDATA[ +f=TMPDIR + "/file_to_correct.sci"; +mputl(["a=''abcdef'' "; + "if a==1"; + " b=1+""abcdef'' "; + " c=2"; + " d=3 "; + " if "; + "a=''abcdef"""""""; + " end"; + " end "], f); +scinotes(f, ["indent" "trailing" "quote"]); +// 結果を表示 +mgetl(f) + ]]></programlisting> + </refsection> + <refsection> + <title>履歴</title> + <revhistory> + <revision> + <revnumber>5.4.1</revnumber> + <revremark>['indent','trailing','quote'] オプションが追加されました.</revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/scinotes/help/pt_BR/addchapter.sce b/modules/scinotes/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..79234a133 --- /dev/null +++ b/modules/scinotes/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("Scilab editor (Scinotes)",SCI+"/modules/scinotes/help/pt_BR",%T); + diff --git a/modules/scinotes/help/ru_RU/addchapter.sce b/modules/scinotes/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..ebcdd99c0 --- /dev/null +++ b/modules/scinotes/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("Text editor (Scinotes)",SCI+"/modules/scinotes/help/ru_RU",%T); + |