Math.lyx: new section about CAS support

Pavel, many thanks for this addition, but please always use cange-tracking if you modify manuals.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36942 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-12-19 03:03:41 +00:00
parent e5fd128200
commit 61eeab7405
5 changed files with 672 additions and 29 deletions

View File

@ -34470,13 +34470,6 @@ Eating From The Right
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Section
@ -34484,11 +34477,27 @@ Computer Algebra Systems
\end_layout
\begin_layout Standard
LyX offers exchange between mathematical expressions written in LyX's math
editor and external applications or user defined scripts.
Currently offered backends are Octave, Maxima, Maple and Mathematica.
Note, however, that the set of supported mathematical constructs is limited
only to very simple cases.
LyX offers the exchange between mathematical expressions written in LyX's
math editor and external applications or user defined scripts.
Currently supported applications are
\family sans
Maple
\family default
,
\family sans
Mathematica
\family default
,
\family sans
Maxima
\family default
and
\family sans
Octave
\family default
.
Note that the set of supported mathematical constructs is limited only
to very simple cases.
\end_layout
\begin_layout Subsection
@ -34496,24 +34505,31 @@ Usage
\end_layout
\begin_layout Standard
Start with entering math mode, write some expression, go to the
Write some expression in a formula, go to the
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Use Computer Algebra System
\family default
menu and choose the application you have installed on the computer.
After the execution the result of computation should show on the right
side of the expression together with
\begin_inset Formula $=$
After that the result of computation should show on the right side of the
expression together with the
\begin_inset Quotes eld
\end_inset
=
\begin_inset Quotes erd
\end_inset
operator.
\end_layout
\begin_layout Standard
Here are few simple examples (results given by Maxima) to give an idea of
computations which can be requested:
Here are few simple examples (with results from
\family typewriter
Maxima
\family default
) to show what kind of computations can be performed:
\end_layout
\begin_layout Itemize
@ -34556,29 +34572,55 @@ Here are few simple examples (results given by Maxima) to give an idea of
\end_layout
\begin_layout Subsection
Tip for the Key Binding
Keyboard shortcut
\end_layout
\begin_layout Standard
Currently there is no keyboard binding for calling the algebra applications.
One can easily bind a shortcut to
Currently there is no keyboard shortcut for calling the algebra applications.
One can easily bind a shortcut to the
\family sans
math-extern
\family default
LyX function (see
LyX function (see the
\family sans
\emph on
LyX Functions
\family default
\emph default
manual).
One could bind also currently unused Enter key inside math editor, but
for this more complicated binding is needed, the particular Maxima case
would look like:
One could e.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space ~
\end_inset
bind the
\family sans
Return
\family default
key inside the math editor.
To bind it to
\family typewriter
Maxima
\family default
one would use this shortcut definition command:
\end_layout
\begin_layout LyX-Code
\begin_layout Standard
\series bold
command-alternatives break-paragraph;math-extern maxima
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Section
Tips
\begin_inset Index idx

View File

@ -1,4 +1,4 @@
#LyX 2.0.0beta2 created this file. For more info see http://www.lyx.org/
#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 410
\begin_document
\begin_header
@ -34527,6 +34527,143 @@ hinzufügen
\end_layout
\begin_layout Section
Computeralgebrasysteme
\end_layout
\begin_layout Standard
Mit LyX ist es möglich, mathematische Ausdrücke mit externen Anwendungen
oder benutzerdefinierten Skripten auszutauschen.
Momentan werden folgende Anwendungen unterstützt:
\family typewriter
Maple
\family default
,
\family typewriter
Mathematica
\family default
,
\family typewriter
Maxima
\family default
und
\family typewriter
Octave
\family default
.
Beachten Sie aber, dass die unterstützten mathematischen Ausdrücke auf
sehr einfache Fälle beschränkt sind.
\end_layout
\begin_layout Subsection
Verwendung
\end_layout
\begin_layout Standard
Schreiben Sie einen Ausdruck in eine Formel, öffnen Sie das Menü
\family sans
Bearbeiten\SpecialChar \menuseparator
Mathe\SpecialChar \menuseparator
Computer-Algebra-System verwenden
\family default
und wählen Sie die Anwendung, die Sie auf ihrem Computer installiert haben.
Danach sollte das Ergebnis der Berechnung auf der rechten Seite zusammen
mit dem
\begin_inset Quotes gld
\end_inset
=
\begin_inset Quotes grd
\end_inset
Operator erscheinen.
\end_layout
\begin_layout Standard
Hier sind ein paar einfache Beispiele (mit Resultaten von
\family typewriter
Maxima
\family default
) um zu zeigen, welche Berechnungen durchgeführt werden können:
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37}{3}*2-\sum_{i=1}^{3}i^{i}=-\frac{22}{3}$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37.0}{3}=12.33333333333333$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\int_{1}^{2}\sin(x)dx=\cos1-\cos2$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\det\left[\begin{array}{ccc}
1 & 6 & 7\\
2 & 5 & 8\\
3 & 4 & 17
\end{array}\right]=-56$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\lim_{x\rightarrow0}\left(\frac{\sin(x)}{x}\right)=1$
\end_inset
\end_layout
\begin_layout Subsection
Tastenkürzel
\end_layout
\begin_layout Standard
Momentan gibt es kein Tastenkürzel um Computeralgebrasysteme aufzurufen.
Sie können aber einfach ein Tastenkürzel mit der LyX-Funktion
\family sans
math-extern
\family default
verknüpfen (siehe das
\emph on
LyX-Funktionen
\emph default
Handbuch).
Man kann z.
\begin_inset space \thinspace{}
\end_inset
B.
die
\family sans
Enter
\family default
-Taste in Formeln verknüpfen.
Um sie mit
\family typewriter
Maxima
\family default
zu verknüpfen, würde man diesen Tastenkürzel-Definitionsbefehl verwenden:
\end_layout
\begin_layout Standard
\series bold
command-alternatives break-paragraph;math-extern maxima
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset

View File

@ -1,4 +1,4 @@
#LyX 2.0.0beta2 created this file. For more info see http://www.lyx.org/
#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 410
\begin_document
\begin_header
@ -35073,6 +35073,160 @@ comiendo desde la derecha
\end_layout
\begin_layout Section
Sistema algebraico computacional
\end_layout
\begin_layout Standard
\lang english
LyX offers the exchange between mathematical expressions written in LyX's
math editor and external applications or user defined scripts.
Currently supported applications are
\family sans
Maple
\family default
,
\family sans
Mathematica
\family default
,
\family sans
Maxima
\family default
and
\family sans
Octave
\family default
.
Note that the set of supported mathematical constructs is limited only
to very simple cases.
\end_layout
\begin_layout Subsection
\lang english
Usage
\end_layout
\begin_layout Standard
\lang english
Write some expression in a formula, go to the
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Use Computer Algebra System
\family default
menu and choose the application you have installed on the computer.
After that the result of computation should show on the right side of the
expression together with the
\begin_inset Quotes eld
\end_inset
=
\begin_inset Quotes erd
\end_inset
operator.
\end_layout
\begin_layout Standard
\lang english
Here are few simple examples (with results from
\family typewriter
Maxima
\family default
) to show what kind of computations can be performed:
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37}{3}*2-\sum_{i=1}^{3}i^{i}=-\frac{22}{3}$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37.0}{3}=12.33333333333333$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\int_{1}^{2}\sin(x)dx=\cos1-\cos2$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\det\left[\begin{array}{ccc}
1 & 6 & 7\\
2 & 5 & 8\\
3 & 4 & 17
\end{array}\right]=-56$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\lim_{x\rightarrow0}\left(\frac{\sin(x)}{x}\right)=1$
\end_inset
\end_layout
\begin_layout Subsection
\lang english
Keyboard shortcut
\end_layout
\begin_layout Standard
\lang english
Currently there is no keyboard shortcut for calling the algebra applications.
One can easily bind a shortcut to the
\family sans
math-extern
\family default
LyX function (see the
\family sans
\emph on
LyX Functions
\family default
\emph default
manual).
One could e.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space ~
\end_inset
bind the
\family sans
Return
\family default
key inside the math editor.
To bind it to
\family typewriter
Maxima
\family default
one would use this shortcut definition command:
\end_layout
\begin_layout Standard
\series bold
command-alternatives break-paragraph;math-extern maxima
\end_layout
\begin_layout Standard
\noindent
\align center

View File

@ -34625,6 +34625,160 @@ droite
\end_layout
\begin_layout Section
Système de calcul formel
\end_layout
\begin_layout Standard
\lang english
LyX offers the exchange between mathematical expressions written in LyX's
math editor and external applications or user defined scripts.
Currently supported applications are
\family sans
Maple
\family default
,
\family sans
Mathematica
\family default
,
\family sans
Maxima
\family default
and
\family sans
Octave
\family default
.
Note that the set of supported mathematical constructs is limited only
to very simple cases.
\end_layout
\begin_layout Subsection
\lang english
Usage
\end_layout
\begin_layout Standard
\lang english
Write some expression in a formula, go to the
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Use Computer Algebra System
\family default
menu and choose the application you have installed on the computer.
After that the result of computation should show on the right side of the
expression together with the
\begin_inset Quotes eld
\end_inset
=
\begin_inset Quotes erd
\end_inset
operator.
\end_layout
\begin_layout Standard
\lang english
Here are few simple examples (with results from
\family typewriter
Maxima
\family default
) to show what kind of computations can be performed:
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37}{3}*2-\sum_{i=1}^{3}i^{i}=-\frac{22}{3}$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37.0}{3}=12.33333333333333$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\int_{1}^{2}\sin(x)dx=\cos1-\cos2$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\det\left[\begin{array}{ccc}
1 & 6 & 7\\
2 & 5 & 8\\
3 & 4 & 17
\end{array}\right]=-56$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\lim_{x\rightarrow0}\left(\frac{\sin(x)}{x}\right)=1$
\end_inset
\end_layout
\begin_layout Subsection
\lang english
Keyboard shortcut
\end_layout
\begin_layout Standard
\lang english
Currently there is no keyboard shortcut for calling the algebra applications.
One can easily bind a shortcut to the
\family sans
math-extern
\family default
LyX function (see the
\family sans
\emph on
LyX Functions
\family default
\emph default
manual).
One could e.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space ~
\end_inset
bind the
\family sans
Return
\family default
key inside the math editor.
To bind it to
\family typewriter
Maxima
\family default
one would use this shortcut definition command:
\end_layout
\begin_layout Standard
\series bold
command-alternatives break-paragraph;math-extern maxima
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset

View File

@ -1,4 +1,4 @@
#LyX 2.0.0beta2 created this file. For more info see http://www.lyx.org/
#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 410
\begin_document
\begin_header
@ -33814,6 +33814,162 @@ status open
\end_layout
\begin_layout Section
\lang english
Computer Algebra Systems
\end_layout
\begin_layout Standard
\lang english
LyX offers the exchange between mathematical expressions written in LyX's
math editor and external applications or user defined scripts.
Currently supported applications are
\family sans
Maple
\family default
,
\family sans
Mathematica
\family default
,
\family sans
Maxima
\family default
and
\family sans
Octave
\family default
.
Note that the set of supported mathematical constructs is limited only
to very simple cases.
\end_layout
\begin_layout Subsection
\lang english
Usage
\end_layout
\begin_layout Standard
\lang english
Write some expression in a formula, go to the
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Use Computer Algebra System
\family default
menu and choose the application you have installed on the computer.
After that the result of computation should show on the right side of the
expression together with the
\begin_inset Quotes eld
\end_inset
=
\begin_inset Quotes erd
\end_inset
operator.
\end_layout
\begin_layout Standard
\lang english
Here are few simple examples (with results from
\family typewriter
Maxima
\family default
) to show what kind of computations can be performed:
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37}{3}*2-\sum_{i=1}^{3}i^{i}=-\frac{22}{3}$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\frac{37.0}{3}=12.33333333333333$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\int_{1}^{2}\sin(x)dx=\cos1-\cos2$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\det\left[\begin{array}{ccc}
1 & 6 & 7\\
2 & 5 & 8\\
3 & 4 & 17
\end{array}\right]=-56$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Formula $\lim_{x\rightarrow0}\left(\frac{\sin(x)}{x}\right)=1$
\end_inset
\end_layout
\begin_layout Subsection
\lang english
Keyboard shortcut
\end_layout
\begin_layout Standard
\lang english
Currently there is no keyboard shortcut for calling the algebra applications.
One can easily bind a shortcut to the
\family sans
math-extern
\family default
LyX function (see the
\family sans
\emph on
LyX Functions
\family default
\emph default
manual).
One could e.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space ~
\end_inset
bind the
\family sans
Return
\family default
key inside the math editor.
To bind it to
\family typewriter
Maxima
\family default
one would use this shortcut definition command:
\end_layout
\begin_layout Standard
\series bold
command-alternatives break-paragraph;math-extern maxima
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset