summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/reledmac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-31 21:08:57 +0000
committerKarl Berry <karl@freefriends.org>2017-07-31 21:08:57 +0000
commit89ca7ced47afa7482445dfbb4fda99f93d1ce4b4 (patch)
tree4ebb5f5c70ebff40aaa2b7cffa7195a2fc5ba834 /Master/texmf-dist/tex/latex/reledmac
parentb1509e1635c5c6bd6968b7b25122342aad89edcb (diff)
reledmac (31jul17)
git-svn-id: svn://tug.org/texlive/trunk@44929 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac')
-rw-r--r--Master/texmf-dist/tex/latex/reledmac/reledmac.sty23
-rw-r--r--Master/texmf-dist/tex/latex/reledmac/reledpar.sty7
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}{%