* with_texmacs removed. 49/9849/3
Sylvestre Ledru [Thu, 29 Nov 2012 10:35:20 +0000 (11:35 +0100)]
Change-Id: Ibf16bf3829a44976d48303ca14391940bb63243d

scilab/CHANGES_5.4.X
scilab/modules/core/help/en_US/configuration/with_texmacs.xml [deleted file]
scilab/modules/core/help/ja_JP/configuration/with_texmacs.xml [deleted file]
scilab/modules/core/help/pt_BR/configuration/with_texmacs.xml [deleted file]
scilab/modules/core/help/ru_RU/configuration/with_texmacs.xml [deleted file]
scilab/modules/core/macros/with_texmacs.sci [deleted file]

index a50fa85..ca89cbb 100644 (file)
@@ -25,6 +25,8 @@ Removed functions
 
 * with_pvm removed.
 
+* with_texmacs removed.
+
 
 Xcos
 =====
diff --git a/scilab/modules/core/help/en_US/configuration/with_texmacs.xml b/scilab/modules/core/help/en_US/configuration/with_texmacs.xml
deleted file mode 100644 (file)
index 6686167..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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: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="en">
-    <refnamediv>
-        <refname>with_texmacs</refname>
-        <refpurpose>
-            Checks if Scilab has been called by texmacs. <emphasis role="bold">This function is obsolete.</emphasis> 
-        </refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Calling Sequence</title>
-        <synopsis>r = with_texmacs()</synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Arguments</title>
-        <variablelist>
-            <varlistentry>
-                <term>r</term>
-                <listitem>
-                    <para>a boolean</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Description</title>
-        <para>
-            Returns <literal>%t</literal> if Scilab has been called by TeXmacs
-            (required to install ATOMS module: <code>atomsInstall('texmacs')</code>)
-        </para>
-    </refsection>
-    <refsection>
-        <title>History</title>
-        <revhistory>
-            <revision>
-                <revnumber>5.4.0</revnumber>
-                <revremark>This function will be removed in Scilab 5.4.1</revremark>
-            </revision>
-        </revhistory>
-    </refsection>
-    <refsection>
-        <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-if with_texmacs() == %t then
-   disp("Texmacs is available");
-else
-   disp("Texmacs is not available");
-end
- ]]></programlisting>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/core/help/ja_JP/configuration/with_texmacs.xml b/scilab/modules/core/help/ja_JP/configuration/with_texmacs.xml
deleted file mode 100644 (file)
index 7421453..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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="with_texmacs">
-    <refnamediv>
-        <refname>with_texmacs</refname>
-        <refpurpose>Scilabがtexmacsによりコールされているかどうかを調べる
-        </refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>呼出し手順</title>
-        <synopsis>r=with_texmacs()</synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>パラメータ</title>
-        <variablelist>
-            <varlistentry>
-                <term>r</term>
-                <listitem>
-                    <para>論理値</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>説明</title>
-        <para>
-            ScilabがTeXmacsによりコールされている場合に <literal>%t</literal>
-            を返します.
-        </para>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/core/help/pt_BR/configuration/with_texmacs.xml b/scilab/modules/core/help/pt_BR/configuration/with_texmacs.xml
deleted file mode 100644 (file)
index 0fc374e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<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="en">
-    <refnamediv>
-        <refname>with_texmacs</refname>
-        <refpurpose>checa se o Scilab foi chamado por TeXmacs</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title> Seqüência de Chamamento </title>
-        <synopsis>r=with_texmacs()</synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Parâmetros</title>
-        <variablelist>
-            <varlistentry>
-                <term>r</term>
-                <listitem>
-                    <para>um booleano</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Descrição</title>
-        <para>
-            Retorna <literal>%t</literal> se o Scilab tiver sido chamado por
-            TeXmacs
-        </para>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/core/help/ru_RU/configuration/with_texmacs.xml b/scilab/modules/core/help/ru_RU/configuration/with_texmacs.xml
deleted file mode 100644 (file)
index 2bc0b16..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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: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">
-    <refnamediv>
-        <refname>with_texmacs</refname>
-        <refpurpose>
-            проверка: вызван ли Scilab TeXmacs'ом. <emphasis role="bold">Эта функция устарела.</emphasis> 
-        </refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Последовательность вызова</title>
-        <synopsis>r = with_texmacs()</synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Аргументы</title>
-        <variablelist>
-            <varlistentry>
-                <term>r</term>
-                <listitem>
-                    <para>логическое значение</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Описание</title>
-        <para>
-            Возвращает <literal>%t</literal>, если Scilab вызван TeXmacs'ом
-            (необходимо установить ATOMS-модуль: <code>atomsInstall('texmacs')</code>)
-        </para>
-    </refsection>
-    <refsection>
-        <title>История</title>
-        <revhistory>
-            <revision>
-                <revnumber>5.4.0</revnumber>
-                <revremark>Эта функция будет удалена в Scilab 5.4.1</revremark>
-            </revision>
-        </revhistory>
-    </refsection>
-    <refsection>
-        <title>Примеры</title>
-        <programlisting role="example"><![CDATA[
-if with_texmacs() == %t then
-   disp("Texmacs доступен");
-else
-   disp("Texmacs не доступен");
-end
- ]]></programlisting>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/core/macros/with_texmacs.sci b/scilab/modules/core/macros/with_texmacs.sci
deleted file mode 100644 (file)
index 3b9c109..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) INRIA
-// 
-// 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-en.txt
-
-function r=with_texmacs()
-  warnobsolete("atomsInstall(''texmacs'')", "5.4.1")
-  r=or(sciargs()=="--texmacs")
-endfunction