From 2dedd34e83a166c361e6e3d1af0a6681235d4d1e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 16 Jan 2010 00:25:25 +0000 Subject: gb4e update (15jan10) git-svn-id: svn://tug.org/texlive/trunk@16735 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/gb4e/gb4e.sty | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex/gb4e') diff --git a/Master/texmf-dist/tex/latex/gb4e/gb4e.sty b/Master/texmf-dist/tex/latex/gb4e/gb4e.sty index b156829f61a..e56f727252d 100644 --- a/Master/texmf-dist/tex/latex/gb4e/gb4e.sty +++ b/Master/texmf-dist/tex/latex/gb4e/gb4e.sty @@ -23,6 +23,19 @@ % compatibility. If you have problems, you can try disabling it by % placing the command \noautomath immediately after loading the gb4e package. % [Added 2009/12/28] + +% CHANGE LOG +% +% 2009/12/28 +% - Added README.txt with LPPL license statement. +% - Updated sub- and superscripts outside of math mode. They now +% combine properly, and the feature can be turned off with \noautomath +% (and back on with \automath). +% - Removed references to \rm, for compatibility with memoir.cls +% - \@footnotetext is no longer modified destructively; compatible with +% other packages that modify it. +% - \eachwordone etc. can now be defined to font commands that take +% arguments (e.g., to \textit). % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -167,17 +180,16 @@ \newif\if@xrec\@xrecfalse \@definecounter{fnx} -%%%% adapted from latex.tex to get examples in footnotes right +%%%%% Get examples in footnotes right +% Replaces code in original gb4e.sty: changed 2008/12/28 by Alexis +% Same function as before, but the old version interacted poorly with +% other packages that redefine \@footnotetext. + +\let\@gbsaved@footnotetext=\@footnotetext \long\def\@footnotetext#1{% \@noftnotefalse\setcounter{fnx}{0}% - \insert\footins{\reset@font\footnotesize - \interlinepenalty\interfootnotelinepenalty - \splittopskip\footnotesep - \splitmaxdepth \dp\strutbox \floatingpenalty \@MM - \hsize\columnwidth \@parboxrestore - \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext - {\rule{\z@}{\footnotesep}\ignorespaces - #1\strut}}\@noftnotetrue} + \@gbsaved@footnotetext{#1}% + \@noftnotetrue} \newcount\@xnumdepth \@xnumdepth = 0 -- cgit v1.2.3