diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 62 |
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% |