diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac/reledpar.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledpar.sty | 69 |
1 files changed, 50 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty index 15719b6d6d2..d01c69337ba 100644 --- a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty +++ b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty @@ -29,7 +29,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledpar}[2016/05/08 v2.9.0 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2016/06/03 v2.10.0a reledmac extension for parallel texts]% \RequirePackage{xspace}% \RequirePackage{xkeyval} @@ -149,6 +149,7 @@ \global\sublines@false \global\let\next@page@numR\relax \global\let\sub@change\relax + \global\stopmsdata@inserted@true% \set@continuousnumberingforR% \message{Section \the\section@numR R }% \line@list@stuffR{\jobname.\extensionchars\the\section@numR R}% @@ -995,7 +996,15 @@ \affixline@num% \fi% \xifinlist{\the\l@dpscL}{\eled@sections@@}% - {\add@inserts\affixside@note}% + {% + \if@firstlineofpage% + \set@Xtxtbeforenotes% + \global\@firstlineofpagefalse% + \fi% + \add@inserts% + \insert@msdata% + \affixside@note% + }% {\print@lineL}% }% \add@penaltiesL% @@ -1008,7 +1017,7 @@ \getline@numL% \affixline@num% \setbox\l@dleftbox \hb@xt@ \Lcolwidth{% - \l@dld@ta %space kept for backward compatibility + \l@dld@ta% \hspace*{\Lcolwidth}% \ledrlfill\l@drd@ta% }% @@ -1021,9 +1030,14 @@ \def\print@lineL{% \affixpstart@numL% - \l@dld@ta %space kept for backward compatibility + \l@dld@ta% + \if@firstlineofpage% + \set@Xtxtbeforenotes% + \global\@firstlineofpagefalse% + \fi% + \insert@msdata% \add@inserts\affixside@note% - \l@dlsn@te %space kept for backward compatibility + \l@dlsn@te% \hb@xt@ \Lcolwidth{\ledllfill\hb@xt@ \wd\one@line{% \do@insidelineLhook% \ifluatex% @@ -1032,7 +1046,7 @@ \new@lineL% \inserthangingsymbolL% \l@dunhbox@line{\one@line}}\ledrlfill\l@drd@ta% - \l@drsn@te}} + \l@drsn@te}}% \def\print@eledsectionL{%% \addtocounter{pstartL}{-1}% @@ -1105,7 +1119,15 @@ \affixline@numR% \fi% \xifinlist{\the\l@dpscR}{\eled@sectionsR@@}% - {\add@insertsR\affixside@noteR}% + {% + \if@firstlineofpageR% + \set@Xtxtbeforenotes% + \global\@firstlineofpageRfalse% + \fi% + \insert@msdata% + \add@insertsR% + \affixside@noteR% + }% {\print@lineR}% }% \add@penaltiesR% @@ -1118,7 +1140,7 @@ \getline@numR% \setbox\l@drightbox \hb@xt@ \Rcolwidth{% \affixline@numR% - \l@dld@ta %space kept for backward compatibility + \l@dld@ta% \hspace*{\Rcolwidth}% \ledrlfill\l@drd@ta% }% @@ -1134,9 +1156,14 @@ \def\print@lineR{% \affixpstart@numR% - \l@dld@ta %space kept for backward compatibility + \l@dld@ta% + \if@firstlineofpageR% + \set@Xtxtbeforenotes% + \global\@firstlineofpageRfalse% + \fi% + \insert@msdata% \add@insertsR\affixside@noteR% - \l@dlsn@te %space kept for backward compatibility + \l@dlsn@te% \hb@xt@ \Rcolwidth{\ledllfill\hb@xt@ \wd\one@lineR{% \do@insidelineRhook% \new@lineR% @@ -1228,32 +1255,34 @@ \newif\ifl@dskipversenumberR \newcommand*{\do@actions@fixedcodeR}{% \ifcase\@l@dtempcnta% - \or% % 1001 + \or% % 1001 = starting sublineation \global\sublines@true - \or% % 1002 + \or% % 1002 = ending sublineation \global\sublines@false - \or% % 1003 + \or% % 1003 = starting locking number \global\@lockR=\@ne - \or% % 1004% + \or% % 1004 = ending locking number \ifnum\@lockR=\tw@ \global\@lockR=\thr@@ \else \global\@lockR=\z@ \fi - \or% % 1005 + \or% % 1005 = starting locking subnumber \global\sub@lockR=\@ne - \or% % 1006 + \or% % 1006 = ending locking subnumber \ifnum\sub@lockR=\tw@ \global\sub@lockR=\thr@@ \else \global\sub@lockR=\z@ \fi - \or% % 1007 + \or% % 1007 = skipping numbering \l@dskipnumbertrue - \or% % 1008 + \or% % 1008 = skipping numbering in stanza \l@dskipversenumberRtrue% - \or% % 1009 + \or% % 1009 = hiding number \l@dhidenumbertrue% + \or% % 1010 = inserting msdata + \add@msdata% \else% \led@warn@BadAction \fi% @@ -1264,10 +1293,12 @@ \@l@dtempcntb=\absline@numR \ifnum\@l@dtempcntb<\next@actionlineR\else \ifnum\next@actionR>-1001\relax + \@firstlineofpageRtrue% \global\page@numR=\next@actionR \ifbypage@R \global\line@numR \z@ \global\subline@numR \z@ \fi + \add@msdata@firstlineofpage% \else \ifnum\next@actionR<-4999\relax % 9/05 added relax here \@l@dtempcnta=-\next@actionR |