Remove obsolete code in Math.lyx

These workarounds are no longer necessary because of unicodesymbols
and further they break compilation with XeTeX as well as pdfTeX
with TeX input encoding set to ascii or utf8.

Thanks to Günter Milde for the fix.
This commit is contained in:
Scott Kostyshak 2013-10-06 16:39:52 -04:00
parent 7583a8ce25
commit a19611c573
4 changed files with 0 additions and 916 deletions

View File

@ -30,11 +30,6 @@
\renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
\renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
% To be able to enter the character ° and · directly in LyX,
% see sec. 22.11
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
@ -22944,14 +22939,6 @@ diagdown
\begin_inset VSpace medskip
\end_inset
More symbols are listed in
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Miscellaneous-special-Characters"
\end_inset
.
\end_layout
\begin_layout Standard
@ -27758,218 +27745,6 @@ oldstylenums{0123456789
\end_layout
\begin_layout Subsection
Miscellaneous special Characters
\begin_inset CommandInset label
LatexCommand label
name "sub:Miscellaneous-special-Characters"
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Special characters ! miscellaneous
\end_layout
\end_inset
\end_layout
\begin_layout Standard
The following characters can only be inserted to formulas by using commands:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Command
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Result
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\mathcircumflex$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
_
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\backslash
circ
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\backslash
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $^{\circ}$
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Standard
The degree sign ° can nevertheless be directly inserted if the LaTeX-preamble
contains the following line
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
More about this is described in
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Text-Characters-in"
\end_inset
.
\end_layout
\end_inset
:
\end_layout
\begin_layout Standard
\series bold
\backslash
DeclareInputtext{176}{
\backslash
ifmmode^
\backslash
circ
\backslash
else
\backslash
textdegree
\backslash
fi}
\end_layout
\begin_layout Section
Formula Styles
\begin_inset CommandInset label

View File

@ -32,11 +32,6 @@
\renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
\renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
% Damit die Zeichen ° und · in LyX direkt eingegeben werden können,
% siehe Kap. 22.11
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
% Linkfläche für Querverweise vergrößern und automatisch benennen,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\addto\extrasngerman{%
@ -22946,14 +22941,6 @@ diagdown
\begin_inset VSpace medskip
\end_inset
Weitere Symbole sind in
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Sonstige-Sonderzeichen"
\end_inset
aufgelistet.
\end_layout
\begin_layout Standard
@ -27789,218 +27776,6 @@ oldstylenums{0123456789
\end_layout
\begin_layout Subsection
Sonstige Sonderzeichen
\begin_inset CommandInset label
LatexCommand label
name "sub:Sonstige-Sonderzeichen"
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Sonderzeichen ! sonstige
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Folgende Zeichen können in eine Formel nur mit Befehlen eingegeben werden:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Befehl
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Ergebnis
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\mathcircumflex$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
_
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset
\backslash
circ
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\backslash
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $^{\circ}$
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Standard
Das Gradzeichen ° kann dennoch direkt eingegeben werden, wenn der LaTeX-Vorspann
folgende Zeile enthält
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Mehr dazu ist in
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Textzeichen-in-Formeln"
\end_inset
beschrieben.
\end_layout
\end_inset
:
\end_layout
\begin_layout Standard
\series bold
\backslash
DeclareInputText{176}{
\backslash
ifmmode^
\backslash
circ
\backslash
else
\backslash
textdegree
\backslash
fi}
\end_layout
\begin_layout Section
Formelstile
\begin_inset CommandInset label

View File

@ -32,11 +32,6 @@
\renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
\renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
% To be able to enter the character ° and · directly in LyX,
% see sec. 22.11
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\addto\extrasspanish{%
@ -23010,17 +23005,6 @@ diagdown
\end_layout
\begin_layout Standard
Hay más símbolos en
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Caracteres-especiales-misceláneos"
\end_inset
.
\end_layout
\begin_layout Standard
Algunos símbolos pueden presentarse en distintos tamaños, véase
\begin_inset CommandInset ref
@ -28185,229 +28169,6 @@ oldstylenums{0123456789}
\end_inset
\end_layout
\begin_layout Subsection
Caracteres especiales misceláneos
\begin_inset CommandInset label
LatexCommand label
name "sub:Caracteres-especiales-misceláneos"
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Caracteres especiales ! misceláneos
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Los siguientes caracteres sólo pueden insertarse en ecuaciones mediante
comandos:
\end_layout
\begin_layout Standard
\noindent
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Comando
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Resultado
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\mathcircumflex$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
_
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\backslash
circ
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\backslash
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $^{\circ}$
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Standard
El símbolo grado ° puede no obstante insertarse directamente si el preámbulo
LaTeX contiene la línea:
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Más sobre este asunto en
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Caracteres-de-texto"
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\series bold
\backslash
DeclareInputtext{176}{
\backslash
ifmmode^
\backslash
circ
\backslash
else
\backslash
textdegree
\backslash
fi}
\end_layout
\begin_layout Standard
\noindent
\align center
\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Section

View File

@ -32,11 +32,6 @@
\renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
\renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
% To be able to enter the character ° and · directly in LyX,
% see sec. 22.11
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\addto\extrasfrench{%
@ -480,7 +475,6 @@ target "ftp://ftp.ams.org/pub/tex/doc/amstex/amsguide.pdf"
\end_inset
\family default
, qui est inclus dans toutes les installations LaTeX standard.
\end_layout
@ -22949,14 +22943,6 @@ diagdown
\begin_inset VSpace medskip
\end_inset
D'autres symboles sont listés dans
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Caractères-spéciaux-divers"
\end_inset
.
\end_layout
\begin_layout Standard
@ -27789,219 +27775,6 @@ oldstylenums{0123456789
\end_layout
\begin_layout Subsection
Caractères spéciaux divers
\begin_inset CommandInset label
LatexCommand label
name "sub:Caractères-spéciaux-divers"
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Caractères spéciaux ! divers
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Les caractères suivants ne peuvent être insérés que dans des formules en
utilisant les commandes suivantes:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Commande
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Résultat
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\mathcircumflex$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
_
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
^
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\backslash
circ
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\backslash
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $^{\circ}$
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Standard
Le symbole degré ° peut être inséré directement à condition que le préambule
LaTeX contienne la ligne suivante
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Plus d'information à ce sujet dans
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Caractères-texte"
\end_inset
.
\end_layout
\end_inset
:
\end_layout
\begin_layout Standard
\series bold
\backslash
DeclareInputtext{176}{
\backslash
ifmmode^
\backslash
circ
\backslash
else
\backslash
textdegree
\backslash
fi}
\end_layout
\begin_layout Section
Styles de formules
\begin_inset CommandInset label