summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/reledmac/reledmac.dtx')
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledmac.dtx63
1 files changed, 45 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/reledmac/reledmac.dtx b/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
index 1d7b87abad3..c94169cc627 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
@@ -458,6 +458,7 @@
% \changes{v2.17.2}{2017/01/25}{Change log message when numbered files don't still exist, in order to improve compatibility with \protect\emph{latexmk}.}
% \changes{v2.17.3}{2017/01/31}{Fix bug with \protect\cs{doendnotesbysection} and \protect\cs{doendnotes}.}
% \changes{v2.17.4}{2017/02/10}{Fix bug with \protect\cs{setSErefonlypageprefixsingle} and \protect\cs{setSErefonlypageprefixmore}.}
+% \changes{v2.17.5}{2017/02/12}{Fix bug with \protect\cs{pstartref} when refering to the left side of a parallel typesetting.}
% \title{\Macpackage \\
% Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
% has version number \fileversion, last revised \filedate.}}
@@ -3860,7 +3861,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2017/02/10 v2.17.4 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2017/02/12 v2.17.5 typesetting critical editions]%
% \end{macrocode}
%
% \subsection{Package options}
@@ -14360,11 +14361,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%
@@ -14375,11 +14384,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}%
@@ -14515,13 +14532,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%
% \end{macrocode}
% Use the \LaTeX\ standard hack for label.