summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/expex/expex.tex19
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/generic/expex/expex.tex b/Master/texmf-dist/tex/generic/expex/expex.tex
index 93ce6bb40cd..8174cdff4b9 100644
--- a/Master/texmf-dist/tex/generic/expex/expex.tex
+++ b/Master/texmf-dist/tex/generic/expex/expex.tex
@@ -1,5 +1,5 @@
\def\ExPexMessage
- {2013/07/27 v4.1c ExPex linguistics example formatter (JF)}
+ {2013/07/29 v4.1d ExPex linguistics example formatter (JF)}
% -------------------------------------------------------
% jf 2011/12/09 (v4.0a)
% 1) fixed bug in how exceptional gla items are detected
@@ -19,13 +19,16 @@
% 1) added \let\pageno=\c@page to LaTex specializations
% jf 2013/06/27 (v4.1b)
% 1) fixed bug in skip over \glft entries
-% jf 2013/07/27
-% 1) LaTex \include/\includeonly mechanism now works for \excnt
+% jf 2013/07/27 (v4.1c)
+% 1) LaTex \includeonly mechanism support
+% jf 2013/07/29 (v4.1d)
+% 1) made \includeonly mechanism compatible with hyperref, etc.
% --------------------------------------------------------
\edef\resetatcatcode{\catcode`\noexpand\@\the\catcode`\@\relax}
\catcode`\@=11\relax
\ifx\XKeyValLoaded\endinput \else
\input xkeyval \fi
+\newcount\excnt
\ifx\ProvidesFile\@undefined
\message{\ExPexMessage}
\else
@@ -33,10 +36,9 @@
\@addtofilelist{expex.tex}
\let\it=\itshape
\let\pageno=\c@page
-% 2013/07/27
- \g@addto@macro\cl@@ckpt
- {\immediate\write\@partaux{\string\excnt=\the\excnt}}
-%
+% 2013/07/29
+ \let\c@excnt=\excnt
+ \g@addto@macro\cl@@ckpt{\@elt{excnt}}
\fi
%! define eplain primitives, if necessary
\ifx\eplain\@undefined % eplain stuff
@@ -139,8 +141,7 @@
\newdimen\epd@a
% \newdimen\epd@b not yet needed
%------ \ex -----
-\newcount\excnt
-\excnt=1
+\excnt=1 % \excnt created early, before LaTex specializations
\newbox\numbox
\newdimen\epd@numright
\newif\if@specialexno