summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac/reledpar.sty')
-rw-r--r--Master/texmf-dist/tex/latex/reledmac/reledpar.sty32
1 files changed, 26 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
index c14c9498cf6..c6eb2776207 100644
--- a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
+++ b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
@@ -26,8 +26,9 @@
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2015/09/29 v2.4.0 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2015/10/14 v2.5.0 reledmac extension for parallel texts]%
\RequirePackage{xspace}%
\RequirePackage{xkeyval}
@@ -102,6 +103,11 @@
\newcommand*{\led@warn@ChangeSyncOption}[1]{%
\reledpar@warning{You have changed synchronization's options since last run. We have not read line-list file #1. Please run LaTeX again.}%
}%
+\newcommand{\led@warn@setting@in@rightside}[1]{%
+ \reledpar@warning{You use #1 inside rightside environment.\MessageBreak
+ Such behavior is deprecated.\MessageBreak
+ Use instead #1R or #1* in your preamble}.
+}
\newcount\section@numR
\section@numR=\z@
\pst@rtedLfalse
@@ -255,6 +261,19 @@
\newcount\line@marginR
\line@marginR=\@ne
+\newcommand{\linenummarginR}[1]{%
+ \l@dgetline@margin{#1}%
+ \ifnum\@l@dtempcntb>\m@ne%
+ \global\line@marginR=\@l@dtempcntb%
+ \fi%
+}
+\WithSuffix\newcommand\linenummargin*[1]{%
+ \l@dgetline@margin{#1}%
+ \ifnum\@l@dtempcntb>\m@ne%
+ \global\line@marginR=\@l@dtempcntb%
+ \global\line@margin=\@l@dtempcntb%
+ \fi%
+}
\newcounter{firstlinenumR}
\setcounter{firstlinenumR}{5}
\newcounter{linenumincrementR}
@@ -907,7 +926,7 @@
\l@dld@ta %space kept for backward compatibility
\add@inserts\affixside@note%
\l@dlsn@te %space kept for backward compatibility
- {\ledllfill\hb@xt@ \Lcolwidth{%
+ \hb@xt@ \Lcolwidth{\ledllfill\hb@xt@ \wd\one@line{%
\do@insidelineLhook%
\ifluatex%
\textdir\l@luatextextdir@L%
@@ -1004,7 +1023,7 @@
\l@dld@ta %space kept for backward compatibility
\add@insertsR\affixside@noteR%
\l@dlsn@te %space kept for backward compatibility
- \ledllfill\hb@xt@ \Rcolwidth{%
+ \hb@xt@ \Rcolwidth{\ledllfill\hb@xt@ \wd\one@lineR{%
\do@insidelineRhook%
\new@lineR%
\inserthangingsymbolR%
@@ -1013,7 +1032,7 @@
\fi%
\l@dunhbox@line{\one@lineR}}\ledrlfill\l@drd@ta%
\l@drsn@te%
- }
+ }}
\def\print@eledsectionR{%
\addtocounter{pstartR}{-1}%
@@ -1575,6 +1594,7 @@
\def\&{\@stopastanza}%
\pstart[#1]%
\@astanza@line
+ \let\par\relax%No paragraph in verses
}{}
\newcommandx{\@stopastanza}[1][1,usedefault]{%
@@ -1590,8 +1610,8 @@
@\endcsname\stanzaindentbase
\managestanza@modulo
\fi
- \par
- \stanza@hang%\mbox{}%
+ \endgraf
+ \stanza@hang%
\ignorespaces}
\catcode`\&=\next