summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/linguex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-10 00:36:52 +0000
committerKarl Berry <karl@freefriends.org>2010-02-10 00:36:52 +0000
commit750eb2851ba30c6ed85bc1225a55259459fcf207 (patch)
tree90b8420f14e6410ae25aa505eabaab01181d67e3 /Master/texmf-dist/tex/latex/linguex
parent315f3885ca756b29e202a73f98d959256ab632d0 (diff)
linguex 4.1 (9feb10)
git-svn-id: svn://tug.org/texlive/trunk@16950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/linguex')
-rw-r--r--Master/texmf-dist/tex/latex/linguex/linguex.sty14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/linguex/linguex.sty b/Master/texmf-dist/tex/latex/linguex/linguex.sty
index dde58368998..2176b63340d 100644
--- a/Master/texmf-dist/tex/latex/linguex/linguex.sty
+++ b/Master/texmf-dist/tex/latex/linguex/linguex.sty
@@ -19,9 +19,11 @@
%% example format with \theExNo
%% linguex.sty version 4.0 replaces hard-coded brackets with
%% predefined commands
+%% linguex.sty version 4.1 replaces \refstepcounter by \stepcounter
+%% for internal counters
%% Author: Wolfgang.Sternefeld@uni-tuebingen.de
%% status: supported
-%% filedate 2009/10/15
+%% filedate Feb. 4th 2010
\RequirePackage{xspace,cgloss4e}
%%%%%%%%%%%%%%%%%%% FOOTNOTES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% to let \ex. know whether or not it is in a footnote
@@ -106,7 +108,7 @@
\begin{list}{}{\leftmargin\z@%
\labelwidth\z@\labelsep\z@\partopsep\z@\topsep\Extopsep}%
\item{}#1%
- \refstepcounter{ExDepth}\ExEnd}
+ \stepcounter{ExDepth}\ExEnd}%refstepcounter replaced
\def\ex.#1\par{%
\ifnum\theExDepth>0 \setcounter{TempExDepth}{\theExDepth}%
\setcounter{ExDepth}{0}
@@ -114,7 +116,7 @@
\ifembedded\else
\ifdim\lastskip=\Extopsep\vspace{\Exredux}\fi
\fi
- \refstepcounter{ExDepth}%
+ \stepcounter{ExDepth}%%refstepcounter replaced
\my@ifnextchar[{\OptArgEx}{\ifindex\expandafter\lookforwords\fi
\NormalEx\testforgramm}%
#1%
@@ -236,7 +238,7 @@
\def\a.{\ifindex\firstwordtrue\fi
\ifnum\theExDepth=0 \unembeddedtrue
\trivex.\fi
- \refstepcounter{ExDepth}%
+ \stepcounter{ExDepth}%refstepcounter replaced
\begin{list}{\makebox[\labelwidth][l]{%
\ifnum\theExDepth=1 \SubExLBr\Exalph{ABC}\SubExRBr%
\else
@@ -378,10 +380,10 @@
\newcounter{tmpaEx}
\newif\ifNoFnRef
\newcommand{\Next}{\if@noftnote\NoFnReftrue\else\NoFnReffalse\fi
- \copyExNo\refstepcounter{tmpaEx}\printExNo}
+ \copyExNo\stepcounter{tmpaEx}\printExNo}%refstepcounter replaced
\newcommand{\NNext}{\if@noftnote\NoFnReftrue\else\NoFnReffalse\fi
\copyExNo\addtocounter{tmpaEx}{2}\printExNo}
-\newcommand{\TextNext}{\NoFnReftrue\copyExNo\refstepcounter{tmpaEx}\printExNo}
+\newcommand{\TextNext}{\NoFnReftrue\copyExNo\stepcounter{tmpaEx}\printExNo}%refstepcounter replaced
\newcommand{\Last}{\if@noftnote\NoFnReftrue\else
\ifnum\Exarabic{FnExNo}=0 \NoFnReftrue\else\NoFnReffalse\fi
\fi