summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/reledmac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-10 21:01:44 +0000
committerKarl Berry <karl@freefriends.org>2016-04-10 21:01:44 +0000
commit93ce4959f15b3a5e4790597cded9ca47050e6d91 (patch)
tree0edd73b3db004f36fedc6189b8ad75232c334b80 /Master/texmf-dist/source/latex/reledmac
parent6754a8cd4357c6c60e9fcca86b1804be59f50eb4 (diff)
reledmac (10apr16)
git-svn-id: svn://tug.org/texlive/trunk@40388 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/reledmac')
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledmac.dtx74
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledpar.dtx18
2 files changed, 57 insertions, 35 deletions
diff --git a/Master/texmf-dist/source/latex/reledmac/reledmac.dtx b/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
index 903771c1dfb..06e07289a51 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
@@ -382,15 +382,16 @@
% \changes{v2.8.0}{2016/01/15}{\protect\macpackage cross-referencing can take advantage of \protect\package{xr} package.}
% \changes{v2.8.0}{2016/01/15}{No indentation for paragraphed notes in ledgroup. Can be changed with \protect\cs{Xparindent} and \protect\cs{parindentX}.}
% \changes{v2.8.0}{2016/01/15}{More \protect\cs{edgls…} commands.}
-% \changes{v2.8.1}{2016/02/22}{Warning for undefined labels are really parsable by latexmk}
+% \changes{v2.8.1}{2016/02/22}{Warnings for undefined labels are really parsable by latexmk}
% \changes{v2.8.2}{2016/02/27}{Fix bug with \protect\cs{AtEveryPstart} added in version 2.0.0.}
-% \changes{v2.8.2}{2016/02/27}{Fix bug with vertical space after between sectioning command as optional argument of a \protect\cs{pstart} and \protect\cs{pstart} content}
-% \changes{v2.8.2}{2016/02/27}{Fix bug concerning indent in a paragraph immediatly following a sectioning command (bug NOT fixed on reledpar)}
-% \changes{v2.9.0}{2016/03/23}{Allow to make continuing line numbering between normal text and parallel text, using \protect\cs{pausenumbering} and \protect\cs{resumenumbering} and the \protect\option{continuousnumberingwithcolumns} option.}
+% \changes{v2.8.2}{2016/02/27}{Fix bug with vertical space after the between-sectioning command as optional argument of a \protect\cs{pstart} and \protect\cs{pstart} content}
+% \changes{v2.8.2}{2016/02/27}{Fix bug concerning indent in a paragraph immediately following a sectioning command (bug NOT fixed on reledpar)}
+% \changes{v2.9.0}{2016/03/23}{Allow continuing line numbering between normal text and parallel text, using \protect\cs{pausenumbering} and \protect\cs{resumenumbering} and the \protect\option{continuousnumberingwithcolumns} option.}
% \changes{v2.9.0}{2016/03/23}{Fix bug when using \protect\cs{linenum}\protect\arg{page} and \protect\cs{pausenumbering}\protect\ldots\protect\cs{resumenumbering}.}
% \changes{v2.9.0}{2016/03/23}{Write correct metadata in numbered files when using \protect\cs{pausenumbering}\protect\ldots\protect\cs{resumenumbering}.}
-% \changes{v2.9.0}{2016/03/23}{Fix bug with three and two columns footnote setting (added in v.2.4.0).}
-% \changes{v2.9.0}{2016/03/23}{Fix spurious space inside three columns familiar footnote.}
+% \changes{v2.9.0}{2016/03/23}{Fix bug with three- and two-column footnote setting (added in v.2.4.0).}
+% \changes{v2.9.0}{2016/03/23}{Fix spurious space inside three-column familiar footnote.}
+% \changes{v2.9.1}{2016/04/09}{Fix bug when notes start by ``plus'' or ``minus''.}
% \title{\Macpackage \\
% Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
% has version number \fileversion, last revised \filedate.}}
@@ -639,8 +640,8 @@
% problems with a line or two misnumbered at the top of a page, try
% running \LaTeX\ once or twice more.
%
-% However, the best way to be sure to have made the good number of runs
-% is to use some \LaTeX's run scripts like \emph{latexmk}.
+% However, the best way to be sure that one has made the right number of runs
+% is to use some of \LaTeX's run scripts like \emph{latexmk}.
%
% A file may mix \emph{numbered} and \emph{unnumbered} text.
%
@@ -3485,7 +3486,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2016/03/23 v2.9.0 typeset critical edition]%
+\ProvidesPackage{reledmac}[2016/04/09 v2.9.1 typeset critical edition]%
% \end{macrocode}
%
% \subsection{Package options}
@@ -7341,8 +7342,8 @@
\normal@pars%
\ifstrempty{#1}{\at@every@pend}{\noindent#1}%
% \end{macrocode}
-% Restore standard nobreak setting and autopar setting.
-% Normally, \cs{if@nobreak} is equal to true only immediatly after a sectioning command (read latex.ltx file). As a \cs{pstart}…\cs{pend} structure can't contain any sectioning command, we set \cs{if@nobreak} to false.
+% Restore standard nobreak setting and autopar setting.
+% Normally, \cs{if@nobreak} is equal to true only immediately after a sectioning command (read latex.ltx file). As a \cs{pstart}…\cs{pend} structure can't contain any sectioning command, we set \cs{if@nobreak} to false.
% \begin{macrocode}
\@nobreakfalse%
\ifautopar%
@@ -8678,9 +8679,14 @@
{\select@lemmafont#1|{\csuse{Xlemmafont@#4}#2}}%
{{\csuse{Xlemmafont@#4}#2}}%
}%
- \iftoggle{nosep@}{\hskip\csuse{Xinplaceoflemmaseparator@#4}}{\ifcsempty{Xlemmaseparator@#4}%
- {\hskip\csuse{Xinplaceoflemmaseparator@#4}}%
- {\nobreak\hskip\csuse{Xbeforelemmaseparator@#4}\csuse{Xlemmaseparator@#4}\hskip\csuse{Xafterlemmaseparator@#4}\relax%
+ \iftoggle{nosep@}{%
+ \hskip\csuse{Xinplaceoflemmaseparator@#4}%
+ \relax%
+ }%
+ {\ifcsempty{Xlemmaseparator@#4}%
+ {\hskip\csuse{Xinplaceoflemmaseparator@#4}\relax}%
+ {\nobreak\hskip\csuse{Xbeforelemmaseparator@#4}\csuse{Xlemmaseparator@#4}\hskip\csuse{Xafterlemmaseparator@#4}%
+ \relax%
}}%
#3\strut\par}
% \end{macrocode}
@@ -9083,7 +9089,7 @@
\unskip % remove \rightskip,
\unskip % remove \parfillskip,
\unpenalty % remove \penalty of 10000,
- \hskip\csuse{Xafternote@#2}} % but add the glue to go between the notes
+ \hskip\csuse{Xafternote@#2}\relax}% but add the glue to go between the notes
% \end{macrocode}
% \end{macro}
@@ -9107,9 +9113,15 @@
{\select@lemmafont#1|{\csuse{Xlemmafont@#4}#2}}%
{{\csuse{Xlemmafont@#4}#2}}%
}%
- \iftoggle{nosep@}{\hskip\csuse{Xinplaceoflemmaseparator@#4}}{\ifcsempty{Xlemmaseparator@#4}%
- {\hskip\csuse{Xinplaceoflemmaseparator@#4}}%
- {\nobreak\hskip\csuse{Xbeforelemmaseparator@#4}\csuse{Xlemmaseparator@#4}\hskip\csuse{Xafterlemmaseparator@#4}%
+ \iftoggle{nosep@}{%
+ \hskip\csuse{Xinplaceoflemmaseparator@#4}\relax%
+ }%
+ {\ifcsempty{Xlemmaseparator@#4}%
+ {%
+ \hskip\csuse{Xinplaceoflemmaseparator@#4}\relax%
+ }%
+ {\nobreak\hskip\csuse{Xbeforelemmaseparator@#4}\csuse{Xlemmaseparator@#4}\hskip\csuse{Xafterlemmaseparator@#4}%
+ \relax%
}}%
#3\penalty-10 }
% \end{macrocode}
@@ -9403,9 +9415,13 @@
{\select@lemmafont#1|{\csuse{Xlemmafont@#4}#2}}%
{{\csuse{Xlemmafont@#4}#2}}%
}%
- \iftoggle{nosep@}{\hskip\csuse{Xinplaceoflemmaseparator@#4}}{\ifcsempty{Xlemmaseparator@#4}%
- {\hskip\csuse{Xinplaceoflemmaseparator@#4}}%
- {\nobreak\hskip\csuse{Xbeforelemmaseparator@#4}\csuse{Xlemmaseparator@#4}\hskip\csuse{Xafterlemmaseparator@#4}%
+ \iftoggle{nosep@}{%
+ \hskip\csuse{Xinplaceoflemmaseparator@#4}\relax%
+ }{%
+ \ifcsempty{Xlemmaseparator@#4}%
+ {\hskip\csuse{Xinplaceoflemmaseparator@#4}\relax}%
+ {\nobreak\hskip\csuse{Xbeforelemmaseparator@#4}\csuse{Xlemmaseparator@#4}\hskip\csuse{Xafterlemmaseparator@#4}%
+ \relax%
}}%
#3\strut\par\allowbreak}
% \end{macrocode}
@@ -9537,9 +9553,13 @@
{\select@lemmafont#1|{\csuse{Xlemmafont@#4}#2}}%
{{\csuse{Xlemmafont@#4}#2}}%
}%
- \iftoggle{nosep@}{\hskip\csuse{Xinplaceoflemmaseparator@#4}}{\ifcsempty{Xlemmaseparator@#4}%
- {\hskip\csuse{Xinplaceoflemmaseparator@#4}}%
+ \iftoggle{nosep@}{%
+ \hskip\csuse{Xinplaceoflemmaseparator@#4}%
+ \relax%
+ }{\ifcsempty{Xlemmaseparator@#4}%
+ {\hskip\csuse{Xinplaceoflemmaseparator@#4}\relax}%
{\nobreak\hskip\csuse{Xbeforelemmaseparator@#4}\csuse{Xlemmaseparator@#4}\hskip\csuse{Xafterlemmaseparator@#4}%
+ \relax%
}}%
#3\strut\par\allowbreak}
% \end{macrocode}
@@ -11065,7 +11085,8 @@
\unskip % remove \rightskip,
\unskip % remove \parfillskip,
\unpenalty % remove \penalty of 10000,
- \hskip\csuse{afternoteX@#2}} % but add the glue to go between the notes
+ \hskip\csuse{afternoteX@#2}%
+ \relax}% but add the glue to go between the notes
% \end{macrocode}
% \end{macro}
@@ -11533,7 +11554,7 @@
\csuse{Xendnotefontsize@#4}%
\hangindent=\csuse{Xendhangindent@#4}%
\ifXendinsertsep@%
- \hskip\csuse{Xendafternote@#4}%
+ \hskip\csuse{Xendafternote@#4}\relax%
\csuse{Xendsep@#4}%
\else%
\iftoggle{Xendparagraph@#4}%
@@ -11559,11 +11580,12 @@
togl {nosep@}%
or test{\ifcsempty{Xendlemmaseparator@#4}}%
}%
- {\hskip\csuse{Xendinplaceoflemmaseparator@#4}}%
+ {\hskip\csuse{Xendinplaceoflemmaseparator@#4}\relax}%
{\nobreak%
\hskip\csuse{Xendbeforelemmaseparator@#4}%
\csuse{Xendlemmaseparator@#4}%
\hskip\csuse{Xendafterlemmaseparator@#4}%
+ \relax%
}%
#3%
\nottoggle{Xendparagraph@#4}{\par}{}%
diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
index 62f9ec33255..fe2cf7b0ed2 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
@@ -266,8 +266,8 @@
% \changes{v2.6.2}{2015/11/29}{Fix bug (added in v2.6.0) with footnote numbering in parallel typesetting while using \protect\package{polyglossia} with specific numbering systems (like Greek).}
% \changes{v2.6.3}{2015/12/13}{Fix spurious dot when using \protect\cs{linenummargin} on right side (introduced in v2.5.0).}
% \changes{v2.7.0}{2016/01/15}{\protect\macpackage cross-referencing can take advantage of \protect\package{xr} package.}
-% \changes{v2.7.1}{2016/03/06}{Fix bug added in \protect\reledmac~2.8.2, when typesetting parallel text just after a sectionning command}
-% \changes{v2.8.0}{2016/03/23}{{Allow to make continuing line numbering between normal text and parallel text, using \protect\cs{pausenumbering} and \protect\cs{resumenumbering} and the \protect\option{continuousnumberingwithcolumns} option.}}
+% \changes{v2.7.1}{2016/03/06}{Fix bug added in \protect\reledmac~2.8.2, when typesetting parallel text just after a sectioning command}
+% \changes{v2.8.0}{2016/03/23}{{Allow continuing line numbering between normal text and parallel text, using \protect\cs{pausenumbering} and \protect\cs{resumenumbering} and the \protect\option{continuousnumberingwithcolumns} options.}}
% \changes{v2.8.0}{2016/03/23}{Fix bug when the right line number style is not the same to the left line number style}
% \changes{v2.8.0}{2016/03/23}{Add \protect\cs{linenumberLevenifblanktrue} and \protect\cs{linenumberRevenifblank} commands}
% ^^A PW added following as the definitions are at some unknown elsewhere
@@ -546,7 +546,7 @@
% In most cases, you should use \protect\cs{widthliketwocolumns} in combination with \protect\cs{Xnoteswidthliketwocolumns} and \protect\cs{notesXwidthliketwocolumns} to align the critical/familiar footnotes with the two colums.
% See \macpackage's handbook for more details.
%
-% If you want to have continuous line numbers between columns and not column, use the \option{continuousnumberingwithcolumns} option when loading \macpackage or \parpackage.
+% If you want to have continuous line numbers between multiple columns and single columns, use the \option{continuousnumberingwithcolumns} option when loading \macpackage or \parpackage.
% You will need to use \cs{pausenumbering}\ldots\cs{resumenumbering} instead of \cs{endnumbering}\ldots{endnumbering} (see \reff{reledmac-pause}).
%
%
@@ -938,8 +938,8 @@
%
% \DescribeMacro{\linenumberLevenifblanktrue}
% \DescribeMacro{\linenumberRevenifblanktrue}
-% By default, when a blank line is printed on one side for the need of synchronism with the other side, no line number is printed.
-% However, you can decide to print them also for blank lines.
+% By default, when a blank line is printed on one side, in order to synchronize with the other side, no line number is printed.
+% However, you can decide to print them for blank lines, also.
% Use \cs{linenumberLevenifblanktrue} to enable it on the left side, and \cs{linenumberRevenifblanktrue} to enable it on right side.
%
% \subsection{Chunks}
@@ -1706,7 +1706,7 @@
% \end{macro}
%
% \begin{macro}{\set@continuousnumberingforR}
-% \cs{set@continuousnumberingforR} set the right line numbers at a \cs{beginnumberingR} or a \cs{resumenumberingR} in order to have continuous numbering with not parallel text.
+% \cs{set@continuousnumberingforR} set the right line numbers at a \cs{beginnumberingR} or a \cs{resumenumberingR} in order to have continuous numbering with single column text.
% \begin{macrocode}
\newcommand{\set@continuousnumberingforR}{%
\ifcontinuousnumberingwithcolumns%
@@ -1934,7 +1934,7 @@
% \subsection{Print marginal line number}
% \begin{macro}{\iflinenumberLevenifblank}
% \begin{macro}{\iflinenumberRevenifblank}
-% \cs{iflinenumberLevenifblank} and \cs{iflinenumberRevenifblank} can be switchen to TRUE if we want to print the line number even if the line is blank.
+% \cs{iflinenumberLevenifblank} and \cs{iflinenumberRevenifblank} can be switched to TRUE if we want to print the line number, even if the line is blank.
% \begin{macrocode}
\newif\iflinenumberLevenifblank
\newif\iflinenumberRevenifblank
@@ -6370,8 +6370,8 @@
% \begin{macro}{\par@patch@pagenumbering}
% \cs{par@patch@thepage} patches \cs{thepage} in order to use the value of \verb+par@page+ counter and not the value of \verb+par@page+.
% It must be called after any redefinition of \cs{thepage}.
-% That why we insert it at the end of the \LaTeX\ macro \cs{pagenumbering}, which is called by some \cs{xxxmatter} commands.
-% In the case of \ltxclass{memoir} class using, we insert it at the end of \cs{@mempnum}.
+% That is why we insert it at the end of the \LaTeX\ macro \cs{pagenumbering}, which is called by some \cs{xxxmatter} commands.
+% In cases when we are using the \ltxclass{memoir} class, we insert it at the end of \cs{@mempnum}.
% When using \cs{pagenumbering}, we also need to restart \verb+par@page+ counter. Consequently, we have wrapped \cs{par@patch@thepage} and counter restart in \cs{par@patch@pagenumbering}
% We also call \cs{par@patch@thepage} it at the beginning of the document.
% \begin{macrocode}