diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledpar.sty | 7 |
2 files changed, 21 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty index 90b7a28245a..74e63cd12c4 100644 --- a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty +++ b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty @@ -35,7 +35,7 @@ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledmac}[2017/07/07 v2.22.1 typesetting critical editions]% +\ProvidesPackage{reledmac}[2017/07/31 v2.23.0 typesetting critical editions]% \RequirePackage{xkeyval} \newif\ifparledgroup \DeclareOptionX{series}[A,B,C,D,E]{\xdef\default@series{#1}} @@ -106,6 +106,11 @@ \DeclareOptionX{auxdir}{% \xdef\l@auxdir{#1/}% }% + +\newif\ifsw@caseinsensitive% +\DeclareOptionX{swcaseinsensitive}{% + \sw@caseinsensitivetrue% +}% \ProcessOptionsX*\relax \RequirePackage{xargs} @@ -1209,16 +1214,18 @@ \newwrite\linenum@out \newif\iffirst@linenum@out@ \first@linenum@out@true -\newcommand{\this@line@list@version}{6}% +\newcommand{\this@line@list@version}{7}% \newcommand*{\line@list@stuff}[1]{% \global\newtoggle{notfirstrun@#1}% + \IfFileExists{\l@auxdir#1}% + {\global\toggletrue{notfirstrun@#1}}% + {\global\togglefalse{notfirstrun@#1}}% \read@linelist{#1}% \iffirst@linenum@out@ \immediate\closeout\linenum@out% \global\first@linenum@out@false% \immediate\openout\linenum@out=\l@auxdir#1\relax% \immediate\write\linenum@out{\string\line@list@version{\this@line@list@version}}% - \immediate\write\linenum@out{\string\global\string\toggletrue{notfirstrun@#1}}% \ifl@dpaging% \immediate\write\linenum@out{\string\@par@sync@option{\@par@this@sync@option}}% \fi% @@ -1229,7 +1236,6 @@ \closeout\linenum@out% \openout\linenum@out=\l@auxdir#1\relax% \write\linenum@out{\string\line@list@version{\this@line@list@version}}% - \protected@write\linenum@out{}{\string\global\string\toggletrue{notfirstrun@#1}}% \ifl@dpaging% \write\linenum@out{\string\@par@sync@option{\@par@this@sync@option}}% \fi% @@ -1551,10 +1557,15 @@ \let\textbf\@firstofone% \let\textsc\@firstofone% \let\framebox\@firstofone% + \ifsw@caseinsensitive% + \def\@tmpa##1{\lowercase{##1}}% + \else% + \def\@tmpa##1{##1}% + \fi% \ifxetex% - \xdef\sw@txt{#1}% + \@tmpa{\xdef\sw@txt{#1}}% \else% - \expandafter\xdef\expandafter\sw@txt\expandafter{\detokenize{#1}}% + \@tmpa{\expandafter\xdef\expandafter\sw@txt\expandafter{\detokenize{#1}}}% \fi% \endgroup% }% diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty index 8c478361bbf..c1eb04a81e4 100644 --- a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty +++ b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty @@ -29,7 +29,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledpar}[2017/07/07 v2.19.2 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2017/07/07 v2.19.4 reledmac extension for parallel texts]% \RequirePackage{xspace}% \RequirePackage{xkeyval} @@ -702,13 +702,15 @@ \first@linenum@out@Rtrue \newcommand*{\line@list@stuffR}[1]{% \global\newtoggle{notfirstrun@#1}% + \IfFileExists{\l@auxdir#1}% + {\global\toggletrue{notfirstrun@#1}}% + {\global\togglefalse{notfirstrun@#1}}% \read@linelist{#1}% \iffirst@linenum@out@R \immediate\closeout\linenum@outR \global\first@linenum@out@Rfalse \immediate\openout\linenum@outR=\l@auxdir#1% \immediate\write\linenum@outR{\string\line@list@version{\this@line@list@version}}% - \immediate\write\linenum@outR{\string\global\string\toggletrue{notfirstrun@#1}}% \ifl@dpaging% \immediate\write\linenum@outR{\string\@par@sync@option{\@par@this@sync@option}}% \fi% @@ -718,7 +720,6 @@ \fi% \closeout\linenum@outR% \openout\linenum@outR=\l@auxdir#1% - \protected@write\linenum@outR{}{\string\global\string\toggletrue{notfirstrun@#1}}% \fi} \newcommand*{\new@lineL}{% |