2bc0b16eafcc5447f1d9c62aafe0b568d5c6346f
[scilab.git] / scilab / modules / core / help / ru_RU / configuration / with_texmacs.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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="with_texmacs" xml:lang="ru">
3     <refnamediv>
4         <refname>with_texmacs</refname>
5         <refpurpose>
6             проверка: вызван ли Scilab TeXmacs'ом. <emphasis role="bold">Эта функция устарела.</emphasis> 
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>Последовательность вызова</title>
11         <synopsis>r = with_texmacs()</synopsis>
12     </refsynopsisdiv>
13     <refsection>
14         <title>Аргументы</title>
15         <variablelist>
16             <varlistentry>
17                 <term>r</term>
18                 <listitem>
19                     <para>логическое значение</para>
20                 </listitem>
21             </varlistentry>
22         </variablelist>
23     </refsection>
24     <refsection>
25         <title>Описание</title>
26         <para>
27             Возвращает <literal>%t</literal>, если Scilab вызван TeXmacs'ом
28             (необходимо установить ATOMS-модуль: <code>atomsInstall('texmacs')</code>)
29         </para>
30     </refsection>
31     <refsection>
32         <title>История</title>
33         <revhistory>
34             <revision>
35                 <revnumber>5.4.0</revnumber>
36                 <revremark>Эта функция будет удалена в Scilab 5.4.1</revremark>
37             </revision>
38         </revhistory>
39     </refsection>
40     <refsection>
41         <title>Примеры</title>
42         <programlisting role="example"><![CDATA[
43 if with_texmacs() == %t then
44    disp("Texmacs доступен");
45 else
46    disp("Texmacs не доступен");
47 end
48  ]]></programlisting>
49     </refsection>
50 </refentry>