mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
Math.lyx: this manual can now also be compiled when mhchem is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31996 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
584bca0fe8
commit
92a489b91d
@ -128,21 +128,28 @@
|
||||
\setboolean{eurosym}{true}}
|
||||
{\setboolean{eurosym}{false}}
|
||||
|
||||
% needed in sec. 22.4
|
||||
% check for package braket
|
||||
% used for physical vectors
|
||||
\newboolean{braket}
|
||||
\IfFileExists{braket.sty}
|
||||
{\usepackage{braket}
|
||||
\setboolean{braket}{true}}
|
||||
{\setboolean{braket}{false}}
|
||||
|
||||
% needed in sec. 22.10
|
||||
% check for package upgreek
|
||||
\newboolean{upgreek}
|
||||
\IfFileExists{upgreek.sty}
|
||||
{\usepackage{upgreek}
|
||||
\setboolean{upgreek}{true}}
|
||||
{\setboolean{upgreek}{false}}
|
||||
|
||||
% check for package mhchem
|
||||
% used for chemical equations
|
||||
\newboolean{mhchem}
|
||||
\IfFileExists{mhchem.sty}
|
||||
{\usepackage{mhchem}
|
||||
\setboolean{mhchem}{true}}
|
||||
{\setboolean{mhchem}{false}}
|
||||
\end_preamble
|
||||
\options bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
|
||||
\use_default_options false
|
||||
@ -31173,7 +31180,34 @@ Packages ! mhchem
|
||||
\end_inset
|
||||
|
||||
is installed.
|
||||
After inserting
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
ifmhchem
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
The following will only be displayed when the LaTeX-package
|
||||
\series bold
|
||||
mhchem
|
||||
\series default
|
||||
is installed:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
After inserting
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
@ -31933,6 +31967,60 @@ key "mhchem"
|
||||
.
|
||||
\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
|
||||
mhchem
|
||||
\series default
|
||||
is not installed:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
You need to install the package
|
||||
\series bold
|
||||
mhchem
|
||||
\series default
|
||||
to see the content of this section 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 Section
|
||||
Diagrams
|
||||
\end_layout
|
||||
@ -36033,7 +36121,7 @@ The following table will only be displayed when the LaTeX-package
|
||||
\series bold
|
||||
upgreek
|
||||
\series default
|
||||
is installed.
|
||||
is installed:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
@ -133,15 +133,14 @@
|
||||
\setboolean{eurosym}{true}}
|
||||
{\setboolean{eurosym}{false}}
|
||||
|
||||
% benutzt in Kap. 22.4
|
||||
% testen ob Paket braket installiert ist
|
||||
% benötigt für physikalische Vektoren
|
||||
\newboolean{braket}
|
||||
\IfFileExists{braket.sty}
|
||||
{\usepackage{braket}
|
||||
\setboolean{braket}{true}}
|
||||
{\setboolean{braket}{false}}
|
||||
|
||||
% benutzt in Kap. 22.10
|
||||
% testen ob Paket upgreek installiert ist
|
||||
\newboolean{upgreek}
|
||||
\IfFileExists{upgreek.sty}
|
||||
@ -149,6 +148,14 @@
|
||||
\setboolean{upgreek}{true}}
|
||||
{\setboolean{upgreek}{false}}
|
||||
|
||||
% testen ob Paket mhchem installiert ist
|
||||
% benötigt für chemische Formeln
|
||||
\newboolean{mhchem}
|
||||
\IfFileExists{mhchem.sty}
|
||||
{\usepackage{mhchem}
|
||||
\setboolean{mhchem}{true}}
|
||||
{\setboolean{mhchem}{false}}
|
||||
|
||||
% benötigt für Kommas in Formeln, siehe Kap. 22.3
|
||||
\IfFileExists{icomma.sty}
|
||||
{\usepackage{icomma}}{}
|
||||
@ -31163,6 +31170,33 @@ Pakete ! mhchem
|
||||
\end_inset
|
||||
|
||||
installiert ist.
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
ifmhchem
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Das Folgende erscheint nur im Ausdruck wenn das LaTeX-Paket
|
||||
\series bold
|
||||
mhchem
|
||||
\series default
|
||||
installiert ist:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Nachdem
|
||||
\series bold
|
||||
|
||||
@ -31948,6 +31982,60 @@ key "mhchem"
|
||||
.
|
||||
\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
|
||||
mhchem
|
||||
\series default
|
||||
nicht installiert ist:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Das LaTeX-Paket
|
||||
\series bold
|
||||
mhchem
|
||||
\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
|
||||
Diagramme
|
||||
\end_layout
|
||||
@ -36028,7 +36116,7 @@ ifupgreek
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Die folgende Tabelle erscheint nur im Ausdruck wenn das LaTeX-Paket
|
||||
Das Folgende erscheint nur im Ausdruck wenn das LaTeX-Paket
|
||||
\series bold
|
||||
upgreek
|
||||
\series default
|
||||
|
@ -128,21 +128,28 @@
|
||||
\setboolean{eurosym}{true}}
|
||||
{\setboolean{eurosym}{false}}
|
||||
|
||||
% needed in sec. 22.4
|
||||
% check for package braket
|
||||
% used for physical vectors
|
||||
\newboolean{braket}
|
||||
\IfFileExists{braket.sty}
|
||||
{\usepackage{braket}
|
||||
\setboolean{braket}{true}}
|
||||
{\setboolean{braket}{false}}
|
||||
|
||||
% needed in sec. 22.10
|
||||
% check for package upgreek
|
||||
\newboolean{upgreek}
|
||||
\IfFileExists{upgreek.sty}
|
||||
{\usepackage{upgreek}
|
||||
\setboolean{upgreek}{true}}
|
||||
{\setboolean{upgreek}{false}}
|
||||
|
||||
% check for package mhchem
|
||||
% used for chemical equations
|
||||
\newboolean{mhchem}
|
||||
\IfFileExists{mhchem.sty}
|
||||
{\usepackage{mhchem}
|
||||
\setboolean{mhchem}{true}}
|
||||
{\setboolean{mhchem}{false}}
|
||||
\end_preamble
|
||||
\options bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
|
||||
\use_default_options false
|
||||
@ -31734,7 +31741,34 @@ Paquetes ! mhchem
|
||||
\end_inset
|
||||
|
||||
.
|
||||
Al insertar
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
ifmhchem
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Lo siguiente sólo se podrá ver si está instalado el paquete LaTeX
|
||||
\series bold
|
||||
mhchem
|
||||
\series default
|
||||
:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Al insertar
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
@ -32492,6 +32526,60 @@ key "mhchem"
|
||||
.
|
||||
\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
|
||||
Lo que sigue se verá en la salida si el paquete LaTeX
|
||||
\series bold
|
||||
mhchem
|
||||
\series default
|
||||
no está instalado:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Debes instalar el paquete LaTeX
|
||||
\series bold
|
||||
mhchem
|
||||
\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 Section
|
||||
Diagramas
|
||||
\end_layout
|
||||
@ -34922,7 +35010,7 @@ ifbraket
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
La tabla siguiente sólo se mostrará en la salida si el paquete LaTeX
|
||||
@ -35088,7 +35176,7 @@ else
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Lo que sigue se verá en la salida si el paquete LaTeX
|
||||
@ -36557,15 +36645,14 @@ ifupgreek
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
La tabla siguiente sólo se podrá ver si está instalado el paquete LaTeX
|
||||
|
||||
Lo siguinente sólo se podrá ver si está instalado el paquete LaTeX
|
||||
\series bold
|
||||
upgreek
|
||||
\series default
|
||||
.
|
||||
:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -36627,7 +36714,7 @@ else
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Lo siguiente se mostrará si el paquete LaTeX
|
||||
|
@ -129,15 +129,14 @@
|
||||
\setboolean{eurosym}{true}}
|
||||
{\setboolean{eurosym}{false}}
|
||||
|
||||
% needed in sec. 22.4
|
||||
% check for package braket
|
||||
% used for physical vectors
|
||||
\newboolean{braket}
|
||||
\IfFileExists{braket.sty}
|
||||
{\usepackage{braket}
|
||||
\setboolean{braket}{true}}
|
||||
{\setboolean{braket}{false}}
|
||||
|
||||
% needed in sec. 22.10
|
||||
% check for package upgreek
|
||||
\newboolean{upgreek}
|
||||
\IfFileExists{upgreek.sty}
|
||||
@ -145,6 +144,14 @@
|
||||
\setboolean{upgreek}{true}}
|
||||
{\setboolean{upgreek}{false}}
|
||||
|
||||
% check for package mhchem
|
||||
% used for chemical equations
|
||||
\newboolean{mhchem}
|
||||
\IfFileExists{mhchem.sty}
|
||||
{\usepackage{mhchem}
|
||||
\setboolean{mhchem}{true}}
|
||||
{\setboolean{mhchem}{false}}
|
||||
|
||||
% use normal list environments also in French documents
|
||||
\StandardLayout
|
||||
\end_preamble
|
||||
@ -31069,7 +31076,34 @@ Paquetages ! mhchem
|
||||
\end_inset
|
||||
|
||||
est installé.
|
||||
Quand on insère
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
ifmhchem
|
||||
\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
|
||||
mhchem
|
||||
\series default
|
||||
est installé:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Quand on insère
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
@ -31580,8 +31614,6 @@ spce
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
@ -31842,6 +31874,60 @@ key "mhchem"
|
||||
.
|
||||
\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
|
||||
mhchem
|
||||
\series default
|
||||
n'est pas installé:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Vous avez besoin du paquetage LaTeX
|
||||
\series bold
|
||||
mhchem
|
||||
\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
|
||||
\begin_inset Newpage newpage
|
||||
\end_inset
|
||||
@ -34489,7 +34575,7 @@ Ce qui suit ne sera affiché que si le paquetage LaTeX
|
||||
\series bold
|
||||
braket
|
||||
\series default
|
||||
est installé
|
||||
est installé:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -36155,7 +36241,7 @@ Ce qui suit ne sera affiché que si le paquetage LaTeX
|
||||
\series bold
|
||||
upgreek
|
||||
\series default
|
||||
est installé
|
||||
est installé:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
Loading…
Reference in New Issue
Block a user