diff options
author | Norbert Preining <norbert@preining.info> | 2020-08-20 03:01:54 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-08-20 03:01:54 +0000 |
commit | e2dfc4cc8dc03d323073de46903005e3a9d12255 (patch) | |
tree | 283bcf119eff28b9f992e1005d38353626efcd2e /macros/latex/contrib/reledmac/reledmac.dtx | |
parent | 75955a0dece2b1996d51d4f43ad5778cd6d5b4cc (diff) |
CTAN sync 202008200301
Diffstat (limited to 'macros/latex/contrib/reledmac/reledmac.dtx')
-rw-r--r-- | macros/latex/contrib/reledmac/reledmac.dtx | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/macros/latex/contrib/reledmac/reledmac.dtx b/macros/latex/contrib/reledmac/reledmac.dtx index a568f76f44..a2e92f6b3e 100644 --- a/macros/latex/contrib/reledmac/reledmac.dtx +++ b/macros/latex/contrib/reledmac/reledmac.dtx @@ -560,6 +560,9 @@ % \changes{v2.34.0}{2020/06/24}{Add \protect\cs{Xpstartseparator}.} % \changes{v2.34.1}{2020/06/30}{Fix bug with page number when using stanazindentsrepetition, bug introduced in v2.33.0} % \changes{v2.34.2}{2020/07/06}{Fix bug with tabular environment, in some specific use case, added in v2.32.7} +% \changes{v2.34.3}{2020/08/19}{Fix bug with \protect\cs{parafootsepX} when the footnotes are called outside of a numbered section.} +% \changes{v2.34.3}{2020/08/19}{Fixes incompatibility between Fixes incompatibility between lineation by \protect\cs{pstart} and (a)stanza.} +% \changes{v2.34.3}{2020/08/19}{Makes command like \protect\cs{hidenumbering} working at the very beginning of a verse when the first argument of \protect\cs{setstanzaindents} is equal to 0.} % Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename) % has version number \fileversion, last revised \filedate.}} % @@ -4400,7 +4403,7 @@ % \begin{macrocode} %<*code> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledmac}[2020/07/06 v2.34.2 typesetting critical editions]% +\ProvidesPackage{reledmac}[2020/08/19 v2.34.3 typesetting critical editions]% % \end{macrocode} % % \subsection{Package options} @@ -7673,12 +7676,16 @@ % \begin{macrocode} \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% +}% % \end{macrocode} % \end{macro} @@ -8953,8 +8960,10 @@ % \begin{macrocode} \ifbypstart@% \begingroup% - \let\leavevmode\relax% - \setlinenum{0}% + \unless\ifinstanza% + \let\leavevmode\relax% + \setlinenum{0}% + \fi% \endgroup% \resetprevline@% \fi% @@ -13653,10 +13662,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% } % \end{macrocode} @@ -18877,7 +18893,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% |