summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/reledmac/reledpar.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/reledmac/reledpar.dtx')
-rw-r--r--macros/latex/contrib/reledmac/reledpar.dtx43
1 files changed, 7 insertions, 36 deletions
diff --git a/macros/latex/contrib/reledmac/reledpar.dtx b/macros/latex/contrib/reledmac/reledpar.dtx
index f2f6051560..2570473276 100644
--- a/macros/latex/contrib/reledmac/reledpar.dtx
+++ b/macros/latex/contrib/reledmac/reledpar.dtx
@@ -341,6 +341,8 @@
% \changes{v2.23.0}{2020/03/08}{Add \protect\cs{Leftpagehook} and \protect\cs{Rightpagehook}.}
% \changes{v2.23.0}{2020/03/08}{Add hanging symbol feature to \protect\env{astanza}.}
% \changes{v2.23.1}{2020/04/19}{Fix bug when using \protect\package{polyglossia} v1.45 or later.}
+% \changes{v2.24.0}{2020/05/31}{Add startstanzaindentsrepetition feature.}
+% \changes{v2.24.0}{2020/05/31}{Add antilabe feature.}
% ^^A PW added following as the definitions are at some unknown elsewhere
%
% \newcommand{\egstart}{%
@@ -1396,7 +1398,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2020/04/19 v2.23.1 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2020/05/31 v2.24.0 reledmac extension for parallel texts]%
% \end{macrocode}
% \subsection{Package's requirement}
@@ -1577,7 +1579,7 @@
\newcommand{\led@err@polyglossiaTooOld}{%
\reledpar@error{You use the polyglosia package.%
\MessageBreak However, reledpar requires version 2020/04/08 v1.49 or later of the polyglossia package.%
- \MessageBreak Please update your reledpar version}{\@ehc}%
+ \MessageBreak Please update your polyglossia version}{\@ehc}%
}%
% \end{macrocode}
% \end{macro}
@@ -3425,24 +3427,6 @@
% \end{environment}
%
%
-% \begin{macro}{ifinstanzaL}
-% \begin{macro}{ifinstanzaR}
-% These boolean tests are switched by the \protect\cs{stanza} command, using either the left or right side.
-% \begin{macrocode}
- \newif\ifinstanzaL
- \newif\ifinstanzaR
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \begin{macro}{ifinastanzaL}
-% \begin{macro}{ifinastanzaR}
-% These boolean tests are switched by the \protect\env{astanza} environnement, using either the left or right side.
-% \begin{macrocode}
- \newif\ifinastanzaL%
- \newif\ifinastanzaR%
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
% \begin{environment}{Leftside}
% Within the \verb?pairs? and \verb?pages? environments the left and
% right hand texts are within \verb?Leftside? and \verb?Rightside?
@@ -3825,6 +3809,7 @@
\@at@end@every@pend%
\endgraf\global\num@lines=\prevgraf\egroup%
\global\par@line=0%
+ \get@firsthalf@antilabe@wd%
% \end{macrocode}
% End the group that was begun in the \protect\cs{pstart}.
% \begin{macrocode}
@@ -3886,6 +3871,7 @@
\@at@end@every@pend%
\endgraf\global\num@linesR=\prevgraf\egroup%
\global\par@lineR=0%
+ \get@firsthalf@antilabe@wd%
\endgroup%
\ignorespaces%
\@oldnobreak%
@@ -5453,22 +5439,7 @@
% the paragraph style --- each line is treated as a paragraph.
% \begin{macrocode}
\newcommand*{\@astanza@line}{%
- \ifnum\value{stanzaindentsrepetition}=0
- \ifcsdef{sza@\number\stanza@count @}%
- {%
- \parindent=\csname sza@\number\stanza@count @\endcsname\stanzaindentbase%
- }{%
- \led@err@StanzaIndentNotDefined%
- }%
- \else
- \ifcsdef{sza@\number\stanza@modulo @}{%
- \parindent=\csname sza@\number\stanza@modulo @\endcsname\stanzaindentbase%
- \managestanza@modulo%
- }%
- {%
- \led@err@StanzaIndentNotDefined%
- }%
- \fi
+ \stanza@indent%
\endgraf
\stanza@hang%
\ignorespaces}