summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-23 22:18:42 +0000
committerKarl Berry <karl@freefriends.org>2019-02-23 22:18:42 +0000
commit86ffc22eba4103f3f056180b2eb16e078d76bb90 (patch)
tree00600b3552155da945ff54c289cfee0e9c2cdf8e /Master/texmf-dist/tex
parent1ee27b0002a9bd4d7d1758930c7a8253b0615c08 (diff)
reledmac (22feb19)
git-svn-id: svn://tug.org/texlive/trunk@50105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/reledmac/reledmac.sty24
1 files changed, 16 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
index 691e42bc162..08eb6ab09c6 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}[2019/01/22 v2.30.0 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2019/02/22 v2.31.0 typesetting critical editions]%
\RequirePackage{xkeyval}
\newif\ifparledgroup
\newif\ifsameparallelpagenumber%
@@ -5736,6 +5736,8 @@
\newhooktoggle@specific{fulllines}%
\newhooktoggle@specific{nonum}
\newhooktoggle@specific{nosep}
+\newhooktoggle@specific{noprefix}%
+\newhooktoggle@specific{prefixmore}%
\newhookarg@specific{linerangesep}
\newtoggle{nomk@}%
\newcommandx*{\Xnolemmaseparator}[1][1]{\Xlemmaseparator[#1]{}}
@@ -6423,13 +6425,19 @@
}%
\notblank{#1}{\docsvlist{#1}}{}%
\xdef\@currentseries{#3}%
- \ifcsempty{@#3prefixmore}%
- {\@apprefprefixsingle}%
- {%
- \IfEq{\xlineref{#2:start}}{\xlineref{#2:end}}%
- {\csuse{@#3prefixsingle}}%
- {\csuse{@#3prefixmore}}%
- }%
+ \iftoggle{noprefix@}{}%
+ {%
+ \ifcsempty{@#3prefixmore}%
+ {\@apprefprefixsingle}%
+ {%
+ \IfEq{\xlineref{#2:start}}{\xlineref{#2:end}}%
+ {\iftoggle{prefixmore@}%
+ {\csuse{@#3prefixmore}}%
+ {\csuse{@#3prefixsingle}}%
+ }%
+ {\csuse{@#3prefixmore}}%
+ }%
+ }%
\ifboolexpr{%
test{\ifcsundef{the@label#2:start}}%
or test{\ifcsundef{the@label#2:end}}%