diff options
author | Karl Berry <karl@freefriends.org> | 2012-10-17 23:15:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-10-17 23:15:10 +0000 |
commit | 868aa39200beca0eda1c1e7578470ee1f3d4b4ed (patch) | |
tree | 0572d53474141bd80738b0deade87385cdd841c9 /Master/texmf-dist/tex/latex/eledmac/eledpar.sty | |
parent | df2ce83ed9a6a3beca08c07cc656611e26d220d7 (diff) |
eledmac (17oct12)
git-svn-id: svn://tug.org/texlive/trunk@28006 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eledmac/eledpar.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/eledmac/eledpar.sty | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty index 3ba695d9dad..b6d6b4efbfb 100644 --- a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty +++ b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty @@ -24,7 +24,7 @@ %% \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] \newif\ifshiftedpstarts \let\shiftedversestrue\shiftedpstartstrue @@ -90,6 +90,9 @@ \line@list@stuffR{\jobname.\extensionchars\the\section@numR R}% \l@dend@stuff \setcounter{pstartR}{1} + \begingroup + \initnumbering@sectcmd + \initnumbering@sectcountR } \def\endnumberingR{% @@ -111,8 +114,18 @@ \fi \else \led@err@NumberingNotStarted - \fi} - + \fi\endgroup} + +\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 +} \newcommand*{\pausenumberingR}{% \endnumberingR\global\numberingRtrue} \newcommand*{\resumenumberingR}{% |