[doc] Unfold synopses [core](continue) 20/21420/4
Samuel GOUGEON [Thu, 27 Feb 2020 04:26:43 +0000 (05:26 +0100)]
  Note: ascii(160) unbreakable space is sometimes used to indent
        parts of synopses (if, try, select, while..)

Change-Id: I0d9d9a873dd3f90a3f936f5f5595bfe8cec78f32

36 files changed:
scilab/modules/core/help/en_US/2_control_flow/if.xml
scilab/modules/core/help/en_US/2_control_flow/pause.xml
scilab/modules/core/help/en_US/2_control_flow/resume.xml
scilab/modules/core/help/en_US/2_control_flow/return.xml
scilab/modules/core/help/en_US/2_control_flow/select.xml
scilab/modules/core/help/en_US/2_control_flow/try.xml
scilab/modules/core/help/en_US/2_control_flow/while.xml
scilab/modules/core/help/fr_FR/2_control_flow/if.xml
scilab/modules/core/help/fr_FR/2_control_flow/pause.xml
scilab/modules/core/help/fr_FR/2_control_flow/resume.xml
scilab/modules/core/help/fr_FR/2_control_flow/return.xml
scilab/modules/core/help/fr_FR/2_control_flow/select.xml
scilab/modules/core/help/fr_FR/2_control_flow/then.xml
scilab/modules/core/help/fr_FR/2_control_flow/try.xml
scilab/modules/core/help/fr_FR/2_control_flow/while.xml
scilab/modules/core/help/ja_JP/2_control_flow/if.xml
scilab/modules/core/help/ja_JP/2_control_flow/pause.xml
scilab/modules/core/help/ja_JP/2_control_flow/resume.xml
scilab/modules/core/help/ja_JP/2_control_flow/return.xml
scilab/modules/core/help/ja_JP/2_control_flow/select.xml
scilab/modules/core/help/ja_JP/2_control_flow/try.xml
scilab/modules/core/help/ja_JP/2_control_flow/while.xml
scilab/modules/core/help/pt_BR/2_control_flow/if.xml
scilab/modules/core/help/pt_BR/2_control_flow/pause.xml
scilab/modules/core/help/pt_BR/2_control_flow/resume.xml
scilab/modules/core/help/pt_BR/2_control_flow/return.xml
scilab/modules/core/help/pt_BR/2_control_flow/select.xml
scilab/modules/core/help/pt_BR/2_control_flow/try.xml
scilab/modules/core/help/pt_BR/2_control_flow/while.xml
scilab/modules/core/help/ru_RU/2_control_flow/if.xml
scilab/modules/core/help/ru_RU/2_control_flow/pause.xml
scilab/modules/core/help/ru_RU/2_control_flow/resume.xml
scilab/modules/core/help/ru_RU/2_control_flow/return.xml
scilab/modules/core/help/ru_RU/2_control_flow/select.xml
scilab/modules/core/help/ru_RU/2_control_flow/try.xml
scilab/modules/core/help/ru_RU/2_control_flow/while.xml

index cc5d226..0c99d79 100644 (file)
         <title>Syntax</title>
         <synopsis>
             if expr1 then
-                statements
+                statements
             elseif expri then
-                statements
-                ....
+                statements
+                ....
             else
-                statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index 7db3bbb..5883a24 100644 (file)
@@ -4,6 +4,12 @@
         <refname>pause</refname>
         <refpurpose>pause mode, invoke keyboard</refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Syntax</title>
+        <synopsis>
+            pause
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Description</title>
         <para>
index 5e98555..683fceb 100644 (file)
@@ -20,8 +20,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
-        <synopsis>resume
-            [x1,..,xn]=resume(a1,..,an)
+        <synopsis>
+            resume
+            [x1,..,xn] = resume(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index 900a930..73d792d 100644 (file)
@@ -20,8 +20,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
-        <synopsis>return
-            [x1,..,xn]=return(a1,..,an)
+        <synopsis>
+            return
+            [x1,..,xn] = return(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index f09affb..990f5aa 100644 (file)
         <synopsis>
             select variable
             case value1 then
-            instructions 1
+                instructions 1
             case value2 then
-            instructions 2
-            ...
+                instructions 2
+                ...
             case valuen then
-            instructions n
-            [else instructions]
+                instructions n
+           [else
+                instructions]
             end
         </synopsis>
     </refsynopsisdiv>
index c09a815..f8e83bf 100644 (file)
@@ -30,9 +30,9 @@
         <title>Syntax</title>
         <synopsis>
             try
-            statements
+                statements
             catch
-            statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index 10ad938..10489c9 100644 (file)
         <refname>while</refname>
         <refpurpose>Opens a block of instructions iterated on a heading condition</refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Syntax</title>
+        <synopsis>
+            while expr, instructions,..., end
+            while expr do instructions,..., end
+            while expr then instructions,..., end
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Description</title>
         <para>
-            The <literal>while</literal> clause must be terminated by
-            <literal>"end"</literal>.
-        </para>
-        <para>
-            <literal>while expr ,instructions,..., end</literal>
-        </para>
-        <para>
-            <literal>while expr do instructions,..., end</literal>
-        </para>
-        <para>
-            <literal>while expr then instructions,..., end</literal>
+            The <literal>while</literal> clause must be terminated by <literal>"end"</literal>.
         </para>
         <para>Notes:</para>
         <itemizedlist>
index 3154053..97e9231 100644 (file)
         <title>Séquence d'appel</title>
         <synopsis>
             if expr1 then
-                instructions
+                statements
             elseif expri then
-                instructions
-                ....
+                statements
+                ....
             else
-                instructions
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index f6069fe..6ea994d 100644 (file)
@@ -4,6 +4,12 @@
         <refname>pause</refname>
         <refpurpose>mode de pause, attente clavier  </refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Syntaxe</title>
+        <synopsis>
+            pause
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Description</title>
         <para>
index 91bdd90..2533ed5 100644 (file)
@@ -20,8 +20,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Séquence d'appel</title>
-        <synopsis>resume
-            [x1,..,xn]=resume(a1,..,an)
+        <synopsis>
+            resume
+            [x1,..,xn] = resume(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index 2dee217..542bab2 100644 (file)
@@ -20,8 +20,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Séquence d'appel</title>
-        <synopsis>return
-            [x1,..,xn]=return(a1,..,an)
+        <synopsis>
+            return
+            [x1,..,xn] = return(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index b8639b3..6959cec 100644 (file)
         <synopsis>
             select variable
             case valeur1 then
-            instructions 1
+                instructions 1
             case valeur2 then
-            instructions 2
-            ...
+                instructions 2
+                ...
             case valeurn then
-            instructions n
-            [else instructions]
+                instructions n
+           [else
+                instructions]
             end
         </synopsis>
     </refsynopsisdiv>
index 2a67d6e..6d439aa 100644 (file)
@@ -29,7 +29,7 @@
         </para>
     </refsection>
     <refsection>
-        <title>Examples</title>
+        <title>Exemples</title>
         <programlisting role="example"><![CDATA[
 if 2*2 == 4 then
    disp("Ca marche")
index ffc3069..5d69326 100644 (file)
@@ -30,9 +30,9 @@
         <title>Séquence d'appel</title>
         <synopsis>
             try
-            statements
+                statements
             catch
-            statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index c68c5f7..5f9e137 100644 (file)
@@ -19,7 +19,7 @@
         <refpurpose>mot-clé utilisé dans une structure while ... end </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Séquence d'appel</title>
+        <title>Syntaxe</title>
         <synopsis>
             while expr ,instructions,..., end
             while expr do instructions,..., end
index 0cbec44..c09523f 100644 (file)
         <title>呼び出し手順</title>
         <synopsis>
             if expr1 then
-                statements
+                statements
             elseif expri then
-                statements
-                ....
+                statements
+                ....
             else
-                statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index e932fbb..a734ee8 100644 (file)
@@ -4,6 +4,12 @@
         <refname>pause</refname>
         <refpurpose>中断モード, キーボード入力を待つ</refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>呼出し手順</title>
+        <synopsis>
+            pause
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>説明</title>
         <para>
index a27cd82..eb0f449 100644 (file)
@@ -20,8 +20,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>呼出し手順</title>
-        <synopsis>resume
-            [x1,..,xn]=resume(a1,..,an)
+        <synopsis>
+            resume
+            [x1,..,xn] = resume(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index a777e0e..c377da3 100644 (file)
@@ -20,8 +20,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>呼出し手順</title>
-        <synopsis>return
-            [x1,..,xn]=return(a1,..,an)
+        <synopsis>
+            return
+            [x1,..,xn] = return(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index 816cc0e..7ac3810 100644 (file)
         <synopsis>
             select variable
             case value1 then
-            instructions 1
+                instructions 1
             case value2 then
-            instructions 2
-            ...
+                instructions 2
+                ...
             case valuen then
-            instructions n
-            [else instructions]
+                instructions n
+           [else
+                instructions]
             end
         </synopsis>
     </refsynopsisdiv>
index 8b6cdb2..24cc7b6 100644 (file)
     </refnamediv>
     <refsynopsisdiv>
         <title>呼出し手順</title>
-        <synopsis>try
-            statements
+        <synopsis>
+            try
+                statements
             catch
-            statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index 15e6803..59c625a 100644 (file)
         <refname>while</refname>
         <refpurpose>while キーワード</refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>呼出し手順</title>
+        <synopsis>
+            while expr ,instructions,..., end
+            while expr do instructions,..., end
+            while expr then instructions,..., end
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>説明</title>
         <para>
-            <literal>while</literal> 構文.
-            <literal>"end"</literal>で終わる必要があります.
-        </para>
-        <para>
-            <literal>while expr ,instructions,...[,else instructions], end</literal>
-        </para>
-        <para>
-            <literal>while expr do instructions,...[,else instructions], end</literal>
-        </para>
-        <para>
-            <literal>while expr then instructions,...[,else instructions], end</literal>
+            <literal>while</literal> 構文. <literal>"end"</literal>で終わる必要があります.
         </para>
         <para>注意:</para>
         <itemizedlist>
index 8a0e0f1..787b7b4 100644 (file)
         <title>Seqüência de Chamamento</title>
         <synopsis>
             if expressão1 then
-                sentenças
+                sentenças
             elseif expressãoi then
-                sentenças
-                ....
+                sentenças
+                ....
             else
-                sentenças
+                sentenças
             end
         </synopsis>
     </refsynopsisdiv>
index d499421..70a91db 100644 (file)
@@ -4,6 +4,12 @@
         <refname>pause</refname>
         <refpurpose>modo de pausa, invoca teclado</refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Seqüência de Chamamento</title>
+        <synopsis>
+            pause
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Descrição</title>
         <para>
index 974b99d..eb31041 100644 (file)
@@ -22,8 +22,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Seqüência de Chamamento</title>
-        <synopsis>resume
-            [x1,..,xn]=resume(a1,..,an)
+        <synopsis>
+            resume
+            [x1,..,xn] = resume(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index 565c6e1..416d89a 100644 (file)
@@ -22,8 +22,9 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Seqüência de Chamamento </title>
-        <synopsis>return
-            [x1,..,xn]=return(a1,..,an)
+        <synopsis>
+            return
+            [x1,..,xn] = return(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index 0bbbb34..c1e769b 100644 (file)
             acordo com a variável)")
         </refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Seqüência de Chamamento</title>
+        <synopsis>
+            select variável
+            case valor_1 then
+                instruções_1
+            case valor_2 then
+                instruções_2
+                ...
+            case valor_n then
+                instruções_n
+           [else
+                instruções]
+            end
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Descrição</title>
-        <programlisting role=""><![CDATA[
-select expressão,
-  case expressão1 then instruções1,
-  case expressão2 then instruções2,
-  ...
-  case expressãon then instruçõesn,
-  [else instruções],
-end
- ]]></programlisting>
-        <para/>
         <para>Notas:</para>
         <itemizedlist>
             <listitem>
@@ -41,8 +47,8 @@ end
             </listitem>
             <listitem>
                 <para>A palavra-chave "then" pode ser substituída por uma vírgula ou
-                    um retorno de carro. <literal>instruçõesi</literal> são executadas se
-                    <literal>expressãoi=expressão</literal>.
+                    um retorno de carro. <literal>instruções_i</literal> são executadas se
+                    <literal>variável == valor_i</literal>.
                 </para>
             </listitem>
         </itemizedlist>
index 48d45da..5718661 100644 (file)
     </refnamediv>
     <refsynopsisdiv>
         <title> Seqüência de Chamamento </title>
-        <synopsis>try
-            statements
+        <synopsis>
+            try
+                statements
             catch
-            statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index 8eab6d9..6022825 100644 (file)
             "enquanto...")
         </refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Seqüência de Chamamento</title>
+        <synopsis>
+            while expr ,instructions,..., end
+            while expr do instructions,..., end
+            while expr then instructions,..., end
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Descrição</title>
         <para>
index a8abcee..e2279ce 100644 (file)
         <title>Синтаксис</title>
         <synopsis>
             if expr1 then
-                statements 1
+                statements1
             elseif expri then
-                statements i
-                ....
+                statementsi
+                ....
             else
-                statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index bbc9d4b..db7992c 100644 (file)
@@ -4,6 +4,12 @@
         <refname>pause</refname>
         <refpurpose>режим паузы, вызов клавиатуры</refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Синтаксис</title>
+        <synopsis>
+            pause
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Описание</title>
         <para>
index a7b8bc1..6273d7a 100644 (file)
@@ -20,7 +20,8 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Синтаксис</title>
-        <synopsis>resume
+        <synopsis>
+          resume
             [x1, ..., xn] = resume(a1, ..., an)
         </synopsis>
     </refsynopsisdiv>
@@ -137,8 +138,8 @@ foo2()
             <revision>
                 <revnumber>6.0.0</revnumber>
                 <revdescription>
-                  <literal>resume</literal> is now protected:
-                  Assignments like <literal>resume=1</literal> are no longer possible.
+                  <literal>resume</literal> теперь защищена:
+                  Присвоения, такие как <literal>resume=1</literal>, более не возможны.
                 </revdescription>
             </revision>
         </revhistory>
index ea557aa..63ac917 100644 (file)
@@ -24,7 +24,7 @@
         <title>Синтаксис</title>
         <synopsis>
             return
-            [x1,..,xn]=return(a1,..,an)
+            [x1,..,xn] = return(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
index e3bbc7d..cd89295 100644 (file)
         <synopsis>
             select variable
             case value1 then
-            instructions 1
+                instructions 1
             case value2 then
-            instructions 2
-            ...
+                instructions 2
+                ...
             case valuen then
-            instructions n
-            [else instructions]
+                instructions n
+            [else
+                instructions]
             end
         </synopsis>
     </refsynopsisdiv>
index 48d6766..21ca698 100644 (file)
@@ -29,9 +29,9 @@
         <title>Синтаксис</title>
         <synopsis>
             try
-            statements
+                statements
             catch
-            statements
+                statements
             end
         </synopsis>
     </refsynopsisdiv>
index 43f917a..0a27788 100644 (file)
         <refname>while</refname>
         <refpurpose>ключевое слово while</refpurpose>
     </refnamediv>
+    <refsynopsisdiv>
+        <title>Синтаксис</title>
+        <synopsis>
+            while expr, инструкции,..., end
+            while expr do инструкции,..., end
+            while expr then инструкции,..., end
+        </synopsis>
+    </refsynopsisdiv>
     <refsection>
         <title>Описание</title>
         <para>
             Оператор <literal>while</literal> должен заканчиваться ключевым словом
             <literal>"end"</literal>.
         </para>
-        <para>
-            <literal>while expr ,инструкции,...[,else инструкции], end</literal>
-        </para>
-        <para>
-            <literal>while expr do инструкции,...[,else инструкции], end</literal>
-        </para>
-        <para>
-            <literal>while expr then инструкции,...[,else инструкции], end</literal>
-        </para>
         <para>Примечания:</para>
         <itemizedlist>
             <listitem>