diff options
author | Karl Berry <karl@freefriends.org> | 2013-08-16 23:05:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-08-16 23:05:57 +0000 |
commit | 102d6517d4aba2c91dbbf6ec48dfe6c2a37684f2 (patch) | |
tree | 1615756277c476cf1b91102198454d46f020b688 /Master/texmf-dist/tex/latex | |
parent | bf98c9436ac9d7fca5021fc6a7c641bf60ded210 (diff) |
eledmac (16aug13)
git-svn-id: svn://tug.org/texlive/trunk@31450 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/eledmac/eledmac.sty | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/eledmac/eledpar.sty | 25 |
2 files changed, 25 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty index 96cc735df4d..534aebd96fc 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}[2013/07/11 v1.5 LaTeX port of EDMAC] +\ProvidesPackage{eledmac}[2013/08/16 v1.5.1 LaTeX port of EDMAC] \newif\ifledfinal \newif\ifparapparatus@ \newif\ifnoquotation@ @@ -1843,7 +1843,7 @@ \csuse{notefontsizeX@#1} \footsplitskips \spaceskip=\z@skip \xspaceskip=\z@skip - \@nameuse{footfmt#1}{#1}{#2}\egroup} + \csuse{\csuse{footnote@dir}}\if@RTL\else\noindent\leavevmode\fi\@nameuse{footfmt#1}{#1}{#2}\egroup} \newcommand*{\mpnormalvfootnoteX}[2]{% \global\setbox\@nameuse{mpfootins#1}\vbox{% @@ -3241,9 +3241,9 @@ \parindent=\csname sza@\number\stanza@count @\endcsname\stanzaindentbase \else - \managestanza@modulo \parindent=\csname sza@\number\stanza@modulo @\endcsname\stanzaindentbase + \managestanza@modulo \fi \pstart\stanza@hang\ignorespaces} \xdef\stanza@hang{\noexpand\leavevmode\noexpand\startlock diff --git a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty index 61a56ae8df0..a421a04722e 100644 --- a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty +++ b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty @@ -24,7 +24,7 @@ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eledpar}[2013/07/11 v1.4 eledmac extension for parallel texts] +\ProvidesPackage{eledpar}[2013/08/16 v1.4.1 eledmac extension for parallel texts] \newif\ifshiftedpstarts \let\shiftedversestrue\shiftedpstartstrue @@ -1479,11 +1479,23 @@ \renewcommand{\normalbfnoteX}[2]{% \ifnumberedpar@ \ifledRcol% + \ifluatex + \footnotelang@lua[R]% + \fi + \@ifundefined{xpg@main@language}%if polyglossia +{}% +{\footnotelang@poly[R]}% \protected@csxdef{thisfootnote}{\csuse{thefootnote#1}}% \xright@appenditem{\noexpand\vbfnoteX{#1}{#2}{\csexpandonce{thisfootnote}}}% \to\inserts@listR \global\advance\insert@countR \@ne% \else% + \ifluatex + \footnotelang@lua% + \fi + \@ifundefined{xpg@main@language}%if polyglossia +{}% +{\footnotelang@poly}% \protected@csxdef{thisfootnote}{\csuse{thefootnote#1}}% \xright@appenditem{\noexpand\vbfnoteX{#1}{#2}{\csexpandonce{thisfootnote}}}% \to\inserts@list @@ -1530,7 +1542,7 @@ \newenvironment{astanza}{% \startstanzahook \catcode`\&\active - \global\stanza@count\@ne + \global\stanza@count\@ne\stanza@modulo\@ne \ifnum\usenamecount{sza@0@}=\z@ \let\stanza@hang\relax \let\endlock\relax @@ -1555,7 +1567,14 @@ }{} \newcommand*{\@astanza@line}{% - \parindent=\csname sza@\number\stanza@count @\endcsname\stanzaindentbase + \ifnum\value{stanzaindentsrepetition}=0 + \parindent=\csname sza@\number\stanza@count + @\endcsname\stanzaindentbase + \else + \parindent=\csname sza@\number\stanza@modulo + @\endcsname\stanzaindentbase + \managestanza@modulo + \fi \par \stanza@hang%\mbox{}% \ignorespaces} |