summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac/reledmac.sty')
-rw-r--r--Master/texmf-dist/tex/latex/reledmac/reledmac.sty41
1 files changed, 27 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
index bbbd72929ad..ae2a67ba432 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}[2020/07/06 v2.34.2 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2020/08/19 v2.34.3 typesetting critical editions]%
\RequirePackage{xkeyval}
\newif\ifparledgroup
\newif\ifsameparallelpagenumber%
@@ -1510,12 +1510,16 @@
\newcommand*{\setlinenum}[1]{%
- \ifnum#1<\z@
- \led@warn@BadSetlinenum
- \else
- \ifledRcol \write\linenum@outR{\string\l@d@set[#1]}
- \else \write\linenum@out{\string\l@d@set[#1]} \fi
- \fi}
+ \ifnum#1<\z@%
+ \led@warn@BadSetlinenum%
+ \else%
+ \ifledRcol%
+ \write\linenum@outR{\string\l@d@set[#1]}%
+ \else%
+ \write\linenum@out{\string\l@d@set[#1]}%
+ \fi%
+ \fi%
+}%
\newcommand*{\startlock}{%
@@ -2009,8 +2013,10 @@
\fi%
\ifbypstart@%
\begingroup%
- \let\leavevmode\relax%
- \setlinenum{0}%
+ \unless\ifinstanza%
+ \let\leavevmode\relax%
+ \setlinenum{0}%
+ \fi%
\endgroup%
\resetprevline@%
\fi%
@@ -4575,10 +4581,17 @@
{}%
\global\csname prevpage#1@numR\endcsname=\page@numR%
\else%
- \ifnumequal{\csuse{prevpage#1@num}}{\page@num}%
- {\csuse{parafootsepX@#1}}%
- {}%
- \global\csname prevpage#1@num\endcsname=\page@num%
+ \ifnumbering%
+ \ifnumequal{\csuse{prevpage#1@num}}{\page@num}%
+ {\csuse{parafootsepX@#1}}%
+ {}%
+ \global\csname prevpage#1@num\endcsname=\page@num%
+ \else%
+ \ifnumequal{\csuse{prevpage#1@num}}{\c@page}%
+ {\csuse{parafootsepX@#1}}%
+ {}%
+ \global\csname prevpage#1@num\endcsname=\c@page%
+ \fi%
\fi%
}
\newcommand{\wrapped@footfootmarkX}[1]{%
@@ -7819,7 +7832,7 @@
\parindent@beforestanza=\parindent}%Keep in memory the standard \parindent
\global\stanza@count\@ne\stanza@modulo\@ne
\noexpand\ifnum\expandafter\noexpand\csname sza@0@\endcsname=\z@%
- \let\noexpand\stanza@hang\relax%
+ \def\noexpand\stanza@hang{\unexpanded{\leavevmode\null}}%
\let\noexpand\endlock\relax%
\noexpand\else%
\interlinepenalty%