From c3530d67bb9283b528d0ccbba591b31aa0701d7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Tue, 31 Mar 2009 01:00:51 +0000 Subject: [PATCH] Math.lyx: add workaround that this manual can be compiled also without having the package xargs installed (several users struggled about that) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28985 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Math.lyx | 109 ++++++++++++++++++++++++++- lib/doc/de/Math.lyx | 94 ++++++++++++++++++++++- lib/doc/es/Math.lyx | 94 ++++++++++++++++++++++- lib/doc/fr/Math.lyx | 178 +++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 469 insertions(+), 6 deletions(-) diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index e0ba46107a..29ffcdeb84 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -1,4 +1,4 @@ -#LyX 1.6.2 created this file. For more info see http://www.lyx.org/ +#LyX 1.6.3svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header @@ -125,6 +125,14 @@ \setboolean{eurosym}{true}} {\setboolean{eurosym}{false}} +% needed for math macros +% check for package xargs +\newboolean{xargs} +\IfFileExists{xargs.sty} + {\usepackage{xargs} + \setboolean{xargs}{true}} + {\setboolean{xargs}{false}} + % needed in sec. 22.4 % check for package braket \newboolean{braket} @@ -31841,6 +31849,47 @@ newcommand . \end_layout +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifxargs +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following table will only be displayed when the LaTeX-package +\series bold +xargs +\series default + is installed. +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +xargs is default since TeXLive 2008, so this construct here can be deleted + when TeXLive 2009 is out. +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard A math macro is created by using the menu \family sans @@ -32218,7 +32267,7 @@ Macro \end_inset Definition\SpecialChar \menuseparator -Remove Argument +Remove Last Argument \end_layout \end_inset @@ -32254,7 +32303,7 @@ Macro \end_inset Definition\SpecialChar \menuseparator -Append Last Argument +Append Argument \end_layout \end_inset @@ -32692,6 +32741,60 @@ Eating From The Right \end_inset +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following will be displayed when the LaTeX-package +\series bold +xargs +\series default + is not installed: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You need to install the LaTeX-package +\series bold +xargs +\series default + to see the rest of this subsection in the output. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + \end_layout \begin_layout Standard diff --git a/lib/doc/de/Math.lyx b/lib/doc/de/Math.lyx index 1074d9b2d0..ddd0fff08e 100644 --- a/lib/doc/de/Math.lyx +++ b/lib/doc/de/Math.lyx @@ -1,4 +1,4 @@ -#LyX 1.6.2 created this file. For more info see http://www.lyx.org/ +#LyX 1.6.3svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header @@ -130,6 +130,14 @@ \setboolean{eurosym}{true}} {\setboolean{eurosym}{false}} +% wird für Mathe-Makros benötigt +% testen ob Paket xargs installiert ist +\newboolean{xargs} +\IfFileExists{xargs.sty} + {\usepackage{xargs} + \setboolean{xargs}{true}} + {\setboolean{xargs}{false}} + % benutzt in Kap. 22.4 % testen ob Paket braket installiert ist \newboolean{braket} @@ -31884,6 +31892,36 @@ newcommand zu verwenden. \end_layout +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifxargs +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Die folgende Tabelle erscheint nur im Ausdruck wenn das LaTeX-Paket +\series bold +xargs +\series default + installiert ist: +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard Ein Mathe-Makro wird erstellt, indem man das Menü \family sans @@ -32670,6 +32708,60 @@ hinzufügen \end_inset +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Folgendes erscheint im Ausdruck wenn das LaTeX-Paket +\series bold +xargs +\series default + nicht installiert ist: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Das LaTeX-Paket +\series bold +xargs +\series default +muss installiert sein, um den Rest dieses Abschnitts im Ausdruck zu sehen. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + \end_layout \begin_layout Section diff --git a/lib/doc/es/Math.lyx b/lib/doc/es/Math.lyx index e07e5cc0d3..92e342722e 100644 --- a/lib/doc/es/Math.lyx +++ b/lib/doc/es/Math.lyx @@ -1,4 +1,4 @@ -#LyX 1.6.2 created this file. For more info see http://www.lyx.org/ +#LyX 1.6.3svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header @@ -125,6 +125,14 @@ \setboolean{eurosym}{true}} {\setboolean{eurosym}{false}} +% needed for math macros +% check for package xargs +\newboolean{xargs} +\IfFileExists{xargs.sty} + {\usepackage{xargs} + \setboolean{xargs}{true}} + {\setboolean{xargs}{false}} + % needed in sec. 22.4 % check for package braket \newboolean{braket} @@ -32356,6 +32364,36 @@ newcommand . \end_layout +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifxargs +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +La tabla siguiente sólo se mostrará en la salida si el paquete LaTeX +\series bold +xargs +\series default + está instalado. +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard Una macro de ecuación se crea con el menú \family sans @@ -33148,6 +33186,60 @@ comiendo desde la derecha \end_inset +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +Lo que sigue se verá en la salida si el paquete LaTeX +\series bold +xargs +\series default + no está instalado: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Debes instalar el paquete LaTeX +\series bold +xargs +\series default + para ver en la salida el resto de esta subsección. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + \end_layout \begin_layout Standard diff --git a/lib/doc/fr/Math.lyx b/lib/doc/fr/Math.lyx index b2f1705cc4..978422bab4 100644 --- a/lib/doc/fr/Math.lyx +++ b/lib/doc/fr/Math.lyx @@ -1,4 +1,4 @@ -#LyX 1.6.2 created this file. For more info see http://www.lyx.org/ +#LyX 1.6.3svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header @@ -126,6 +126,14 @@ \setboolean{eurosym}{true}} {\setboolean{eurosym}{false}} +% needed for math macros +% check for package xargs +\newboolean{xargs} +\IfFileExists{xargs.sty} + {\usepackage{xargs} + \setboolean{xargs}{true}} + {\setboolean{xargs}{false}} + % needed in sec. 22.4 % check for package braket \newboolean{braket} @@ -31765,6 +31773,36 @@ newcommand . \end_layout +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifxargs +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Ce qui suit ne sera affiché que si le paquetage LaTeX +\series bold +xargs +\series default + est installé +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard Une macro est créée en utilisant le menu \family sans @@ -32794,6 +32832,60 @@ droite \end_inset +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Ce qui suit sera affiché si la paquetage LaTeX +\series bold +xargs +\series default + n'est pas installé: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Vous avez besoin du paquetage LaTeX +\series bold +xargs +\series default + pour voir le reste de cette sous section dans la sortie finale. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -33621,6 +33713,36 @@ Paquetages ! braket usepackage{braket} \end_layout +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifbraket +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Ce qui suit ne sera affiché que si le paquetage LaTeX +\series bold +braket +\series default + est installé +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard Les commandes suivantes sont définies: \end_layout @@ -33757,6 +33879,60 @@ Braket \end_inset +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Ce qui suit sera affiché si la paquetage LaTeX +\series bold +braket +\series default + n'est pas installé: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Vous avez besoin du paquetage LaTeX +\series bold +braket +\series default + pour voir le reste de cette sous section dans la sortie finale. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + \end_layout \begin_layout Standard -- 2.39.2