diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-09 22:33:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-09 22:33:35 +0000 |
commit | e9d55e61177e246f9e8824676ebedb475b9df028 (patch) | |
tree | d7d7d84289ec0fab9e6e8432c899c9d947bac55a /Master/texmf-dist/tex | |
parent | 4a29a4d67989a64f1aeab28d89711da8d2e0a09a (diff) |
reledmac (9jun17)
git-svn-id: svn://tug.org/texlive/trunk@44545 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 278 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledpar.sty | 20 |
2 files changed, 183 insertions, 115 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty index b2765feb369..ce67d1d6b93 100644 --- a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty +++ b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty @@ -35,7 +35,7 @@ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledmac}[2017/06/04 v2.21.0 typesetting critical editions]% +\ProvidesPackage{reledmac}[2017/06/08 v2.22.0 typesetting critical editions]% \RequirePackage{xkeyval} \newif\ifparledgroup \DeclareOptionX{series}[A,B,C,D,E]{\xdef\default@series{#1}} @@ -518,7 +518,7 @@ \unless\ifnocritical@% \Xpstart[][false]% \fi% - \else + \else \led@warn@BadLineation \fi \fi @@ -1865,6 +1865,7 @@ \l@dld@ta% \if@firstlineofpage% \set@Xtxtbeforenotes% + \set@txtbeforenotesX% \global\@firstlineofpagefalse% \fi% \ifdefstring{\ms@data@position}{msdata-regular}{% @@ -1892,6 +1893,7 @@ \def\print@eledsection{% \if@firstlineofpage% \set@Xtxtbeforenotes% + \set@txtbeforenotesX% \global\@firstlineofpagefalse% \fi% \ifdefstring{\ms@data@position}{msdata-regular}{% @@ -2006,33 +2008,33 @@ \newcommand*{\do@actions@fixedcode}{% \ifcase\@l@dtempcnta - \or% % 1001 = starting sublineation + \or% % 1001 = starting sublineation \global\sublines@true - \or% % 1002 = ending sublineation + \or% % 1002 = ending sublineation \global\sublines@false - \or% % 1003 = starting locking number + \or% % 1003 = starting locking number \global\@lock=\@ne - \or% % 1004 = ending locking number + \or% % 1004 = ending locking number \ifnum\@lock=\tw@ \global\@lock=\thr@@ \else \global\@lock=\z@ \fi - \or% % 1005 = starting locking subnumber + \or% % 1005 = starting locking subnumber \global\sub@lock=\@ne - \or% % 1006 = ending locking subnumber + \or% % 1006 = ending locking subnumber \ifnum\sub@lock=\tw@ \global\sub@lock=\thr@@ \else \global\sub@lock=\z@ \fi - \or% % 1007 = skipping numbering + \or% % 1007 = skipping numbering \l@dskipnumbertrue - \or% % 1008 = skipping numbering in stanza + \or% % 1008 = skipping numbering in stanza \l@dskipversenumbertrue% - \or% % 1009 = hiding number + \or% % 1009 = hiding number \l@dhidenumbertrue - \or% % 1010 = inserting msdata + \or% % 1010 = inserting msdata \add@msdata% \else \led@warn@BadAction @@ -2294,7 +2296,19 @@ \newcommand{\set@Xtxtbeforenotes}{% \unless\ifnocritical@% \def\do##1{% - \global\togglefalse{Xtxtbeforesnotes@##1@typeset}% + \nottoggle{Xtxtbeforenotesonlyonce@##1}{% + \global\togglefalse{Xtxtbeforesnotes@##1@typeset}% + }{}% + }% + \dolistloop{\@series}% + \fi% +}% +\newcommand{\set@txtbeforenotesX}{% + \unless\ifnofamiliar@% + \def\do##1{% + \nottoggle{txtbeforenotesonlyonceX@##1}{% + \global\togglefalse{txtbeforesnotesX@##1@typeset}% + }{}% }% \dolistloop{\@series}% \fi% @@ -2308,7 +2322,9 @@ {\expandafter\insert\csname#1footins\endcsname% \bgroup% \noindent% - \csuse{\csuse{series@display#1}@begin@insert}{#1}% + \ifcsdef{\csuse{series@display#1}@begin@insert}{% + \csuse{\csuse{series@display#1}@begin@insert}{#1}% + }{}% \strut\csuse{Xnotefontsize@#1}\csuse{Xtxtbeforenotes@#1}% \egroup% }% @@ -2316,6 +2332,27 @@ }% {}% }% + +\newcommand{\insert@txtbeforenotesX}[1]{% + \nottoggle{txtbeforesnotesX@#1@typeset}{% + \global\toggletrue{txtbeforesnotesX@#1@typeset}% + \ifcsvoid{txtbeforenotesX@#1}{}{% + \ifcsstring{series@displayX#1}{paragraph}% + {\noindent\csuse{txtbeforenotesX@#1}}% + {\expandafter\insert\csname footins#1\endcsname% + \bgroup% + \noindent% + \ifcsdef{\csuse{series@displayX#1}@begin@insert}{% + \csuse{\csuse{series@displayX#1}@begin@insert}{#1}% + }{}% + \strut\csuse{notefontsizeX@#1}\csuse{txtbeforenotesX@#1}% + \egroup% + }% + }% + }% + {}% +}% + \def\select@lemmafont#1|#2|#3|#4|#5|#6|#7|{\select@@lemmafont#7|} \def\select@@lemmafont#1/#2/#3/#4|% {\fontencoding{#1}\fontfamily{#2}\fontseries{#3}\fontshape{#4}% @@ -2446,6 +2483,12 @@ \fi% \csuse{Xbeforeinserting@#1}% }% +\newcommand{\beforeinsertion@X}[1]{% + \if@ledgroup\else% + \insert@txtbeforenotesX{#1}% + \fi% + \csuse{beforeinsertingX@#1}% +}% \newcommand{\X@atbegininsertion}[1]{% \hsize=\expandafter\dimexpr\csuse{Xwidth@#1}\relax% }% @@ -2782,6 +2825,7 @@ \csname #1footfmt\endcsname #2{#1}% }% \notbool{parapparatus@}{\newcommand*}{\newcommand}{\threecolfootfmt}[4]{% + \Xstorelineinfo{#1}{#4}% \threecol@begin@insert{#4}% \hspace{\parindent}% \printlinefootnote{#1}{#4}% @@ -2874,6 +2918,7 @@ \csname #1footfmt\endcsname #2{#1}% }% \notbool{parapparatus@}{\newcommand*}{\newcommand}{\twocolfootfmt}[4]{% 4th arg is optional, for backward compatibility + \Xstorelineinfo{#1}{#4}% \twocol@begin@insert{#4}% \hspace{\parindent}% \printlinefootnote{#1}{#4}% @@ -3438,7 +3483,7 @@ \newcommand*{\normalbodyfootmarkX}[1]{% \hbox{\textsuperscript{\normalfont\@nameuse{@thefnmark#1}}}} \notbool{parapparatus@}{\newcommand*}{\newcommand}{\normalvfootnoteX}[2]{% - \csuse{beforeinsertingX@#1}% + \beforeinsertion@X{#1}% \insert\@nameuse{footins#1}\bgroup \reset@font% \hsize=\expandafter\dimexpr\csuse{widthX@#1}\relax% @@ -3666,7 +3711,7 @@ \multiply\dimen\csname mpfootins#1\endcsname by \tw@} \notbool{parapparatus@}{\newcommand*}{\newcommand}{\twocolvfootnoteX}[2]{% - \csuse{beforeinsertingX@#1}% + \beforeinsertion@X{#1}% \insert\csname footins#1\endcsname\bgroup% \hsize=\expandafter\dimexpr\csuse{widthX@#1}\relax% \noindent\csuse{bhooknoteX@#1}% @@ -3752,7 +3797,7 @@ \multiply\dimen\csname mpfootins#1\endcsname by \thr@@} \notbool{parapparatus@}{\newcommand*}{\newcommand}{\threecolvfootnoteX}[2]{% - \csuse{beforeinsertingX@#1}% + \beforeinsertion@X{#1}% \insert\csname footins#1\endcsname\bgroup% \hsize=\expandafter\dimexpr\csuse{widthX@#1}\relax% \noindent\csuse{bhooknoteX@#1}% @@ -3869,6 +3914,7 @@ \footsplitskips \setbox0=\vbox{\hsize=\maxdimen% \let\bidi@RTL@everypar\@empty% + \insert@txtbeforenotesX{#1}% \noindent\csuse{bhooknoteX@#1}% \@nameuse{footfmt#1}{#1}{#2}}% \setbox0=\hbox{\unvxhX{0}{#1}}% @@ -4005,7 +4051,7 @@ \newcommand*{\ledsetnormalparstuff@common}{% \ifluatex% \ifdefstring{\footnote@luatextextdir}{TLT}{}% - {\textdir\footnote@luatextextdir}% + {\textdir\footnote@luatextextdir}% \pardir\footnote@luatexpardir% \fi% \csuse{\csuse{footnote@dir}}% @@ -4568,6 +4614,7 @@ \csgdef{Xtxtbeforenotes@#1}{} \newtoggle{Xtxtbeforesnotes@#1@typeset}%Not directly used by user, but internal + \newtoggle{Xtxtbeforenotesonlyonce@#1}% \csgdef{Xmaxhnotes@#1}{0.8\vsize} \newtoggle{Xnoteswidthliketwocolumns@#1}% @@ -4706,6 +4753,9 @@ \csgdef{parafootsepX@#1}{}% \csgdef{afternoteX@#1}{1em plus.4em minus.4em} \csgdef{widthX@#1}{\hsize}% + \csgdef{txtbeforenotesX@#1}{}% + \newtoggle{txtbeforesnotesX@#1@typeset}%Not directly used by user, but internal + \newtoggle{txtbeforenotesonlyonceX@#1}% \expandafter\newinsert\csname footins#1\endcsname% \unless\ifnoledgroup@% \expandafter\newinsert\csname mpfootins#1\endcsname% @@ -4740,9 +4790,9 @@ \xdef\footnote@luatexpardir{\the\pardir}% \fi% \if@ledgroup% - \led@set@index@fornote{#1}% - \fi% - \csuse{vfootnote#1}{#1}{\expandonce\content}\m@mmf@prepare% + \led@set@index@fornote{#1}% + \fi% + \csuse{vfootnote#1}{#1}{\expandonce\content}\m@mmf@prepare% \ifbool{indtl@innote}% {\let\index\orig@@index}% {}% @@ -5007,6 +5057,7 @@ \newhookcommand@series{Xafterlemmaseparator} \newhookcommand@series{Xinplaceoflemmaseparator} \newhookcommand@series{Xtxtbeforenotes} + \newhooktoggle@series{Xtxtbeforenotesonlyonce}% \newhookcommand@series@reload{Xafterrule}{critical} \newhooktoggle@series{Xnumberonlyfirstinline} \newhooktoggle@series{Xnumberonlyfirstintwolines} @@ -5074,6 +5125,8 @@ \newhookcommand@series@reload{notefontsizeX}{familiar} \newhookcommand@series{afternoteX} \newhookcommand@series{parafootsepX} + \newhookcommand@series{txtbeforenotesX}% + \newhooktoggle@series{txtbeforenotesonlyonceX}% \newhookcommand@series@reload{widthX}{familiar}% \ifundef{\hsizeX}% {% @@ -6214,7 +6267,18 @@ }% \newcommand{\mp@append@notesX}[1]{% \ifvoid\csuse{mpfootins#1}\else% - \csuse{mpfootgroup#1}{#1}% + \ifcsstring{series@displayX#1}{paragraph}{}{% + \setbox\@nameuse{mpfootins#1}=\vbox{% + \csuse{notefontsizeX@#1}% + \ifcsdef{hsize\csuse{series@display#1}X@#1}{% + \hsize\csuse{hsize\csuse{series@display#1}X@#1}% + }{}% + \noindent\csuse{txtbeforenotesX@#1}% + \unvbox\@nameuse{mpfootins#1}% + \@parboxrestore% + }% + }% + \csuse{mpfootgroup#1}{#1}% \fi% }% \patchcmd% @@ -6433,15 +6497,15 @@ \IfSubStr[1]{\@tmp}{|}{\get@index@command#2+}{\get@index@command#2|+}% \get@edindex@ledinnote@command% \expandafter\protected@write\@indexfile{}% -{\string\indexentry{\@index@txt|(\@ledinnote@command}{\thestartpageline} -}% + {\string\indexentry{\@index@txt|(\@ledinnote@command}{\thestartpageline} + }% \expandafter\protected@write\@indexfile{}% -{\string\indexentry{\@index@txt|)\@ledinnote@command}{\theendpageline} + {\string\indexentry{\@index@txt|)\@ledinnote@command}{\theendpageline} }% \else% \protected@write\@indexfile{}% -{\string\indexentry{#2}{\thepageline} -}% + {\string\indexentry{#2}{\thepageline} + }% \fi% \fi% \endgroup @@ -7007,8 +7071,8 @@ \csxdef{footnote@luatextextdir}{\the\textdir}% \csxdef{footnote@luatexpardir}{\the\pardir}% \fi% - \csdef{@this@crossref@start}{\add@msd@c:start:msdata}% - \csdef{@this@crossref@end}{\add@msd@c:end:msdata}% + \csdef{@this@crossref@start}{\add@msd@c:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@c:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% @@ -7052,8 +7116,8 @@ \csxdef{footnote@luatextextdir}{\the\textdir}% \csxdef{footnote@luatexpardir}{\the\pardir}% \fi% - \csdef{@this@crossref@start}{\add@msd@cR:start:msdata}% - \csdef{@this@crossref@end}{\add@msd@cR:end:msdata}% + \csdef{@this@crossref@start}{\add@msd@cR:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@cR:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% @@ -7102,8 +7166,8 @@ \csxdef{footnote@luatextextdir}{\the\textdir}% \csxdef{footnote@luatexpardir}{\the\pardir}% \fi% - \csdef{@this@crossref@start}{\add@msd@c:start:msdata}% - \csdef{@this@crossref@end}{\add@msd@c:end:msdata}% + \csdef{@this@crossref@start}{\add@msd@c:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@c:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% @@ -7146,8 +7210,8 @@ \csxdef{footnote@luatextextdir}{\the\textdir}% \csxdef{footnote@luatexpardir}{\the\pardir}% \fi% - \csdef{@this@crossref@start}{\add@msd@cR:start:msdata}% - \csdef{@this@crossref@end}{\add@msd@cR:end:msdata}% + \csdef{@this@crossref@start}{\add@msd@cR:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@cR:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% @@ -8373,82 +8437,82 @@ } \ifeledmaccompat@% -\newcommand{\footnormalX}[1]{\arrangementX[#1]{normal}}% -\newcommand{\footparagraphX}[1]{\arrangementX[#1]{paragraph}}% -\newcommand{\foottwocolX}[1]{\arrangementX[#1]{twocol}}% -\newcommand{\footthreecolX}[1]{\XarrangementX[#1]{threecol}}% - -\unless\ifnocritical@ - \newcommand{\footnormal}[1]{\Xarrangement[#1]{normal}}% - \newcommand{\footparagraph}[1]{\Xarrangement[#1]{paragraph}}% - \newcommand{\foottwocol}[1]{\Xarrangement[#1]{twocol}}% - \newcommand{\footthreecol}[1]{\Xarrangement[#1]{threecol}}% - \let\hsizetwocol\Xhsizetwocol - \let\hsizethreecol\Xhsizethreecol - \let\bhookXnote\Xbhooknote - \let\boxsymlinenum\Xboxsymlinenum - \let\symlinenum\Xsymlinenum - \let\beforenumberinfootnote\Xbeforenumber - \let\afternumberinfootnote\Xafternumber - \let\beforeXsymlinenum\Xbeforesymlinenum - \let\afterXsymlinenum\Xaftersymlinenum - \let\inplaceofnumber\Xinplaceofnumber - \let\Xlemmaseparator\lemmaseparator - \let\afterlemmaseparator\Xafterlemmaseparator - \let\beforelemmaseparator\Xbeforelemmaseparator - \let\inplaceoflemmaseparator\Xinplaceoflemmaseparator - \let\txtbeforeXnotes\Xtxtbeforenotes - \let\afterXrule\Xafterrule - \let\numberonlyfirstinline\Xnumberonlyfirstinline - \let\numberonlyfirstintwolines\Xnumberonlyfirstintwolines - \let\nonumberinfootnote\Xnonumberinfootnote - \let\pstartinfootnote\Xpstart - \let\pstartinfootnoteeverytime\Xpstarteverytime - \let\onlyXpstart\Xonlypstart - \let\Xnonumberinfootnote\Xnonumber - \let\nonbreakableafternumber\Xnonbreakableafternumber - \let\maxhXnotes\Xmaxhnotes - \let\beforeXnotes\Xbeforenotes - \let\boxlinenum\Xboxlinenum - \let\boxlinenumalign\Xboxlinenumaligm - \let\boxstartlinenum\Xboxstartlinenum - \let\boxendlinenum\Xboxendlinenum - \let\twolines\Xtwolines - \let\morethantwolines\Xmorethantwolines - \let\twolinesbutnotmore\Xtwolinesbutnotmore - \let\twolinesonlyinsamepage\Xtwolinesonlyinsamepage -\fi + \newcommand{\footnormalX}[1]{\arrangementX[#1]{normal}}% + \newcommand{\footparagraphX}[1]{\arrangementX[#1]{paragraph}}% + \newcommand{\foottwocolX}[1]{\arrangementX[#1]{twocol}}% + \newcommand{\footthreecolX}[1]{\XarrangementX[#1]{threecol}}% + + \unless\ifnocritical@ + \newcommand{\footnormal}[1]{\Xarrangement[#1]{normal}}% + \newcommand{\footparagraph}[1]{\Xarrangement[#1]{paragraph}}% + \newcommand{\foottwocol}[1]{\Xarrangement[#1]{twocol}}% + \newcommand{\footthreecol}[1]{\Xarrangement[#1]{threecol}}% + \let\hsizetwocol\Xhsizetwocol + \let\hsizethreecol\Xhsizethreecol + \let\bhookXnote\Xbhooknote + \let\boxsymlinenum\Xboxsymlinenum + \let\symlinenum\Xsymlinenum + \let\beforenumberinfootnote\Xbeforenumber + \let\afternumberinfootnote\Xafternumber + \let\beforeXsymlinenum\Xbeforesymlinenum + \let\afterXsymlinenum\Xaftersymlinenum + \let\inplaceofnumber\Xinplaceofnumber + \let\Xlemmaseparator\lemmaseparator + \let\afterlemmaseparator\Xafterlemmaseparator + \let\beforelemmaseparator\Xbeforelemmaseparator + \let\inplaceoflemmaseparator\Xinplaceoflemmaseparator + \let\txtbeforeXnotes\Xtxtbeforenotes + \let\afterXrule\Xafterrule + \let\numberonlyfirstinline\Xnumberonlyfirstinline + \let\numberonlyfirstintwolines\Xnumberonlyfirstintwolines + \let\nonumberinfootnote\Xnonumberinfootnote + \let\pstartinfootnote\Xpstart + \let\pstartinfootnoteeverytime\Xpstarteverytime + \let\onlyXpstart\Xonlypstart + \let\Xnonumberinfootnote\Xnonumber + \let\nonbreakableafternumber\Xnonbreakableafternumber + \let\maxhXnotes\Xmaxhnotes + \let\beforeXnotes\Xbeforenotes + \let\boxlinenum\Xboxlinenum + \let\boxlinenumalign\Xboxlinenumaligm + \let\boxstartlinenum\Xboxstartlinenum + \let\boxendlinenum\Xboxendlinenum + \let\twolines\Xtwolines + \let\morethantwolines\Xmorethantwolines + \let\twolinesbutnotmore\Xtwolinesbutnotmore + \let\twolinesonlyinsamepage\Xtwolinesonlyinsamepage + \fi -\unless\ifnofamiliar@ - \let\notesXwidthliketwocolumns\noteswidthliketwocolumnsX -\fi -\newcommandx{\parafootsep}[2][1,usedefault]{% - \Xparafootsep[#1]{#2}% - \parafootsepX[#1]{#2} -}% + \unless\ifnofamiliar@ + \let\notesXwidthliketwocolumns\noteswidthliketwocolumnsX + \fi + \newcommandx{\parafootsep}[2][1,usedefault]{% + \Xparafootsep[#1]{#2}% + \parafootsepX[#1]{#2} + }% -\newcommandx{\afternote}[2][1,usedefault]{% - \Xafternote[#1]{#2}% - \afternoteX[#1]{#2}% -}% + \newcommandx{\afternote}[2][1,usedefault]{% + \Xafternote[#1]{#2}% + \afternoteX[#1]{#2}% + }% -\unless\ifnoend@ - \let\XendXtwolines\Xendtwolines - \let\XendXmorethantwolines\Xendmorethantwolines - \let\bhookXendnote\Xendbhooknote - \let\boxXendlinenum\Xendboxlinenum% - \let\boxXendlinenumalign\Xendboxlinenumalign% - \let\boxXendstartlinenum\Xendboxstartlinenum% - \let\boxXendendlinenum\Xendboxendlinenum% - \let\XendXlemmaseparator\Xendlemmaseparator - \let\XendXbeforelemmaseparator\Xendbeforelemmaseparator - \let\XendXafterlemmaseparator\Xendafterlemmaseparator - \let\XendXinplaceoflemmaseparator\Xendinplaceoflemmaseparator -\fi + \unless\ifnoend@ + \let\XendXtwolines\Xendtwolines + \let\XendXmorethantwolines\Xendmorethantwolines + \let\bhookXendnote\Xendbhooknote + \let\boxXendlinenum\Xendboxlinenum% + \let\boxXendlinenumalign\Xendboxlinenumalign% + \let\boxXendstartlinenum\Xendboxstartlinenum% + \let\boxXendendlinenum\Xendboxendlinenum% + \let\XendXlemmaseparator\Xendlemmaseparator + \let\XendXbeforelemmaseparator\Xendbeforelemmaseparator + \let\XendXafterlemmaseparator\Xendafterlemmaseparator + \let\XendXinplaceoflemmaseparator\Xendinplaceoflemmaseparator + \fi -\AtBeginDocument{% - \ifdef\lineref{}{\let\lineref\edlineref}% -}% + \AtBeginDocument{% + \ifdef\lineref{}{\let\lineref\edlineref}% + }% \fi% \endinput diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty index 0e7091efa6a..7b31dfecb5b 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}[2017/05/04 v2.18.0 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2017/06/08 v2.19.0 reledmac extension for parallel texts]% \RequirePackage{xspace}% \RequirePackage{xkeyval} @@ -213,11 +213,11 @@ \gdef\eled@sectionsR@@{}% \if@noeled@sec\else% \makeatletter% - \InputIfFileExists% -{\l@auxdir\jobname.eledsec\the\section@numR R}% - {}% -{\led@warn@NoFile{\l@auxdir\jobname.eledsec\the\section@numR R}}% - \makeatother% + \InputIfFileExists% + {\l@auxdir\jobname.eledsec\the\section@numR R}% + {}% + {\led@warn@NoFile{\l@auxdir\jobname.eledsec\the\section@numR R}}% + \makeatother% \immediate\openout\eled@sectioningR@out=\l@auxdir\jobname.eledsec\the\section@numR R\relax% \fi% } @@ -1180,6 +1180,7 @@ {% \if@firstlineofpage% \set@Xtxtbeforenotes% + \set@txtbeforenotesX% \global\@firstlineofpagefalse% \fi% \ifdefstring{\ms@data@position}{msdata-regular}{% @@ -1221,6 +1222,7 @@ \l@dld@ta% \if@firstlineofpage% \set@Xtxtbeforenotes% + \set@txtbeforenotesX% \global\@firstlineofpagefalse% \fi% \ifdefstring{\ms@data@position}{msdata-regular}{% @@ -1318,6 +1320,7 @@ {% \if@firstlineofpageR% \set@Xtxtbeforenotes% + \set@txtbeforenotesX% \global\@firstlineofpageRfalse% \fi% \ifdefstring{\ms@data@position}{msdata-regular}{% @@ -1362,6 +1365,7 @@ \l@dld@ta% \if@firstlineofpageR% \set@Xtxtbeforenotes% + \set@txtbeforenotesX% \global\@firstlineofpageRfalse% \fi% \ifdefstring{\ms@data@position}{msdata-regular}{% @@ -1491,9 +1495,9 @@ \l@dskipnumbertrue \or% % 1008 = skipping numbering in stanza \l@dskipversenumberRtrue% - \or% % 1009 = hiding number + \or% % 1009 = hiding number \l@dhidenumbertrue% - \or% % 1010 = inserting msdata + \or% % 1010 = inserting msdata \add@msdata% \else% \led@warn@BadAction |