diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/eledmac')
-rw-r--r-- | Master/texmf-dist/tex/latex/eledmac/eledmac.sty | 37 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/eledmac/eledpar.sty | 30 |
2 files changed, 35 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty index 3bdb8930a01..5609a973dd4 100644 --- a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty +++ b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty @@ -27,7 +27,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eledmac}[2015/07/19 v1.24.6 LaTeX port of EDMAC]% +\ProvidesPackage{eledmac}[2015/09/02 v1.24.8 LaTeX port of EDMAC]% \newif\ifledfinal \newif\ifoldprintnpnumspace@ \newif\ifnocritical@% @@ -92,6 +92,9 @@ \RequirePackage{ragged2e} \RequirePackage{ragged2e} \RequirePackage{ifxetex}% +\ifx\directlua\undefined\else% + \directlua{tex.enableprimitives("",{"textdir","pardir","bodydir"})} +\fi \newif\ifl@dmemoir \@ifclassloaded{memoir}{\l@dmemoirtrue}{\l@dmemoirfalse} @@ -509,7 +512,7 @@ \newcommand*{\ledlinenum}{% \bgroup% \ifluatex% - \luatextextdir TLT% + \textdir TLT% \fi% \numlabfont\linenumrep{\line@num}% \ifsublines@ @@ -1248,7 +1251,7 @@ \autopar% \fi% \ifluatex% - \edef\l@luatextextdir@L{\the\luatextextdir}% + \edef\l@luatextextdir@L{\the\textdir}% \fi% \if@nobreak% \let\@oldnobreak\@nobreaktrue% @@ -1389,7 +1392,7 @@ \l@dlsn@te {\ledllfill\hb@xt@ \wd\one@line{\new@line% \ifluatex% - \luatextextdir\l@luatextextdir@L% + \textdir\l@luatextextdir@L% \fi% \inserthangingsymbol %Space keept for backward compatibility \l@dunhbox@line{\one@line}}% @@ -1762,15 +1765,15 @@ } \newcommandx*{\footnotelang@lua}[1][1=L,usedefault]{% \ifstrequal{#1}{L}{% - \xright@appenditem{{\csxdef{footnote@luatextextdir}{\the\luatextextdir}}}\to\inserts@list%Know the dir of lemma + \xright@appenditem{{\csxdef{footnote@luatextextdir}{\the\textdir}}}\to\inserts@list%Know the dir of lemma \global\advance\insert@count \@ne% - \xright@appenditem{{\csxdef{footnote@luatexpardir}{\the\luatexpardir}}}\to\inserts@list%Know the dir of lemma + \xright@appenditem{{\csxdef{footnote@luatexpardir}{\the\pardir}}}\to\inserts@list%Know the dir of lemma \global\advance\insert@count \@ne% }% {% - \xright@appenditem{{\csxdef{footnote@luatextextdir}{\the\luatextextdir}}}\to\inserts@listR%Know the dir of lemma + \xright@appenditem{{\csxdef{footnote@luatextextdir}{\the\textdir}}}\to\inserts@listR%Know the dir of lemma \global\advance\insert@countR \@ne% - \xright@appenditem{{\csxdef{footnote@luatexpardir}{\the\luatexpardir}}}\to\inserts@listR%Know the dir of lemma + \xright@appenditem{{\csxdef{footnote@luatexpardir}{\the\pardir}}}\to\inserts@listR%Know the dir of lemma \global\advance\insert@countR \@ne% }% } @@ -1830,8 +1833,8 @@ \newcommand*{\ledsetnormalparstuff}{% \led@war@ledsetnormalparstuffDeprecated% \ifluatex% - \luatextextdir\footnote@luatextextdir% - \luatexpardir\footnote@luatexpardir% + \textdir\footnote@luatextextdir% + \pardir\footnote@luatexpardir% \fi% \csuse{\csuse{footnote@dir}}% \normal@pars% @@ -1839,8 +1842,8 @@ \newcommand*{\ledsetnormalparstuff@common}{% \ifluatex% - \luatextextdir\footnote@luatextextdir% - \luatexpardir\footnote@luatexpardir% + \textdir\footnote@luatextextdir% + \pardir\footnote@luatexpardir% \fi% \csuse{\csuse{footnote@dir}}% \normal@pars% @@ -1995,7 +1998,7 @@ \def\printlines#1|#2|#3|#4|#5|#6|#7|{% \begingroup% \ifluatex% - \luatextextdir TLT% + \textdir TLT% \fi% \setprintlines{#1}{#2}{#3}{#4}{#5}{#6}% \ifdimequal{\csuse{boxstartlinenum@\@currentseries}}{0pt}% @@ -2516,8 +2519,8 @@ \notbool{parapparatus@}{\newcommand*}{\newcommand}{\normalfootfmtX}[2]{% \ifluatex% - \luatextextdir\footnote@luatextextdir% - \luatexpardir\footnote@luatexpardir% + \textdir\footnote@luatextextdir% + \pardir\footnote@luatexpardir% \par% \fi% \protected@edef\@currentlabel{% @@ -3379,8 +3382,8 @@ {\csuse{@footnotemark#1}}% {}% \ifluatex% - \xdef\footnote@luatextextdir{\the\luatextextdir}% - \xdef\footnote@luatexpardir{\the\luatexpardir}% + \xdef\footnote@luatextextdir{\the\textdir}% + \xdef\footnote@luatexpardir{\the\pardir}% \fi% \csuse{vfootnote#1}{#1}{\expandonce\content}\m@mmf@prepare% \endgroup% diff --git a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty index bab9a36ffbf..e5616bd33cf 100644 --- a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty +++ b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty @@ -23,7 +23,7 @@ %% This work consists of the files listed in the README file. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eledpar}[2015/07/19 v1.17.0a eledmac extension for parallel texts]% +\ProvidesPackage{eledpar}[2015/09/01 v1.17.1 eledmac extension for parallel texts]% \RequirePackage{xspace}% \newif\ifshiftedpstarts @@ -877,9 +877,9 @@ \fi% \@nobreaktrue% \ifluatex% - \xdef\l@luatextextdir@L{\the\luatextextdir}% - \xdef\l@luatexpardir@L{\the\luatexpardir}% - \xdef\l@luatexbodydir@L{\the\luatexbodydir}% + \xdef\l@luatextextdir@L{\the\textdir}% + \xdef\l@luatexpardir@L{\the\pardir}% + \xdef\l@luatexbodydir@L{\the\bodydir}% \fi% \ifnumbering \else% \led@err@PstartNotNumbered% @@ -927,9 +927,9 @@ \fi% \@nobreaktrue% \ifluatex% - \xdef\l@luatextextdir@R{\the\luatextextdir}% - \xdef\l@luatexpardir@R{\the\luatexpardir}% - \xdef\l@luatexbodydir@R{\the\luatexbodydir}% + \xdef\l@luatextextdir@R{\the\textdir}% + \xdef\l@luatexpardir@R{\the\pardir}% + \xdef\l@luatexbodydir@R{\the\bodydir}% \fi% \ifnumberingR \else% \led@err@PstartNotNumbered% @@ -1073,7 +1073,7 @@ {\ledllfill\hb@xt@ \Lcolwidth{% \do@insidelineLhook% \ifluatex% - \luatextextdir\l@luatextextdir@L% + \textdir\l@luatextextdir@L% \fi% \new@lineL% \inserthangingsymbolL% @@ -1089,9 +1089,9 @@ \@eled@sectioningtrue% \bgroup% \ifluatex% - \luatextextdir\l@luatextextdir@L% - \luatexpardir\l@luatexpardir@L% - \luatexbodydir\l@luatexbodydir@L% + \textdir\l@luatextextdir@L% + \pardir\l@luatexpardir@L% + \bodydir\l@luatexbodydir@L% \ifdefstring{\l@luatextextdir@L}{TRT}{\@RTLtrue}{}% \fi% \csuse{eled@sectioning@\the\l@dpscL}% @@ -1169,7 +1169,7 @@ \new@lineR% \inserthangingsymbolR% \ifluatex% - \luatextextdir\l@luatextextdir@R% + \textdir\l@luatextextdir@R% \fi% \l@dunhbox@line{\one@lineR}}\ledrlfill\l@drd@ta% \l@drsn@te% @@ -1185,9 +1185,9 @@ \@eled@sectioningtrue% \bgroup% \ifluatex% - \luatextextdir\l@luatextextdir@R% - \luatexpardir\l@luatexpardir@R% - \luatexbodydir\l@luatexbodydir@R% + \textdir\l@luatextextdir@R% + \pardir\l@luatexpardir@R% + \bodydir\l@luatexbodydir@R% \ifdefstring{\l@luatextextdir@L}{TRT}{\@RTLtrue}{}% \fi% \csuse{eled@sectioning@\the\l@dpscR R}% |