summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/eledmac/eledmac.sty')
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledmac.sty22
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
index a55ffe84fb3..798b4a57a49 100644
--- a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
+++ b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
@@ -24,7 +24,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledmac}[2014/04/09 v1.10.4 LaTeX port of EDMAC]
+\ProvidesPackage{eledmac}[2014/04/14 v1.10.5 LaTeX port of EDMAC]
\newif\ifledfinal
\newif\ifparapparatus@
\newif\ifnoquotation@
@@ -321,6 +321,7 @@
\led@mess@SectionContinued{\the\section@num}%
\line@list@stuff{\jobname.\extensionchars\the\section@num}%
\l@dend@stuff
+ \begingroup
\else
\led@err@NumberingShouldHaveStarted
\endnumbering
@@ -2949,12 +2950,19 @@
\or #4%
\fi}
\newcommand*{\xxref}[2]{%
- {\expandafter\ifx\csname the@label#1\endcsname
- \relax \expandafter\let\csname the@label#1\endcsname\zz@@@\fi
- \expandafter\ifx\csname the@label#2\endcsname \relax
- \expandafter\let\csname the@label#2\endcsname\zz@@@\fi
- \linenum{\csname the@label#1\endcsname|%
- \csname the@label#2\endcsname}}}
+ {%
+ \expandafter\ifx\csname the@label#1\endcsname \relax%
+ \expandafter\let\csname the@@label#1\endcsname\zz@@@%
+ \else%
+ \expandafter\def\csname the@@label#1\endcsname{\l@dgetref@num{1}{#1}|\l@dgetref@num{2}{#1}|\l@dgetref@num{3}{#1}}%
+ \fi%
+ \expandafter\ifx\csname the@label#2\endcsname \relax%
+ \expandafter\let\csname the@@label#2\endcsname\zz@@@%
+ \else%
+ \expandafter\def\csname the@@label#2\endcsname{\l@dgetref@num{1}{#2}|\l@dgetref@num{2}{#2}|\l@dgetref@num{3}{#2}}%
+ \fi%
+ \linenum{\csname the@@label#1\endcsname|%
+ \csname the@@label#2\endcsname}}}
\newcommand*{\edmakelabel}[2]{\expandafter\xdef\csname the@label#1\endcsname{#2}}