From 750eb2851ba30c6ed85bc1225a55259459fcf207 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 10 Feb 2010 00:36:52 +0000 Subject: linguex 4.1 (9feb10) git-svn-id: svn://tug.org/texlive/trunk@16950 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/linguex/linguex.sty | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist') 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 -- cgit v1.2.3