diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/eledmac/eledpar.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/eledmac/eledpar.dtx | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/eledmac/eledpar.dtx b/Master/texmf-dist/source/latex/eledmac/eledpar.dtx index 307a5eb73a1..2ec3c879ce8 100644 --- a/Master/texmf-dist/source/latex/eledmac/eledpar.dtx +++ b/Master/texmf-dist/source/latex/eledmac/eledpar.dtx @@ -51,7 +51,7 @@ % % \fi % -% \CheckSum{3882} +% \CheckSum{3904} % % \makeatletter % \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters @@ -154,6 +154,7 @@ % \changes{v1.0}{2012/09/14}{Compatibility with eledmac. Change name to eledpar.} % \changes{v1.0.1}{2012/09/16}{Correction on \cs{numberonlyfirstinline} with lineation by pstart or by page.} % \changes{v1.1}{2012/09/25}{Shiftedverses becomes shiftedpstarts.} +% \changes{v1.2}{2012/10/15}{Support for \cs{led}\meta{section} commands in parallel texts.} % \hyphenation{man-u-script man-u-scripts} % % \newcommand{\Lpack}[1]{\textsf{#1}} @@ -717,7 +718,7 @@ % \begin{macrocode} %<*code> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eledpar}[2012/10/06 v1.1.2 eledmac extension for parallel texts] +\ProvidesPackage{eledpar}[2012/10/08 v1.2 eledmac extension for parallel texts] % \end{macrocode} % With the option `shiftedpstarts' a long pstart one the left side (or in the right side) don't make a blank on the corresponding pstart, but the blank is put on the bottom of the page. Consequently, the pstarts on the parallel pages are shifted, but the shifted stop at every end of pages. @@ -882,6 +883,9 @@ \line@list@stuffR{\jobname.\extensionchars\the\section@numR R}% \l@dend@stuff \setcounter{pstartR}{1} + \begingroup + \initnumbering@sectcmd + \initnumbering@sectcountR } % \end{macrocode} @@ -916,11 +920,27 @@ \fi \else \led@err@NumberingNotStarted - \fi} + \fi\endgroup} % \end{macrocode} % \end{macro} -% +% \begin{macro}{\initnumbering@sectcountR} +% For we want the numbering of the section commands in the right side to be not continous +% with the numbering of the rightside +% we switch the \LaTeX\ counter in \cs{numberingR}. +% \begin{macrocode} +\newcommand{\initnumbering@sectcountR}{ + \newcounter{chapterR} + \newcounter{sectionR} + \newcounter{subsectionR} + \newcounter{subsubsectionR} + \let\c@chapter\c@chapterR + \let\c@section\c@sectionR + \let\c@subsection\c@subsectionR + \let\c@subsubsection\c@subsubsectionR +} +% \end{macrocode} +% \end{macro} % % \begin{macro}{\pausenumberingR} % \begin{macro}{\resumenumberingR} |