summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/reledmac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 23:22:04 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 23:22:04 +0000
commit669edaa06be6f2ba6810fb85a0c738962477cd7a (patch)
tree0f74c39dc783ed4f594263e83f35cd0fbff6d0c5 /Master/texmf-dist/tex/latex/reledmac
parentff96a79c7a7cd21eba465d123a37f3824c1e7fbb (diff)
reledmac (13feb17)
git-svn-id: svn://tug.org/texlive/trunk@43220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac')
-rw-r--r--Master/texmf-dist/tex/latex/reledmac/reledmac.sty62
1 files changed, 44 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
index a2a44c3efd8..0f15d28a7e2 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/02/10 v2.17.4 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2017/02/12 v2.17.5 typesetting critical editions]%
\RequirePackage{xkeyval}
\newif\ifparledgroup
\DeclareOptionX{series}[A,B,C,D,E]{\xdef\default@series{#1}}
@@ -5287,11 +5287,19 @@
\fi%
}{%
\ifXnote@%
- \protected@write\@auxout{}%
- {\string\l@dmake@labels\space\thepage|\l@dparsedstartline|\l@dparsedstartsub|\the\c@pstart|{#1}}%
- \ifdef{\hypertarget}%
- {\Hy@raisedlink{\hypertarget{#1}{}}}%
- {}%
+ \ifl@dpairing%pstart or pstartL?
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\thepage|\l@dparsedstartline|\l@dparsedstartsub|\the\c@pstartL|{#1}}%
+ \ifdef{\hypertarget}%
+ {\Hy@raisedlink{\hypertarget{#1}{}}}%
+ {}%
+ \else%
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\thepage|\l@dparsedstartline|\l@dparsedstartsub|\the\c@pstart|{#1}}%
+ \ifdef{\hypertarget}%
+ {\Hy@raisedlink{\hypertarget{#1}{}}}%
+ {}%
+ \fi%
\else%
\write\linenum@out{\string\@lab}%
\ifx\labelref@list\empty%
@@ -5302,11 +5310,19 @@
\ifvmode%
\advancelabel@refs%
\fi%
- \protected@write\@auxout{}%
- {\string\l@dmake@labels\space\thepage|\label@refs|\the\c@pstart|{#1}}%
- \ifdef{\hypertarget}%
- {\Hy@raisedlink{\hypertarget{#1}{}}}%
- {}%
+ \ifl@dpairing%Pstart or PstartL?
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\thepage|\label@refs|\the\c@pstartL|{#1}}%
+ \ifdef{\hypertarget}%
+ {\Hy@raisedlink{\hypertarget{#1}{}}}%
+ {}%
+ \else%
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\thepage|\label@refs|\the\c@pstart|{#1}}%
+ \ifdef{\hypertarget}%
+ {\Hy@raisedlink{\hypertarget{#1}{}}}%
+ {}%
+ \fi%
\fi%
}%
\@esphack}%
@@ -5369,13 +5385,23 @@
\protected@write\@auxout{}%
{\string\l@dmake@labelsR\space\l@dparsedendpage|\l@dparsedendline|\l@dparsedendsub|\the\c@pstartR|{#1:end}}%
\else%
- \protected@write\@auxout{}%
- {\string\l@dmake@labels\space\l@dparsedstartpage|\l@dparsedstartline|\l@dparsedstartsub|\the\c@pstart|{#1:start}}%
- \ifdef{\hypertarget}%
- {\Hy@raisedlink{\hypertarget{#1:start}{}}}%
- {}%
- \protected@write\@auxout{}%
- {\string\l@dmake@labels\space\l@dparsedendpage|\l@dparsedendline|\l@dparsedendsub|\the\c@pstart|{#1:end}}%
+ \ifl@dpairing%pstart or pstartL?
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\l@dparsedstartpage|\l@dparsedstartline|\l@dparsedstartsub|\the\c@pstartL|{#1:start}}%
+ \ifdef{\hypertarget}%
+ {\Hy@raisedlink{\hypertarget{#1:start}{}}}%
+ {}%
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\l@dparsedendpage|\l@dparsedendline|\l@dparsedendsub|\the\c@pstartL|{#1:end}}%
+ \else%
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\l@dparsedstartpage|\l@dparsedstartline|\l@dparsedstartsub|\the\c@pstart|{#1:start}}%
+ \ifdef{\hypertarget}%
+ {\Hy@raisedlink{\hypertarget{#1:start}{}}}%
+ {}%
+ \protected@write\@auxout{}%
+ {\string\l@dmake@labels\space\l@dparsedendpage|\l@dparsedendline|\l@dparsedendsub|\the\c@pstart|{#1:end}}%
+ \fi%
\fi%
\@esphack%
\else%