diff options
author | Karl Berry <karl@freefriends.org> | 2018-04-07 20:58:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-04-07 20:58:43 +0000 |
commit | 84deb36e8bed487533cffa6c630f307f030cb590 (patch) | |
tree | f8dc1828fb9192d9d5459349df3ee877f7f7e55b /Master/texmf-dist/tex/latex/reledmac/reledpar.sty | |
parent | 9e5940c56dfe63fab26f34250ac55e37ece2c560 (diff) |
reledmac (7apr18)
git-svn-id: svn://tug.org/texlive/trunk@47359 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac/reledpar.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledpar.sty | 79 |
1 files changed, 3 insertions, 76 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty index 7b32b3b2a0f..fbab2637338 100644 --- a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty +++ b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty @@ -28,7 +28,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledpar}[2018/04/06 v2.21.6 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2018/04/07 v2.21.7 reledmac extension for parallel texts]% \RequirePackage{xspace}% \RequirePackage{xkeyval} @@ -67,8 +67,6 @@ \DeclareOptionX{parledgroup}{\parledgrouptrue} \DeclareOptionX{widthliketwocolumns}{\widthliketwocolumnstrue}% \DeclareOptionX{continuousnumberingwithcolumns}{\continuousnumberingwithcolumnstrue}% -\newif\ifsameparallelpagenumber -\newif\ifprevpgnotnumbered \DeclareOptionX{sameparallelpagenumber}{\sameparallelpagenumbertrue} \DeclareOptionX{prevpgnotnumbered}{\prevpgnotnumberedtrue} \DeclareOptionX{prevpgstyle}{\gdef\prevpgstyle{#1}}% @@ -770,20 +768,10 @@ }% \newcommand*{\new@lineL}{% - \ifboolexpr{% - bool{sameparallelpagenumber}% - or bool{prevpgnotnumbered}% - }% - {\write\linenum@out{\string\@nl[\the\c@par@page][\thepar@page]}}% - {\write\linenum@out{\string\@nl[\the\c@page][\thepage]}}% + \write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}% }% \newcommand*{\new@lineR}{% - \ifboolexpr{% - bool{sameparallelpagenumber}% - or bool{prevpgnotnumbered}% - }% - {\write\linenum@outR{\string\@nl[\the\c@par@page][\thepar@page]}}% - {\write\linenum@outR{\string\@nl[\the\c@page][\thepage]}}% + \write\linenum@outR{\string\@nl[\the\c@par@page][\thepar@page]}% }% \newcommand{\newseries@par}[1]{% @@ -3283,67 +3271,6 @@ \fi \fi} - - - -\newcommand{\par@patch@thepage}{% - \ifboolexpr{% - bool{sameparallelpagenumber}% - or bool{prevpgnotnumbered}% - }% - {% - \patchcmd{\thepage}% - {page}{par@page}% - {}% - {\led@error@fail@patch@thepage}% - }{}% -}% - -\newcommand{\par@patch@pagenumbering}{% - \ifboolexpr{% - bool{sameparallelpagenumber}% - or bool{prevpgnotnumbered}% - }% - {% - \setcounter{par@page}{1}% - }% - {}% - \par@patch@thepage% -}% - -\ifl@dmemoir% - \apptocmd{\@mempnum}% - {\par@patch@pagenumbering}% - {}%% - {\led@error@fail@patch@@mempnum}% - -\else% - \apptocmd{\pagenumbering}% - {\par@patch@pagenumbering}% - {}% - {\led@error@fail@patch@pagenumbering}% -\fi% - -\AtBeginDocument{\par@patch@thepage}% -\AtBeginDocument{% - \apptocmd{\@outputpage}{% - \ifsameparallelpagenumber% - \ifl@dprintingpages% - \ifodd\c@page\else% - \stepcounter{par@page}% - \fi% - \else% - \stepcounter{par@page}% - \fi% - \else% - \stepcounter{par@page}% - \fi% - }% - {}% - {\led@error@fail@patch@@outputpage}% -} -\newcounter{par@page}% -\setcounter{par@page}{1}% \newif\ifPages@mainmatter \newcommand{\Pages@mainmatter}{% \ifPages@mainmatter% |