mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Fix incompatibility of covington and beamer.
Candidate for stable.
This commit is contained in:
parent
26c0bb9bea
commit
b3ce60c96f
@ -218,10 +218,6 @@ key "covington"
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
: Dieses Paket wird benötigt, um nummerierte Beispiele und Glossen zu erzeugen.
|
: Dieses Paket wird benötigt, um nummerierte Beispiele und Glossen zu erzeugen.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -255,10 +251,6 @@ convington
|
|||||||
selbst nicht unterstützt).
|
selbst nicht unterstützt).
|
||||||
Das Paket ist darüber hinaus aber auch generell nützlich, um das Aussehen
|
Das Paket ist darüber hinaus aber auch generell nützlich, um das Aussehen
|
||||||
von Listen (Aufzählungen, Auflistungen, Beschreibungen) anzupassen.
|
von Listen (Aufzählungen, Auflistungen, Beschreibungen) anzupassen.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -292,10 +284,6 @@ Bedeutung
|
|||||||
.
|
.
|
||||||
Das Paket erlaubt es, kontextsensible Anführungszeichen zu generieren (bspw.
|
Das Paket erlaubt es, kontextsensible Anführungszeichen zu generieren (bspw.
|
||||||
je nach aktuell verwendeter Sprache).
|
je nach aktuell verwendeter Sprache).
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -325,10 +313,6 @@ key "float"
|
|||||||
: Dieses Paket brauchen wir für die OT-Tableaux und das Tableaux-Verzeichnis.
|
: Dieses Paket brauchen wir für die OT-Tableaux und das Tableaux-Verzeichnis.
|
||||||
Es sollte Bestandteil jeder \SpecialChar LaTeX
|
Es sollte Bestandteil jeder \SpecialChar LaTeX
|
||||||
-Distribution sein.
|
-Distribution sein.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -356,10 +340,6 @@ key "forest"
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
: Dieses Paket wird zur Erzeugung von Strukturbäumen verwendet.
|
: Dieses Paket wird zur Erzeugung von Strukturbäumen verwendet.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -744,10 +724,6 @@ Einstellungen\SpecialChar ldots
|
|||||||
-Vorspann
|
-Vorspann
|
||||||
\family default
|
\family default
|
||||||
kopieren:
|
kopieren:
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Quote
|
\begin_layout Quote
|
||||||
@ -930,7 +906,25 @@ Glossen (und Beispiele) in Beamer-Präsentationen
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Leider arbeiten das Paket
|
Wenn Sie das Linguistik-Modul in einer Beamer-Präsentation verwenden wollen,
|
||||||
|
beachten Sie bitte folgendes:
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Itemize
|
||||||
|
Für Glossen müssen Sie in Beamer immer einen
|
||||||
|
\begin_inset Quotes gld
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
fragilen
|
||||||
|
\begin_inset Quotes grd
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
Rahmen verwenden.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Itemize
|
||||||
|
Ältere Versionen des Pakets
|
||||||
\emph on
|
\emph on
|
||||||
covington
|
covington
|
||||||
\emph default
|
\emph default
|
||||||
@ -938,7 +932,7 @@ covington
|
|||||||
\emph on
|
\emph on
|
||||||
Beamer
|
Beamer
|
||||||
\emph default
|
\emph default
|
||||||
-Klasse von Haus aus nicht gut zusammen, da beide die Befehle
|
-Klasse arbeiten von Haus aus nicht gut zusammen, da beide die Befehle
|
||||||
\family typewriter
|
\family typewriter
|
||||||
|
|
||||||
\backslash
|
\backslash
|
||||||
@ -950,8 +944,9 @@ example
|
|||||||
\backslash
|
\backslash
|
||||||
examples
|
examples
|
||||||
\family default
|
\family default
|
||||||
zu definieren versuchen, was eine \SpecialChar LaTeX
|
zu definieren versuchen, was in diesen älteren Versionen eine \SpecialChar LaTeX
|
||||||
-Fehlermeldung erzeugt.
|
-Fehlermeldung
|
||||||
|
erzeugt, sobald sie Glossen oder Beispiele einfügen.
|
||||||
Sie können das Problem beheben, indem Sie in
|
Sie können das Problem beheben, indem Sie in
|
||||||
\family sans
|
\family sans
|
||||||
Dokument\SpecialChar menuseparator
|
Dokument\SpecialChar menuseparator
|
||||||
@ -961,6 +956,7 @@ Lokales Format
|
|||||||
folgenden Code kopieren:
|
folgenden Code kopieren:
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_deeper
|
||||||
\begin_layout Quote
|
\begin_layout Quote
|
||||||
\begin_inset listings
|
\begin_inset listings
|
||||||
lstparams "basicstyle={\footnotesize\ttfamily},tabsize=4"
|
lstparams "basicstyle={\footnotesize\ttfamily},tabsize=4"
|
||||||
@ -1062,18 +1058,14 @@ OK
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Beachten Sie auch, dass Sie für Glossen in Beamer einen
|
Ab
|
||||||
\begin_inset Quotes gld
|
\emph on
|
||||||
\end_inset
|
covington
|
||||||
|
\emph default
|
||||||
fragilen
|
1.1 besteht dieses Problem nicht mehr.
|
||||||
\begin_inset Quotes grd
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
Rahmen verwenden müssen.
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\end_deeper
|
||||||
\begin_layout Section
|
\begin_layout Section
|
||||||
Tableaux für Optimalitätstheorie
|
Tableaux für Optimalitätstheorie
|
||||||
\end_layout
|
\end_layout
|
||||||
@ -1982,7 +1974,7 @@ Es fehlt ein Symbol: der (2005 in das IPA aufgenommene) labiodentale Flap.
|
|||||||
\emph on
|
\emph on
|
||||||
Tipa-
|
Tipa-
|
||||||
\emph default
|
\emph default
|
||||||
Pakete noch nicht; daher kann es auch nicht von LyX unterstützt werden.
|
Paket noch nicht; daher kann es auch nicht von LyX unterstützt werden.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
@ -210,10 +210,6 @@ key "covington"
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
: This is the base package used for numbered examples and glosses.
|
: This is the base package used for numbered examples and glosses.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -254,10 +250,6 @@ itemize
|
|||||||
description
|
description
|
||||||
\emph default
|
\emph default
|
||||||
).
|
).
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -291,10 +283,6 @@ Meaning
|
|||||||
character style.
|
character style.
|
||||||
The package provides context sensitive quotation marks, depending on the
|
The package provides context sensitive quotation marks, depending on the
|
||||||
language in use.
|
language in use.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -324,10 +312,6 @@ key "float"
|
|||||||
: Needed for the OT tableaux floats and list of floats.
|
: Needed for the OT tableaux floats and list of floats.
|
||||||
This package should be part of any \SpecialChar LaTeX
|
This package should be part of any \SpecialChar LaTeX
|
||||||
distribution.
|
distribution.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -355,10 +339,6 @@ key "forest"
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
: This package is used to generate structure trees.
|
: This package is used to generate structure trees.
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_deeper
|
\begin_deeper
|
||||||
@ -745,10 +725,6 @@ Settings\SpecialChar menuseparator
|
|||||||
LaTeX Preamble
|
LaTeX Preamble
|
||||||
\family default
|
\family default
|
||||||
:
|
:
|
||||||
\begin_inset Separator latexpar
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Quote
|
\begin_layout Quote
|
||||||
@ -933,16 +909,48 @@ Using Glosses (and Examples) in a Beamer Presentation
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
The
|
If you use the linguistics module with
|
||||||
\emph on
|
|
||||||
covington
|
|
||||||
\emph default
|
|
||||||
package and the
|
|
||||||
\emph on
|
\emph on
|
||||||
beamer
|
beamer
|
||||||
\emph default
|
\emph default
|
||||||
class do not work together out of the box, since they both try to define
|
presentations, there are some caveats:
|
||||||
the commands
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Itemize
|
||||||
|
If you want to use glosses in
|
||||||
|
\emph on
|
||||||
|
beamer
|
||||||
|
\emph default
|
||||||
|
, you need to put it in a
|
||||||
|
\begin_inset Quotes eld
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
fragile
|
||||||
|
\begin_inset Quotes erd
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
frame.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Itemize
|
||||||
|
Older versions of the
|
||||||
|
\emph on
|
||||||
|
covington
|
||||||
|
\emph default
|
||||||
|
package (before version 1.1) do not play with the
|
||||||
|
\emph on
|
||||||
|
beamer
|
||||||
|
\emph default
|
||||||
|
class out of the box, since both
|
||||||
|
\emph on
|
||||||
|
beamer
|
||||||
|
\emph default
|
||||||
|
and
|
||||||
|
\emph on
|
||||||
|
covington
|
||||||
|
\emph default
|
||||||
|
try to define the commands
|
||||||
\family typewriter
|
\family typewriter
|
||||||
|
|
||||||
\backslash
|
\backslash
|
||||||
@ -954,9 +962,14 @@ example
|
|||||||
\backslash
|
\backslash
|
||||||
examples
|
examples
|
||||||
\family default
|
\family default
|
||||||
, which results in a \SpecialChar LaTeX
|
.
|
||||||
|
In these older versions of
|
||||||
|
\emph on
|
||||||
|
covington
|
||||||
|
\emph default
|
||||||
|
, this results in a \SpecialChar LaTeX
|
||||||
error.
|
error.
|
||||||
You can work around the problem by inserting the following code in
|
You can work around this problem by inserting the following code in
|
||||||
\family sans
|
\family sans
|
||||||
Document\SpecialChar menuseparator
|
Document\SpecialChar menuseparator
|
||||||
Settings\SpecialChar menuseparator
|
Settings\SpecialChar menuseparator
|
||||||
@ -965,6 +978,7 @@ Local Layout
|
|||||||
:
|
:
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_deeper
|
||||||
\begin_layout Quote
|
\begin_layout Quote
|
||||||
\begin_inset listings
|
\begin_inset listings
|
||||||
lstparams "basicstyle={\footnotesize\ttfamily},tabsize=4"
|
lstparams "basicstyle={\footnotesize\ttfamily},tabsize=4"
|
||||||
@ -1060,27 +1074,48 @@ OK
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
.
|
.
|
||||||
This effectively defuncts beamer's example(s) environment in favour of
|
This effectively defuncts
|
||||||
covington's.
|
\emph on
|
||||||
|
beamer's
|
||||||
|
\emph default
|
||||||
|
example(s) environment in favor of
|
||||||
|
\emph on
|
||||||
|
covington's
|
||||||
|
\emph default
|
||||||
|
(i.
|
||||||
|
\begin_inset space \thinspace{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
e., you can use the
|
||||||
|
\family sans
|
||||||
|
Numbered Example
|
||||||
|
\family default
|
||||||
|
styles, but not
|
||||||
|
\emph on
|
||||||
|
beamer's
|
||||||
|
\emph default
|
||||||
|
|
||||||
|
\family sans
|
||||||
|
Example
|
||||||
|
\family default
|
||||||
|
and
|
||||||
|
\family sans
|
||||||
|
Examples
|
||||||
|
\family default
|
||||||
|
).
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Furthermore, if you want to use glosses in
|
As of v.
|
||||||
|
1.1 of
|
||||||
\emph on
|
\emph on
|
||||||
beamer
|
covington
|
||||||
\emph default
|
\emph default
|
||||||
, you need to put it in a
|
, this problem is solved.
|
||||||
\begin_inset Quotes eld
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
fragile
|
|
||||||
\begin_inset Quotes erd
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
frame.
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\end_deeper
|
||||||
\begin_layout Section
|
\begin_layout Section
|
||||||
Optimality Theory Tableaux
|
Optimality Theory Tableaux
|
||||||
\end_layout
|
\end_layout
|
||||||
|
@ -12,7 +12,7 @@ Format 60
|
|||||||
# single numbered example with covington.sty
|
# single numbered example with covington.sty
|
||||||
Style Numbered_Example_(multiline)
|
Style Numbered_Example_(multiline)
|
||||||
LatexType Environment
|
LatexType Environment
|
||||||
LatexName example
|
LatexName covexample
|
||||||
NextNoIndent 1
|
NextNoIndent 1
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LabelSep xx
|
LabelSep xx
|
||||||
@ -30,6 +30,13 @@ Style Numbered_Example_(multiline)
|
|||||||
Color Blue
|
Color Blue
|
||||||
EndFont
|
EndFont
|
||||||
Requires covington
|
Requires covington
|
||||||
|
Preamble
|
||||||
|
% Backwards compatibility with covington < 1.1
|
||||||
|
% This code can be removed eventually
|
||||||
|
\@ifundefined{covexample}{%
|
||||||
|
\newenvironment{covexample}{\begin{example}}{\end{example}}%
|
||||||
|
}
|
||||||
|
EndPreamble
|
||||||
Category Linguistics
|
Category Linguistics
|
||||||
End
|
End
|
||||||
|
|
||||||
@ -38,12 +45,19 @@ End
|
|||||||
Style Numbered_Examples_(consecutive)
|
Style Numbered_Examples_(consecutive)
|
||||||
CopyStyle Numbered_Example_(multiline)
|
CopyStyle Numbered_Example_(multiline)
|
||||||
LatexType Item_Environment
|
LatexType Item_Environment
|
||||||
LatexName examples
|
LatexName covexamples
|
||||||
LabelString "Examples:"
|
LabelString "Examples:"
|
||||||
Argument item:1
|
Argument item:1
|
||||||
LabelString "Custom Numbering|s"
|
LabelString "Custom Numbering|s"
|
||||||
Tooltip "Customize the numeration"
|
Tooltip "Customize the numeration"
|
||||||
EndArgument
|
EndArgument
|
||||||
|
Preamble
|
||||||
|
% Backwards compatibility with covington < 1.1
|
||||||
|
% This code can be removed eventually
|
||||||
|
\@ifundefined{covexamples}{%
|
||||||
|
\newenvironment{covexamples}{\begin{examples}}{\end{examples}}%
|
||||||
|
}
|
||||||
|
EndPreamble
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user