Revision of help pages for mtlb_mode function. 83/10483/2
Stanislav KROTER [Thu, 14 Feb 2013 16:44:49 +0000 (22:44 +0600)]
Change-Id: I730fe8be6a79435ec2b80ece368cc970be551f8f

scilab/modules/compatibility_functions/help/en_US/mtlb_mode.xml
scilab/modules/compatibility_functions/help/fr_FR/mtlb_mode.xml
scilab/modules/compatibility_functions/help/ja_JP/mtlb_mode.xml
scilab/modules/compatibility_functions/help/pt_BR/mtlb_mode.xml
scilab/modules/compatibility_functions/help/ru_RU/mtlb_mode.xml

index ac56288..153690c 100644 (file)
@@ -1,15 +1,12 @@
 <?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="mtlb_mode">
-    <info>
-        <pubdate>$LastChangedDate$</pubdate>
-    </info>
     <refnamediv>
         <refname>mtlb_mode</refname>
         <refpurpose>switch Matlab like operations</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
-        <synopsis>mmode=mtlb_mode()
+        <synopsis>mmode = mtlb_mode()
             mtlb_mode(mmode)
         </synopsis>
     </refsynopsisdiv>
@@ -35,7 +32,7 @@
                 <term>Scilab</term>
                 <listitem>
                     <para></para>
-                    <programlisting role = ""><![CDATA[ 
+                    <programlisting role = ""><![CDATA[
 a=1;
 a+[]
 // -->a
@@ -67,11 +64,11 @@ a-[] -->[]
             </varlistentry>
         </variablelist>
         <para>
-            <literal> mtlb_mode(%t)</literal>  switches to Matlab evaluation mode for additions and
-            substractions. <literal> mtlb_mode(%f)</literal>  switches back to Scilab mode.
+            <code>mtlb_mode(%t)</code>  switches to Matlab evaluation mode for additions and
+            substractions. <code>mtlb_mode(%f)</code>  switches back to Scilab mode.
         </para>
         <para>
-            <literal> mtlb_mode()</literal> return the current mmode' value
+            <code>mtlb_mode()</code> returns the current <varname>mmode</varname>' value (<constant>%t</constant>=Matlab, <constant>%f</constant>=Scilab).
         </para>
     </refsection>
     <refsection role="see also">
index 730009f..8415287 100644 (file)
@@ -6,7 +6,7 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Séquence d'appel</title>
-        <synopsis>mmode=mtlb_mode()
+        <synopsis>mmode = mtlb_mode()
             mtlb_mode(mmode)
         </synopsis>
     </refsynopsisdiv>
@@ -51,7 +51,7 @@ a-[]
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role="no-scilab-exec"><![CDATA[ 
+                    <programlisting role="no-scilab-exec"><![CDATA[
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
@@ -61,10 +61,10 @@ a-[] -->[]
             </varlistentry>
         </variablelist>
         <para>
-            <literal> mtlb_mode(%t)</literal> passe au mode de compatibilité Matlab pour les additions et les soustractions. <literal> mtlb_mode(%f)</literal> retourne au mode Scilab.
+            <code>mtlb_mode(%t)</code> passe au mode de compatibilité Matlab pour les additions et les soustractions. <code>mtlb_mode(%f)</code> retourne au mode Scilab.
         </para>
         <para>
-            <literal> mtlb_mode()</literal> renvoie la valeur du mode de compatibilité courant (%t=Matlab, %f=Scilab).
+            <code>mtlb_mode()</code> renvoie la valeur du mode de compatibilité courant (<constant>%t</constant>=Matlab, <constant>%f</constant>=Scilab).
         </para>
     </refsection>
     <refsection role="see also">
index f642bf8..c6e05a8 100644 (file)
@@ -6,7 +6,7 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>呼び出し手順</title>
-        <synopsis>mmode=mtlb_mode()
+        <synopsis>mmode = mtlb_mode()
             mtlb_mode(mmode)
         </synopsis>
     </refsynopsisdiv>
@@ -16,7 +16,7 @@
             <varlistentry>
                 <term>mmode</term>
                 <listitem>
-                    <para>b論理値</para>
+                    <para>論理値</para>
                 </listitem>
             </varlistentry>
         </variablelist>
@@ -33,7 +33,7 @@
                 <term>Scilab</term>
                 <listitem>
                     <para/>
-                    <programlisting role=""><![CDATA[ 
+                    <programlisting role=""><![CDATA[
 a=1;
 a+[]
 // -->a
@@ -52,7 +52,7 @@ a-[]
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role="no-scilab-exec"><![CDATA[ 
+                    <programlisting role="no-scilab-exec"><![CDATA[
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
@@ -62,12 +62,12 @@ a-[] -->[]
             </varlistentry>
         </variablelist>
         <para>
-            <literal> mtlb_mode(%t)</literal>  は加算および除算をMatlab互換モードに
+            <code>mtlb_mode(%t)</code>  は加算および除算をMatlab互換モードに
             切り替えます.
-            <literal> mtlb_mode(%f)</literal>  はScilabモードに戻します.
+            <code>mtlb_mode(%f)</code>  はScilabモードに戻します.
         </para>
         <para>
-            <literal> mtlb_mode()</literal>はカレントの mmodeの値を返します.
+            <code>mtlb_mode()</code>はカレントの <varname>mmode</varname>の値を返します(<constant>%t</constant>=Matlab, <constant>%f</constant>=Scilab).
         </para>
     </refsection>
     <refsection role="see also">
index 0c0ace1..27697d6 100644 (file)
@@ -6,7 +6,7 @@
     </refnamediv>
     <refsynopsisdiv>
         <title> Seqüência de Chamamento </title>
-        <synopsis>mmode=mtlb_mode()
+        <synopsis>mmode = mtlb_mode()
             mtlb_mode(mmode)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Descrição</title>
         <para>Adições e subtrações do Scilab e do Matlab funcionam de modo
-            diferente quando usadas com matrizes vazias: 
+            diferente quando usadas com matrizes vazias:
         </para>
         <variablelist>
             <varlistentry>
                 <term>Scilab</term>
                 <listitem>
                     <para/>
-                    <programlisting role=""><![CDATA[ 
+                    <programlisting role=""><![CDATA[
 a=1;
 a+[]
 // -->a
@@ -50,7 +50,7 @@ a-[]
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role="no-scilab-exec"><![CDATA[ 
+                    <programlisting role="no-scilab-exec"><![CDATA[
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
@@ -60,13 +60,13 @@ a-[] -->[]
             </varlistentry>
         </variablelist>
         <para>
-            <literal> mtlb_mode(%t)</literal> alterna para o modo de operações
-            para adição e subtração do Matlab. <literal> mtlb_mode(%f)</literal> volta
+            <code>mtlb_mode(%t)</code> alterna para o modo de operações
+            para adição e subtração do Matlab. <code>mtlb_mode(%f)</code> volta
             para o modo de operações do Scilab.
         </para>
         <para>
-            <literal> mtlb_mode()</literal> retorna o valor 'mmode'
-            corrente.
+            <code>mtlb_mode()</code> retorna o valor <varname>mmode</varname>
+            corrente (<constant>%t</constant>=Matlab, <constant>%f</constant>=Scilab).
         </para>
     </refsection>
     <refsection>
index e841b23..491cb4f 100644 (file)
@@ -2,12 +2,12 @@
 <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="ru" xml:id="mtlb_mode">
     <refnamediv>
         <refname>mtlb_mode</refname>
-        <refpurpose>переключение на операции в стили Matlab'а</refpurpose>
+        <refpurpose>переключение на операции в стиле Matlab'а</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Последовательность вызова</title>
         <synopsis>
-            mmode=mtlb_mode()
+            mmode = mtlb_mode()
             mtlb_mode(mmode)
         </synopsis>
     </refsynopsisdiv>
@@ -25,7 +25,8 @@
     <refsection>
         <title>Описание</title>
         <para>
-            Суммирования и вычитания в Scilab и Matlab работают по-разному при использовании пустых 
+            Суммирования и вычитания в Scilab'е и Matlab'е
+            работают по-разному при использовании пустых
             матриц:
         </para>
         <variablelist>
@@ -33,7 +34,7 @@
                 <term>Scilab</term>
                 <listitem>
                     <para/>
-                    <programlisting><![CDATA[ 
+                    <programlisting><![CDATA[
 a=1;
 a+[]
 // -->a
@@ -52,7 +53,7 @@ a-[]
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role = "no-scilab-exec"><![CDATA[ 
+                    <programlisting role = "no-scilab-exec"><![CDATA[
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
@@ -62,10 +63,10 @@ a-[] -->[]
             </varlistentry>
         </variablelist>
         <para>
-            <literal>mtlb_mode(%t)</literal> переключает на режим вычисления в стиле Matlab'а для суммирований и вычитаний. <literal>mtlb_mode(%f)</literal> переключает обратно в режим Scilab'а.
+            <code>mtlb_mode(%t)</code> переключает на режим вычисления в стиле Matlab'а для суммирований и вычитаний. <code>mtlb_mode(%f)</code> переключает обратно в режим Scilab'а.
         </para>
         <para>
-            <literal>mtlb_mode()</literal> возвращает текущее значение <literal>mmode</literal>.
+            <code>mtlb_mode()</code> возвращает текущее значение <varname>mmode</varname> (<constant>%t</constant> для Matlab'а, <constant>%f</constant> для Scilab'а).
         </para>
     </refsection>
     <refsection role="see also">