summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/linguex/linguex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/linguex/linguex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/linguex/linguex.sty26
1 files changed, 18 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/linguex/linguex.sty b/Master/texmf-dist/tex/latex/linguex/linguex.sty
index 97677285f9a..18e34222d8b 100644
--- a/Master/texmf-dist/tex/latex/linguex/linguex.sty
+++ b/Master/texmf-dist/tex/latex/linguex/linguex.sty
@@ -1,4 +1,4 @@
-%% Copyright 1996 by Wolfgang Sternefeld
+%% Copyright 1996-2013 by Wolfgang Sternefeld
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
@@ -24,9 +24,13 @@
%% linguex.sty version 4.2 replaces \rm by \textrm in definition of
%% \stripoffbr; undoes the change in version 4.0 from .66\baselineskip to
%% \Extopsep; renews definition of \label AtBeginDocument
+%% linguex.sty version 4.3 removes code that caused problems with beamer; adds
+%% a \ProvidesPackage line to keep track of versions better
%% Author: Wolfgang.Sternefeld@uni-tuebingen.de
-%% status: supported
-%% filedate April 14th 2010
+%% status: maintained
+%% filedate May 28th 2013
+
+\ProvidesPackage{linguex}[2013/05/28 Example formatting for linguistics v. 4.3]
\RequirePackage{xspace,cgloss4e}
%%%%%%%%%%%%%%%%%%% FOOTNOTES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% to let \ex. know whether or not it is in a footnote
@@ -418,9 +422,15 @@
\if@noftnote\theExRBr\else\theFnExRBr\fi\xspace}}%hard
%wired bracket changed to \theExBr in version 4.0
%%%%%%%%%%%%%%%%%%%%%%%%%%% compatibility with beamer class %%%%%%%%%%%%%%%%%%%%%%%%%%
-\@ifundefined{usetheme}{}{\AtBeginDocument{\def\label#1{\strut%strut added to definition
-\@bsphack
- \protected@write\@auxout{}%
- {\string\newlabel{#1}{{\@currentlabel}{\thepage}}}%
-\@esphack}}}
+% This code has now been commented out in v 4.2 since it now causes problems with beamer
+% The original problem it solved was probably a beamer issue, not a linguex issue.
+% Users with old versions of beamer may need this code so let's leave it in the source for the moment
+%
+%
+%\@ifundefined{usetheme}{}{\AtBeginDocument{\def\label#1{\strut%strut added to definition
+%\@bsphack
+% \protected@write\@auxout{}%
+% {\string\newlabel{#1}{{\@currentlabel}{\thepage}}}%
+%\@esphack}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%% END %%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput \ No newline at end of file