summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/ledmac/ledpar.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-02 22:41:52 +0000
committerKarl Berry <karl@freefriends.org>2012-09-02 22:41:52 +0000
commitb65f0d960936e701af2377d60458f03cc11558c1 (patch)
tree39ad5d298954a705d0e8390d99b41bb8856c5211 /Master/texmf-dist/source/latex/ledmac/ledpar.dtx
parentcef049e8672bfe38ebb3a818e7deb8cd7afae990 (diff)
ledmac (31aug12)
git-svn-id: svn://tug.org/texlive/trunk@27572 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/ledmac/ledpar.dtx')
-rw-r--r--Master/texmf-dist/source/latex/ledmac/ledpar.dtx14
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/ledmac/ledpar.dtx b/Master/texmf-dist/source/latex/ledmac/ledpar.dtx
index 4017277191d..ae8039e7fd6 100644
--- a/Master/texmf-dist/source/latex/ledmac/ledpar.dtx
+++ b/Master/texmf-dist/source/latex/ledmac/ledpar.dtx
@@ -50,7 +50,7 @@
%
% \fi
%
-% \CheckSum{4815}
+% \CheckSum{4822}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -133,6 +133,7 @@
% \def\fileversion{v0.10}\def\filedate{2012/04/04}
% \def\fileversion{v0.11}\def\filedate{2012/06/11}
% \def\fileversion{v0.12}\def\filedate{2012/08/03}
+% \def\fileversion{v0.13}\def\filedate{2012/08/30}
% \changes{v0.1}{2004/12/10}{First public release}
% \changes{v0.2}{2005/01/01}{Fix babel problems}
% \changes{v0.3}{2005/03/24}{Reorganize for ledarab}
@@ -706,7 +707,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ledpar}[2012/08/03 v0.12 ledmac extension for parallel texts]
+\ProvidesPackage{ledpar}[2012/08/30 v0.13 ledmac extension for parallel texts]
% \end{macrocode}
% With the option `shiftedverses' a long verse one the left side (or in the right side) don't make a blank on the corresponding verse, but the blank is put on the bottom of the page. Consequently, the verses on the parallel pages are shifted, but the shifted stop at every end of pages.
@@ -965,6 +966,7 @@
%
% \subsection{Choosing the system of lineation}
%% \changes{v0.11}{2012/06/11}{Lineation can be by pstart (like in ledmac 0.15).}
+%M \changes{v0.14}{2012/08/30}{Debug in lineation by pstart}
% Sometimes you want line numbers that start at $1$ at the top of each
% page; sometimes you want line numbers that start at $1$ at each \cs{pstart}; other times you want line numbers that start at $1$ at the start
% of each section and increase regardless of page breaks.
@@ -1778,15 +1780,17 @@
% \begin{macro}{\@pend}
% \begin{macro}{\@pendR}
% \cs{@pend}\marg{num} adds its argument to the \cs{linesinpar@listL}
-% list, and analagously for \cs{@pendR}. We start off with a
+% list, and analagously for \cs{@pendR}. If needed, it resets line number. We start off with a
% \cs{providecommand} just in case an older version of \Ledmac{} is being
% used which does not define these macros.
% \begin{macrocode}
\providecommand*{\@pend}[1]{}
\renewcommand*{\@pend}[1]{%
+ \ifbypstart@\global\line@num=0\fi%
\xright@appenditem{#1}\to\linesinpar@listL}
\providecommand*{\@pendR}[1]{}
\renewcommand*{\@pendR}[1]{%
+ \ifbypstart@R\global\line@numR=0\fi
\xright@appenditem{#1}\to\linesinpar@listR}
% \end{macrocode}
@@ -4702,7 +4706,7 @@
\ifbypstart@
\ifnum\value{pstartL}<\value{pstartLold}
\else
- \setline{0}
+ \global\line@num=0
\fi
\fi
\addtocounter{pstartL}{1}
@@ -4733,7 +4737,7 @@
\ifbypstart@R
\ifnum\value{pstartR}<\value{pstartRold}
\else
- \write\linenum@outR{\string\@set[0]}
+ \global\line@numR=0
\fi
\fi
\addtocounter{pstartR}{1}