summaryrefslogtreecommitdiffstats
path: root/scilab/modules/texmacs
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-02-08 09:35:31 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-02-08 09:35:31 +0100
commit1500b1fde3f723e5fc76f182a790dc31a89fc5ad (patch)
tree23cea32688e222a5b82f4138a4ee76a8fa7b458f /scilab/modules/texmacs
parent506ee2396e12c737e9484ce6aedf6b99c3b1e0f7 (diff)
downloadscilab-1500b1fde3f723e5fc76f182a790dc31a89fc5ad.zip
scilab-1500b1fde3f723e5fc76f182a790dc31a89fc5ad.tar.gz
remove obsolete function pol2tex
Diffstat (limited to 'scilab/modules/texmacs')
-rw-r--r--scilab/modules/texmacs/help/en_US/pol2tex.xml65
-rw-r--r--scilab/modules/texmacs/macros/pol2tex.sci17
2 files changed, 0 insertions, 82 deletions
diff --git a/scilab/modules/texmacs/help/en_US/pol2tex.xml b/scilab/modules/texmacs/help/en_US/pol2tex.xml
deleted file mode 100644
index e158151..0000000
--- a/scilab/modules/texmacs/help/en_US/pol2tex.xml
+++ /dev/null
@@ -1,65 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<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" version="5.0-subset Scilab" xml:lang="en" xml:id="pol2tex">
14 <info>
15 <pubdate>$LastChangedDate$</pubdate>
16 </info>
17 <refnamediv>
18 <refname>pol2tex</refname>
19 <refpurpose> convert polynomial to TeX format. This function is obsolete and will be removed in Scilab 5.3. Please use <link linkend="prettyprint">prettyprint</link></refpurpose>
20 </refnamediv>
21 <refsynopsisdiv>
22 <title>Calling Sequence</title>
23 <synopsis>[y]=pol2tex(x)</synopsis>
24 </refsynopsisdiv>
25 <refsection>
26 <title>Parameters</title>
27 <variablelist>
28 <varlistentry>
29 <term>x</term>
30 <listitem>
31 <para>polynomial</para>
32 </listitem>
33 </varlistentry>
34 <varlistentry>
35 <term>y</term>
36 <listitem>
37 <para>list</para>
38 </listitem>
39 </varlistentry>
40 </variablelist>
41 </refsection>
42 <refsection>
43 <title>Description</title>
44 <para>
45 Latex source code for the polynomial <literal>x</literal>.
46 (For use with <literal>texprint</literal>)</para>
47<para>This function is obsolete and will be removed in Scilab 5.3. Please use <link linkend="prettyprint">prettyprint</link></para>
48 </refsection>
49 <refsection>
50 <title>Examples</title>
51 <programlisting role="example"><![CDATA[
52s=poly(0,'s');
53p=s^3+2*s-5;
54pol2tex(p)
55 ]]></programlisting>
56 </refsection>
57 <refsection>
58 <title>See Also</title>
59 <simplelist type="inline">
60 <member>
61 <link linkend="prettyprint">prettyprint</link>
62 </member>
63 </simplelist>
64 </refsection>
65</refentry>
diff --git a/scilab/modules/texmacs/macros/pol2tex.sci b/scilab/modules/texmacs/macros/pol2tex.sci
deleted file mode 100644
index 225804f..0000000
--- a/scilab/modules/texmacs/macros/pol2tex.sci
+++ /dev/null
@@ -1,17 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 1989 - INRIA - Serge STEER
3// Copyright (C) INRIA
4// Copyright (C) DIGITEO - 2009 - Sylvestre LEDRU (tag this function as obsolete)
5//
6// This file must be used under the terms of the CeCILL.
7// This source file is licensed as described in the file COPYING, which
8// you should have received as part of this distribution. The terms
9// are also available at
10// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11
12function [tt]=pol2tex(a)
13
14 warnobsolete("prettyprint","5.3");
15 tt=prettyprint(a,"tex");
16
17endfunction