summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-12 21:42:10 +0000
committerKarl Berry <karl@freefriends.org>2018-10-12 21:42:10 +0000
commitf60e45c7636a3b54b556da015da13743807d34d7 (patch)
tree4096cdd5c94d86c21b0415cca71273c8b474c708 /Master/texmf-dist/source/latex/reledmac/reledpar.dtx
parent2cd9698e5b60d9707958452fdf16a5f990fd33c7 (diff)
reledmac (12oct18)
git-svn-id: svn://tug.org/texlive/trunk@48894 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/reledmac/reledpar.dtx')
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledpar.dtx699
1 files changed, 350 insertions, 349 deletions
diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
index 51dc236a986..90c8adf1c4d 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
@@ -1,13 +1,13 @@
% \iffalse meta-comment
%
% reledpar.dtx
-% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
+% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
% Maintainer:Maïeul Rouquette maieul at maieul dot net
% Copyright 2004, 2005 Peter R. Wilson / 2011-.. Maïeul Rouquette
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
-% version 1.3 of this license or (at your option) any
+% version 1.3 of this license or (at your option) any
% later version.
% The latest version of the license is in
% http://www.latex-project.org/lppl.txt
@@ -82,7 +82,7 @@
\let\parpackage\reledpar
\let\Macpackage\reledmac
\let\Parpackage\reledpar
-
+
\newcommand{\texbook}{\textit{TeXbook}\xspace}
\newcommand{\thetexbook}{\textit{The TeXbook}\xspace}
\pagestyle{headings}
@@ -162,7 +162,7 @@
%
% \newcommand{\dtxfilename}{\texttt{reledpar.dtx}}
% \GetFileInfo{reledpar.sty}
-% ^^A Put changes in the right order : see http://tex.stackexchange.com/a/74113/7712
+% ^^A Put changes in the right order : see http://tex.stackexchange.com/a/74113/7712
% \let\org@changes@\changes@
% \def\my@changes v#1.#2.#3\@nil{%
% \org@changes@{v#1.\six@digits{#2}.#3=v#1.#2.#3}%
@@ -233,15 +233,15 @@
% \changes{v1.16.2}{2015/05/29}{Fix a bug when adding empty lines before a \protect\cs{pend} in combination with some specific penalties setting.}
% \changes{v1.17.0}{2015/06/02}{Add compatibility of optional argument of \protect\cs{pstart}/\protect\cs{pend} and \protect\cs{AtEveryPstart}/\protect\cs{AtEveryPend} with two columns mode.}
% \changes{v2.0.0}{2015/07/19}{Many code refactored and moved to \reledmac.}
-% \changes{v2.0.0}{2015/07/19}{Package's name becomes \reledpar.}
-% \changes{v2.0.0}{2015/07/19}{Fix some bugs with `sameparallelpagenumber' option.}
-% \changes{v2.0.0}{2015/07/19}{Totally new implementation of `sameparallelpagenumber' option.}
-% \changes{v2.1.0}{2015/07/27}{Fix a bug with \protect\cs{setparledgroupnotespacing} with the shiftedpstarts option.}
+% \changes{v2.0.0}{2015/07/19}{Package's name becomes \reledpar.}
+% \changes{v2.0.0}{2015/07/19}{Fix some bugs with `sameparallelpagenumber' option.}
+% \changes{v2.0.0}{2015/07/19}{Totally new implementation of `sameparallelpagenumber' option.}
+% \changes{v2.1.0}{2015/07/27}{Fix a bug with \protect\cs{setparledgroupnotespacing} with the shiftedpstarts option.}
% \changes{v2.1.0}{2015/07/27}{Fix incompatibility between optional argument of \protect\cs{pstart} and \protect\cs{numberpstarttrue}}
-% \changes{v2.1.0}{2015/07/27}{Options to custom empty right page before \protect\cs{Pages}.}
-% \changes{v2.1.0}{2015/07/27}{Fix a bug when using \protect\cs{pagenumbering} with memoir (bug added in v2.0.0).}
-% \changes{v2.1.0}{2015/07/27}{Fix a bug when using \protect\cs{eledsection} and related on right pages when page width is short.}
-% \changes{v2.2.0}{2015/08/08}{\protect\env{astanza} environment can take an optional argument, which will be the optional argument of \protect\cs{pstart} started by this environment.}
+% \changes{v2.1.0}{2015/07/27}{Options to custom empty right page before \protect\cs{Pages}.}
+% \changes{v2.1.0}{2015/07/27}{Fix a bug when using \protect\cs{pagenumbering} with memoir (bug added in v2.0.0).}
+% \changes{v2.1.0}{2015/07/27}{Fix a bug when using \protect\cs{eledsection} and related on right pages when page width is short.}
+% \changes{v2.2.0}{2015/08/08}{\protect\env{astanza} environment can take an optional argument, which will be the optional argument of \protect\cs{pstart} started by this environment.}
% \changes{v2.2.0}{2015/08/08}{New tools to number stanza}
% \changes{v2.2.1}{2015/08/13}{Fix a bug with optional argument of last left \protect\cs{pend}}
% \changes{v2.3.0}{2015/09/05}{Fix a bug with title number in parallel columns}
@@ -364,9 +364,9 @@
%
%
% \begin{abstract}
-% The \macpackage package has been used for some time for typesetting critical
-% editions. The \parpackage package is an extension to \macpackage
-% which enables texts and their critical apparatus to be typeset in
+% The \macpackage package has been used for some time for typesetting critical
+% editions. The \parpackage package is an extension to \macpackage
+% which enables texts and their critical apparatus to be typeset in
% parallel, either in two columns or on pairs of facing pages.
%
%
@@ -380,13 +380,13 @@
% \end{abstract}
% \renewcommand{\numberline}[1]{#1~}
% \tableofcontents
-%
+%
%
%
% \section{Introduction}
%
-%
-% \subsection{Aim of this package}
+%
+% \subsection{Aim of this package}
%
% Some critical editions contain texts in more than one form, such as
% a set of verses in one language and their translations in another. In
@@ -397,31 +397,31 @@
% facing pages.
%
% The package has to try and coerce \TeX{} into paths it was not designed
-% for. Use of the package, therefore, may produce some surprising results.
+% for. Use of the package, therefore, may produce some surprising results.
% In this case, please reports them to the author via github's issues: \url{https://github.com/maieul/ledmac/issues/}.
-% This manual contains a general description of how to use
+% This manual contains a general description of how to use
% \parpackage starting in section~\ref{howto};
% the complete source code for the package,
% with extensive documentation (in sections~\ref{overview}
-% through \ref{end});
-% and an Index to the source code. As \parpackage is an adjunct to \macpackage
+% through \ref{end});
+% and an Index to the source code. As \parpackage is an adjunct to \macpackage
% we assume that you have read the \macpackage manual. Also \parpackage requires
% \macpackage to be used, in the version distributed with version.
%
-% You do not need to read the source code for this package in order to
+% You do not need to read the source code for this package in order to
% use it but doing so may help to answer any questions you might have. The documentation's sections are numbered in roman numeral.
%
% On a first reading,
% We suggest that you should skip anything after the general documentation in
-% first sections until~\ref{overview},
+% first sections until~\ref{overview},
% unless you are particularly interested in the innards of \parpackage.
%
% \subsection{Historical overview}
% Many of the code of this package is based on the \eledpar package, which was based on the \ledpar, created as an extension of the \ledmac package.
%
% Names of the package related to parallel typesetting have moved in parallel of names of the package related to critical edition.
-%
+%
% Please read \macpackage's handbook in order to understand this evolution.
%
% \section{Options}
@@ -435,7 +435,7 @@
% the page instead.
% \item [advancedshiftedpstarts] does the same as \option{shiftedpstarts}, but
% the pstart shift are not counted to determine when cutting the page. That
-% could help to avoid page with blank lines at the bottom.
+% could help to avoid page with blank lines at the bottom.
% \item [nomaxlines] allows facing pages to have different numbers of lines.
% \item [nosyncpstarts] disables syncing on facing pages. In that case the pages
% are filled as two streams normal.
@@ -448,7 +448,7 @@
% columns with \parpackage. This is useful when alternating between normal and
% parallel typesetting.\footnote{This option can either be used on \macpackage or \parpackage.}
% \item [continuousnumberingwithcolumns] allow you to alternate between normal typesetting and parallel column typesetting without resetting the line number (see \reff{continuousnumberingwithcolumns}).
-% \item [sidenotesmarginpage] makes the sidenotes be placed on the margin of the page and not on the margin of the columns.
+% \item [sidenotesmarginpage] makes the sidenotes be placed on the margin of the page and not on the margin of the columns.
% \item [sameparallelpagenumber] sets page numbers on facing pages to the same value.
% \item [prevpgnotnumbered] enables that the page before facing pages (the one
% automatically inserted to start parallel pages on a left page) is not
@@ -456,7 +456,7 @@
% \item[movecolumnspositiononrightpage] make the left column on the right page become the right column, and the left column become the right column.
% It allows to have a text running on the inner column, and an other one on the outer column.
% \end{description}
-%
+%
%
% \section{General}\label{howto}
%
@@ -477,27 +477,27 @@
% on which they are called out --- that is, footnotes belonging to the left
% are set at the foot of a left (even numbered) page, and those for right
% texts are at the bottom of the relevant right (odd numbered) page. However,
-% in the columnar case, all footnotes are set at the bottom left of the
-% page on which they are called out --- they are not set below the
-% relevant column.
-%
+% in the columnar case, all footnotes are set at the bottom left of the
+% page on which they are called out --- they are not set below the
+% relevant column.
%
%
-% \Macpackage essentially puts each chunk of numbered text
-% (the text within a \protect\cs{pstart} \ldots \protect\cs{pend}) into a box and then
-% following the \protect\cs{pend} extracts the text line by line from the box
+%
+% \Macpackage essentially puts each chunk of numbered text
+% (the text within a \protect\cs{pstart} \ldots \protect\cs{pend}) into a box and then
+% following the \protect\cs{pend} extracts the text line by line from the box
% to number and print it. More precisely, the text is first put into the
% the box as though it was being typeset as normal onto a page and
-% any notes are stored without being typeset. Then each typeset line
+% any notes are stored without being typeset. Then each typeset line
% is extracted from the box and any notes for that line are recalled.
% The line, with any notes, is then output for printing, possibly with
% a line number attached. Effectively, all the text is typeset and then
% afterwards all the notes are typeset.
-%
%
-% \Parpackage similarly puts the left and right chunks into boxes but can't
+%
+% \Parpackage similarly puts the left and right chunks into boxes but can't
% immediately output the text after a \protect\cs{pend} --- it has to wait until
-% after both the left and right texts have been collected before it can
+% after both the left and right texts have been collected before it can
% start processing. This means that several boxes are required and possibly
% \TeX\ has to store a lot of text in its memory; both the number of potential
% boxes and memory are limited. If \TeX's memory is overfilled the recourse is
@@ -508,22 +508,22 @@
% printing them. The macro \protect\cs{maxchunks}\marg{num} specifies the maximum
% number of chunks within the left or right texts. This is initially set as: \\
% \verb?\maxchunks{5120}? \\
-% meaning that there can be up to 5120 chunks in the left text and up to
-% 5120 chunks in
+% meaning that there can be up to 5120 chunks in the left text and up to
+% 5120 chunks in
% the right text, requiring a total of 10240 boxes. If you need more chunks
% then you can increase \protect\cs{maxchunks}. The \protect\cs{maxchunks} must be called in the preamble.
%
% If you \protect\cs{maxchunks} is too little
%you can get a \parpackage{} error message along the
-% lines: ``Too many \protect\cs{pstart} without printing. Some text will be lost.''
+% lines: ``Too many \protect\cs{pstart} without printing. Some text will be lost.''
% then you will have to either increase \protect\cs{maxchunks} or use the
% parallel printing commands (\protect\cs{Columns} or \protect\cs{Pages}) more frequently.
%
% When typesetting verse using \protect\cs{stanza}, each line is treated as a chunk,
-% so be warned that if you are setting parallel verses you might have to
+% so be warned that if you are setting parallel verses you might have to
% increase \protect\cs{maxchunks} much more than it appears at first sight.
%
-% In general, \macpackage is a \TeX\ resource hog, and \parpackage{} only
+% In general, \macpackage is a \TeX\ resource hog, and \parpackage{} only
% makes things worse in this respect.
%
% \section{Parallel columns}\label{columns}
@@ -531,13 +531,13 @@
% \DescribeEnv{pairs}
% Numbered text that is to be set in columns must be within a \verb?pairs?
% environment. Within the environment the text for the lefthand and righthand
-% columns is placed within the \verb?Leftside? and \verb?Rightside?
+% columns is placed within the \verb?Leftside? and \verb?Rightside?
% environments, respectively; these are described in more detail below
% in section~\ref{leftright}.
%
% \DescribeMacro{\Columns}
% The command \protect\cs{Columns} typesets the texts in the previous pair of
-% \verb?Leftside? and \verb?Rightside? environments.
+% \verb?Leftside? and \verb?Rightside? environments.
% The general scheme for parallel columns looks like this:
% \begin{verbatim}
% \begin{pairs}
@@ -563,7 +563,7 @@
% \end{verbatim}
% There is no required pagebreak before or after the columns.
% \subsection{Setting}
-% \subsubsection{Column's width}
+% \subsubsection{Column's width}
% \DescribeMacro{\Lcolwidth}
% \DescribeMacro{\Rcolwidth}
% The lengths \protect\cs{Lcolwidth} and \protect\cs{Rcolwidth} are the widths of the left
@@ -575,7 +575,7 @@
% \DescribeMacro{\columnrulewidth}
% \DescribeMacro{\columnseparator}
% The macro \protect\cs{columnseparator} is called between each left/right pair
-% of lines. By default it inserts a vertical rule of width
+% of lines. By default it inserts a vertical rule of width
% \protect\cs{columnrulewidth}. As this is initially defined to be 0pt the rule
% is invisible. For a visible rule between the columns you could try: \\
% \verb?\setlength{\columnrulewidth}{0.4pt}? \\
@@ -598,72 +598,72 @@
% \item On the right of columns, if columns are aligned left.
% \item On both the left and right columns, if columns are centered.
% \end{itemize}
-% You can redefine \protect\cs{beforecolumnseparator} and \protect\cs{aftercolumnseparator} length to define spaces before or after the column separator, instead of letting \parpackage calculate them automatically.
+% You can redefine \protect\cs{beforecolumnseparator} and \protect\cs{aftercolumnseparator} length to define spaces before or after the column separator, instead of letting \parpackage calculate them automatically.
% \begin{verbatim}
% \setlength{\beforecolumnseparator}{length}
% \setlength{\aftercolumnseparator}{length}
% \end{verbatim}
-% If you want to revert to the previous behavior, just set with a negative value.
+% If you want to revert to the previous behavior, just set with a negative value.
% \subsubsection{Mixing two columns and one column texts}
% \DescribeMacro{\widthliketwocolumns}
% If you want to mix two-column with single-column text, you can align horizontally single-column text to two-column text with \protect\cs{widthliketwocolumnstrue}. To reset this feature, use \protect\cs{widthliketwocolumnsfalse}.
% You can also use \option{widthliketwocolumns} as a global option when loading \macpackage or \parpackage.
-%
+%
% \DescribeMacro{\Xnoteswidthliketwocolumns}
% \DescribeMacro{\notesXwidthliketwocolumns}
-% 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.
+% 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.
%
% \subsubsection{Schemas of column typesetting}
% Domenico Cufalo wrote a schema of the parallel column typesetting parameters, with explanations.
% You can read the file \href{run:doc-more/page-typesetting-columns.pdf}{doc-more/page-typesetting-columns.pdf}.
-%
+%
% \subsubsection{Continuous numbering between single and double column texts}
-% \label{continuousnumberingwithcolumns}If you want to have continuous line
-% numbers between multiple columns and single columns, use the
-% \option{continuousnumberingwithcolumns} option when loading \macpackage
+% \label{continuousnumberingwithcolumns}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}~…\
-% \cs{resumenumbering} in addition to \cs{beginnumbering}~…\
+% You will need to use \cs{pausenumbering}~…\
+% \cs{resumenumbering} in addition to \cs{beginnumbering}~…\
% \cs{endnumbering} (see \reff{reledmac-pause}).
%
-% The best way to understand the behaviour of \cs{pausenumbering} and
-% \cs{resumenumbering} is to think of the left-column text as a continuation of
-% single-column text (or, vice versa, to think of single-column text as
-% left-column text), and of the right-column as independent text, which needs to be
-% synchronised with the left one manually. The numbering commands in a
-% right column are interconnected with each other, and not with the respective
+% The best way to understand the behaviour of \cs{pausenumbering} and
+% \cs{resumenumbering} is to think of the left-column text as a continuation of
+% single-column text (or, vice versa, to think of single-column text as
+% left-column text), and of the right-column as independent text, which needs to be
+% synchronised with the left one manually. The numbering commands in a
+% right column are interconnected with each other, and not with the respective
% left-column commands.
%
-% This means that you must switch between single-column and left-column
-% text using \cs{beginnumbering}~…\ \cs{pausenumbering}~…\
-% \cs{resumenumbering}~…\ \cs{pausenumbering}~…\
-% \cs{resumenumbering}~…\ \cs{endnumbering}.
-%
-% On the other side, the first right column must always begin with
-% \cs{beginnumbering}, no matter if the corresponding left-column started
-% with \cs{resumenumbering} or not; this is because numbering in the right
-% column has not been started yet. Then, for consecutive chunks of
-% right-column text you should use \cs{pausenumbering}~…\
-% \cs{resumenumbering}.
-%
+% This means that you must switch between single-column and left-column
+% text using \cs{beginnumbering}~…\ \cs{pausenumbering}~…\
+% \cs{resumenumbering}~…\ \cs{pausenumbering}~…\
+% \cs{resumenumbering}~…\ \cs{endnumbering}.
+%
+% On the other side, the first right column must always begin with
+% \cs{beginnumbering}, no matter if the corresponding left-column started
+% with \cs{resumenumbering} or not; this is because numbering in the right
+% column has not been started yet. Then, for consecutive chunks of
+% right-column text you should use \cs{pausenumbering}~…\
+% \cs{resumenumbering}.
+%
% You must use \cs{endnumbering} in a right column in the following cases:
% \begin{itemize}
% \item there is also a \cs{endnumbering} in the left column, because the line numbering ends with a two columns mode (e.g. at the end of a document);
% \item there will be a \cs{endnumbering} in a text after the columns, in a single column mode, because the ligne numbering finishes with single column mode text.
% \end{itemize}
-% Without this, you will
+% Without this, you will
% get wrong numbering when a right column reappears next time.
%
-% The file
-% \file{examples/4-reledpar_column_mix_with_not_column-continuous-numbering.tex}
+% The file
+% \file{examples/4-reledpar_column_mix_with_not_column-continuous-numbering.tex}
% covers all these cases.
% \subsection{Note about \cs{AtEveryPstart*} and \cs{AtEveryPend*}}
% The content of \cs{AtEveryPstart} / \cs{AtEveryPend} (without star) is added before every \cs{pstart} / after every \cs{pend}, respecting the left / right side.
%
% The content of \cs{AtEveryPstart*} / \cs{AtEveryPend*} (with star) is added before every \cs{pstart} / after every \cs{pend}, but there is no distinction between left and right sides.
-%
+%
% However, as this content is also added when we typeset pages in parallel, \reledmac must add it once for left \cs{pstart} and once for right \cs{pstart}.
% So if you use it to add vertical spacing, it will be problematic in parallel columns, as you will have the vertical spacing two times (vertical spacing will be twice as large as expected).
% A solution is to add a test inside to distinguish between parallel typesetting in columns or on pages.
@@ -682,18 +682,18 @@
% In this case, use the \option{movecolumnspositiononrightpage} at loading time of the package.
%
% The \env{Leftside} environment will correspond to the inner column, and the \env{Rightside} environment will correspond to the outer column.
-%
+%
% \section{Facing pages}\label{pages}
% \subsection{Basic usage}
% \DescribeEnv{pages}
% Numbered text that is to be set on facing pages must be within a \verb?pages?
% environment. Within the environment the text for the lefthand and righthand
-% pages is placed within the \verb?Leftside? and \verb?Rightside?
+% pages is placed within the \verb?Leftside? and \verb?Rightside?
% environments, respectively.
%
% \DescribeMacro{\Pages}
% The command \protect\cs{Pages} typesets the texts in the previous pair of
-% \verb?Leftside? and \verb?Rightside? environments.
+% \verb?Leftside? and \verb?Rightside? environments.
% The general scheme for parallel pages looks like this:
% \begin{verbatim}
% \begin{pages}
@@ -713,7 +713,7 @@
% \subsubsection{Text width}
% \DescribeMacro{\Lcolwidth}
% \DescribeMacro{\Rcolwidth}
-% Within the \verb?pages? environment the lengths \protect\cs{Lcolwidth} and
+% Within the \verb?pages? environment the lengths \protect\cs{Lcolwidth} and
% \protect\cs{Rcolwidth} are the widths of the left
% and right pages, respectively. By default, these are set to the normal
% textwidth for the document, but can be changed within the environment if
@@ -811,36 +811,36 @@
% \changes{v1.15.0}{2015/05/18}{Add sameparallelpagenumber option.}
% By default, \protect\cs{Pages} use the standard \LaTeX\ page number scheme.
% This means that pages are numbered continuously following printed-book conventions: from left-hand to right-hand side, left-hand pages having even numbers, right-hand pages having odd numbers.
-%
+%
% However, you can use the package option \verb+sameparallelpagenumber+ to have the same page number for both left and right side.
% In this case, this setting will apply only for pages typeset by \protect\cs{Pages}, not for ``normal'' pages.
%
% Please also read advising in \reff{par@page}.
%
%
-% \subsubsection{Page breaking}
+% \subsubsection{Page breaking}
% \DescribeMacro{\setgoalfraction}
-% When doing parallel pages \parpackage{} has to guess where \TeX\ is going to
+% When doing parallel pages \parpackage{} has to guess where \TeX\ is going to
% put pagebreaks and hopefully get there first in order to put the pair of
-% texts on their proper pages. When it thinks that the fraction
-% \protect\cs{@goalfraction} of a page has been filled, it finishes that page and
+% texts on their proper pages. When it thinks that the fraction
+% \protect\cs{@goalfraction} of a page has been filled, it finishes that page and
% starts on the other side's text. The standard value is 0.9.
%
-%
+%
% If you think you can get more on a page, increase this. On the other hand,
% if some left text overflows onto an odd numbered page or some right text
% onto an even page, try reducing it.
% You can change it using \cs{setgoalfraction}\marg{newvalue}.
% \subsubsection{Right page before \cs{Pages}}
% When \cs{Pages} are called, it starts at a new left page, in order to have parallel pages.
-% Consequently, if it is called on a left page, it clears the current page and then lets
+% Consequently, if it is called on a left page, it clears the current page and then lets
% a right void page.
%
% \Parpackage provides two options to customize this (eventual) right page.
% \label{prevpgnotnumbered}
% \begin{description}
% \item[prevpgstyle=\meta{style}] in order to set the style of this page. A common value of \meta{style} is \verb+empty+.
-% Use \verb+prevpgstyle=empty+ will suppress header and footer in this page.
+% Use \verb+prevpgstyle=empty+ will suppress header and footer in this page.
% Please also read advising in \reff{par@page}.
% \item[prevpgnotnumbered] will make this page won't be counted in the page counter.
%
@@ -850,7 +850,7 @@
%
% Use instead \cs{pages} with the optional argument \verb+[mainmatter]+.
% In this case, the content of \cs{Pages} will start on a left side, without any spurious empty page, and the left pages will be odd (and not event like in normal way), the first one being \verb+1+.
-%
+%
% \subsection{Critical and familiar footnotes}
% Of course, in ``Facing pages'', the \macpackage's both critical and familiar footnotes can be used.
% However, some specific points must be taken into consideration.
@@ -859,9 +859,9 @@
%
% However, the \macpackage default setting for the maximum alloted size to notes is greater than \protect\cs{textheight}. That makes impossible for long notes to flow across pages.%
% \footnote{The same applies to \LaTeX\ normal notes. Read \url{http://tex.stackexchange.com/a/228283/7712} for technical informations.}
-% We have not changed this default setting, because we do not want to break compatibility with older version of \macpackage and we want to be as close as possible to default \LaTeX's feature.
+% We have not changed this default setting, because we do not want to break compatibility with older version of \macpackage and we want to be as close as possible to default \LaTeX's feature.
%
-% So, you MUST change the default setting via \protect\cs{Xmaxhnotes} (for critical notes) and \protect\cs{maxhnotesX} (for familiar notes).
+% So, you MUST change the default setting via \protect\cs{Xmaxhnotes} (for critical notes) and \protect\cs{maxhnotesX} (for familiar notes).
% Both commands are explained in \macpackage handbook (\reff{reledmac-Xmaxhnotes}).
% As an advisable setting:
% \begin{verbatim}
@@ -899,8 +899,8 @@
% You may want to typeset notes on one side only (either left or right).
% Use \protect\cs{Xonlyside}\oarg{s}\marg{p} to set critical notes, and \protect\cs{onlysideX}\oarg{s}\marg{p} to set familiar notes.
% \meta{p} must be set to \verb+L+ for notes to be confined only on the left side and to \verb+R+ for notes to be confined only on the right side.
-%
-% Notice that these options just tell you \LaTeX\ to not continue long notes on the other side.
+%
+% Notice that these options just tell you \LaTeX\ to not continue long notes on the other side.
% It is not designed to allow you to call footnotes on one side but print them on the other side.
% \subsubsection{Familiar notes called on the right side, but to be printed on the left side}\label{reledpar-nomk}
% \DescribeMacro{\footnoteXnomk}
@@ -915,14 +915,14 @@
% \begin{verbatim}
% \begin{Leftside}
% \beginnumbering
-% \pstart
+% \pstart
% A little cat\footnoteAnomk{A note.}. And so one ...
% \pend
% \endnumbering
% \end{Leftside}
% \begin{Rightside}
% \beginnumbering
-% \pstart
+% \pstart
% Un petit chat\footnoteAmk. And so one ...
% \pend
% \endnumbering
@@ -943,7 +943,7 @@
%
% \cs{edtextnow} is a parameterless macro, so it gobbles the following space.
% If you want to keep it, add \verb+{}+ or backslash followed by a space.
-%
+%
% \subsection{Using line flag}
% \DescribeMacro{\Xlineflag}
% \DescribeMacro{\Xendlineflag}
@@ -951,13 +951,13 @@
% \section{Left and right texts}\label{leftright}
% \subsection{Environments}
% Parallel texts are divided into Leftside and Rightside. The form of the
-% contents of these two are independent of whether they will be set
+% contents of these two are independent of whether they will be set
% in columns or pages.
%
% \DescribeEnv{Leftside}
% \DescribeEnv{Rightside}
-% The left text is put within the \verb?Leftside? environment and the
-% right text likewise in the \verb?Rightside? environment. The number of
+% The left text is put within the \verb?Leftside? environment and the
+% right text likewise in the \verb?Rightside? environment. The number of
% \verb?Leftside? and \verb?Rightside? environments must be the same.
% \subsection{Numbering text lines and paragraphs}
%
@@ -976,7 +976,7 @@
% \meta{jobname} is the name of the main input file for this job,
% and \file{nn} is 1 for the first numbered section, 2 for
% the second section, and so on), and then creates a new version of
-% this auxiliary file to collect information during this run.
+% this auxiliary file to collect information during this run.
% Separate auxiliary files are maintained for right hand texts and
% these are named \meta{jobname}.\file{nnR}, using the `R' to distinguish
% them from the left hand and serial (non-parallel) texts.
@@ -1014,21 +1014,21 @@
%
%
%\changes{v0.9.0}{2011/10/01}{Possibility to number \protect\cs{pstart}.}
-% It is possible to insert a number at every \protect\cs{pstart} command.
+% It is possible to insert a number at every \protect\cs{pstart} command.
% You must use the \DescribeMacro{\numberpstarttrue}\protect\cs{numberpstarttrue} command to have it.
-% You can stop the numbering with \DescribeMacro{\numberpstartfalse}\protect\cs{numberpstartfalse}.
-%
+% You can stop the numbering with \DescribeMacro{\numberpstartfalse}\protect\cs{numberpstartfalse}.
+%
% You can modify the number by changing the values of the \verb+pstartL+ and \verb+pstartR+ counters (for left and right side, respectively). For example:
% \begin{verbatim}
-% \setcounter{pstartL}{0}% To reset the counter of pstart for the left side.
+% \setcounter{pstartL}{0}% To reset the counter of pstart for the left side.
% \end{verbatim}
-% You can redefine the commands \DescribeMacro{\thepstartL}\protect\cs{thepstartL} and \DescribeMacro{\thepstartR}\protect\cs{thepstartR} to change style.
+% You can redefine the commands \DescribeMacro{\thepstartL}\protect\cs{thepstartL} and \DescribeMacro{\thepstartR}\protect\cs{thepstartR} to change style.
% The numbering restarts on each \protect\cs{beginnumbering}.
-%
+%
% \DescribeMacro{\skipnumbering}
% The command \protect\cs{skipnumbering} when inserted in a line of parallel text
% causes the numbering of that particular line to be skipped. This can
-% useful if you are putting some kind of marker (even if it is only a
+% useful if you are putting some kind of marker (even if it is only a
% blank line) between stanzas. Remember, parallel texts must be numbered
% and this provides a way to slip in an ``unnumbered'' line.
% \DescribeMacro{\hidenumbering}
@@ -1041,12 +1041,12 @@
% \DescribeMacro{\linenumincrement}
% \DescribeMacro{\firstsublinenum}
% \DescribeMacro{\sublinenumincrement}
-% Following
+% Following
% \protect\cs{firstlinenum}\marg{num} the first line number will be \meta{num}, and
% following \protect\cs{linenumincrement}\marg{num} only every \meta{num}th
-% line will have a printed number.
+% line will have a printed number.
+%
%
-%
% The lineation commands which finish by a \verb+R+ apply for right text.
% The lineation commands which are starred apply for both left and right texts.
% The lineation command which does not finish by a \verb+R+ and who are not starred apply for the left side.
@@ -1068,7 +1068,7 @@
% \subsection{Lineation system}
% \DescribeMacro{\lineationR}
% \protect\cs{lineationR} macro is the equivalent of \macpackage \protect\cs{lineation} macro for the right side.
-% \DescribeMacro{\lineation*}
+% \DescribeMacro{\lineation*}
% \protect\cs{lineation*} macro is the equivalent of \macpackage \protect\cs{lineation} macro for both sides.
%
@@ -1080,7 +1080,7 @@
% \DescribeMacro{\sublinenumberstyleR}
% \DescribeMacro{\linenumberstyle*}
% \DescribeMacro{\sublinenumberstyle*}
-% \cs{linenumberstyleR} is the equivalent of \macpackage \cs{linenumberstyle} for right text.
+% \cs{linenumberstyleR} is the equivalent of \macpackage \cs{linenumberstyle} for right text.
% \cs{sublinenumberstyleR} is the equivalent of \macpackage \cs{sublinenumberstyle} right text.
% The starred version are for both side.
% \subsection{Line number margin}
@@ -1089,25 +1089,25 @@
% \cs{linenummarginR}\marg{margin} sets the line margin for right side.
% \cs{linenummargin*}\marg{margin} sets for both side.
% \meta{margin} can be, as for \macpackage's \cs{linenummargin} one of these values: \verb+left+, \verb+right+, \verb+inner+, \verb+outer+.
-%
+%
% \DescribeMacro{\linenummarginColumns}
% \DescribeMacro{\linenummarginColumnsR}
% \DescribeMacro{\linenummarginColumns*}
-% Suppose you typeset texts both in parallel pages (or in normal typesetting) and in parallel columns.
-% In this case, your setting of line margin in parallel pages (or in normal typesetting) could be different from your setting of line margin in parallel columns.
+% Suppose you typeset texts both in parallel pages (or in normal typesetting) and in parallel columns.
+% In this case, your setting of line margin in parallel pages (or in normal typesetting) could be different from your setting of line margin in parallel columns.
% For example, you could want to have line numbers on the right when your are in parallel pages (or in normal typesetting), but when you are in parallel columns, to have them on the left for the left column and on the right for the right column.
-%
+%
% In this case, you can use \cs{linenummarginColumns}, which overrides the default setting for the left column, \cs{linenummarginColumnsR} which overrides the default setting for the right column, and \cs{linenummarginColumns*}, which overrides the default for both left and right columns.
%
% \DescribeMacro{\linenumOnlyPagesForColumns}
% \DescribeMacro{\linenumOnlyPagesForColumnsR}
-% Another usual case is when you have text in parallel columns and want to get line numbers only on the outer margin.
+% Another usual case is when you have text in parallel columns and want to get line numbers only on the outer margin.
% In this case, you need to get line numbers on the left side of the left column on left pages and on the right side of the right column on the right pages.
-%
-% Reciprocally, if you want to get line numbers only on the inner margin, you need to get line number on the right side of the right column on left pages and on the left side of the left column on the right pages.
%
-% In the two cases, you need, for one column, to have line numbers only on one page of a double pages.
-%
+% Reciprocally, if you want to get line numbers only on the inner margin, you need to get line number on the right side of the right column on left pages and on the left side of the left column on the right pages.
+%
+% In the two cases, you need, for one column, to have line numbers only on one page of a double pages.
+%
% You can use \cs{linenumOnlyPagesForColumns} and \cs{linenumOnlyPagesForColumnsR} to get this result:
% \begin{verbatim}
% \linenummargin{left}
@@ -1122,7 +1122,7 @@
% \linenumOnlyPagesForColumns{}
% \linenumOnlyPagesForColumnsR{}
% \end{verbatim}
-% Note that these settings only apply when we are typesetting columns (as, if we are not typesetting columns, the \enquote{inner} and \enquote{outer} setting of \cs{linenummargin} and \cs{linenummarginR} are enough).
+% Note that these settings only apply when we are typesetting columns (as, if we are not typesetting columns, the \enquote{inner} and \enquote{outer} setting of \cs{linenummargin} and \cs{linenummarginR} are enough).
%
% \DescribeMacro{\linenumberLevenifblanktrue}
% \DescribeMacro{\linenumberRevenifblanktrue}
@@ -1133,7 +1133,7 @@
% \subsection{Line flag}
% \DescribeMacro{\setRlineflag}\label{Rlineflag}
% A ``R'' is appended to the line numbers of the
-% right texts.
+% right texts.
% This may be useful for parallel columns but for parallel pages it might
% be more appropriate to redefine it using \protect\cs{setRlineflag}\marg{flag}.
% Use \verb?\setRlineflag{}? to empty it.
@@ -1141,7 +1141,7 @@
% \subsection{Chunks}
% \DescribeMacro{\pstart}
% \DescribeMacro{\pend}
-% In a serial (non-parallel) mode, each numbered paragraph, or chunk,
+% In a serial (non-parallel) mode, each numbered paragraph, or chunk,
% is contained
% between the \protect\cs{pstart} and \protect\cs{pend} macros, and the paragraph is output
% when the \protect\cs{pend} macro occurs. The situation is somewhat different
@@ -1151,7 +1151,7 @@
% and \protect\cs{pend} groups within the corresponding \verb?Rightside? environment)
% the \protect\cs{pend} macros cannot immediately initiate any typesetting ---
% this has to be controlled by the \protect\cs{Columns} or \protect\cs{Pages} macros.
-% Several chunks may be specified within a \verb?Leftside? or
+% Several chunks may be specified within a \verb?Leftside? or
% \verb?Rightside? environment.
% A multi-chunk text then looks like:
% \begin{verbatim}
@@ -1165,27 +1165,27 @@
% \end{...side}
% \end{verbatim}
% Numbering, via \protect\cs{beginnumbering} and \protect\cs{endnumbering}, may extend
-% across several \verb?Leftside? or \verb?Rightside? environments.
+% across several \verb?Leftside? or \verb?Rightside? environments.
% Remember, though,
% that the left/right sides are effectively independent of each other.
%
% \DescribeMacro{\autopar}
% The \protect\cs{autopar} macro can be used, instead of manually inserting \protect\cs{pstart}\ldots\protect\cs{pends}. Please read \macpackage's handbook (\reff{reledmac-autopar}).
-
-
+
+
% \subsection{\protect\cs{AtEveryPstart} and \protect\cs{AtEveryPstartCall}}
-% In general, remember that the moment where a \protect\cs{pstart} is called is different
+% In general, remember that the moment where a \protect\cs{pstart} is called is different
% from the moment when the \protect\cs{pstart}\ldots\protect\cs{pend} content is printed, which is when \protect\cs{Pages} or \protect\cs{Columns} is processed.
-%
+%
% Consequently:
% \begin{itemize}
% \item The argument of \protect\cs{AtEveryPstart} (see \reff{reledmac-AtEveryPstart}) is called before every chunk is printed, except if you used an optional argument for the \protect\cs{pstart}.
% \item The argument of \protect\cs{AtEveryPstartCall} is called before every \protect\cs{pstart}.
% \end{itemize}
% \subsection{Language setting}
-% If you are using the
-% \protect\package{babel} package or the \protect\package{polyglossia} package ,with different languages
-% (via, say, \protect\cs{selectlanguage}) for the left and right texts it is
+% If you are using the
+% \protect\package{babel} package or the \protect\package{polyglossia} package ,with different languages
+% (via, say, \protect\cs{selectlanguage}) for the left and right texts it is
% particularly important to select the appropriate language within the
% \verb?Leftside? and \verb?Rightside? environments. The initial language
% selected for the right text is the \protect\package{babel} package's default. Also,
@@ -1204,7 +1204,7 @@
% \DescribeMacro{\doinsidelineLhook}
% \DescribeMacro{\doinsidelineRhook}
% \cs{doinsidelineLhook} and \cs{doinsidelineRhook} are the equivalent to the \macpackage \cs{doinsidelinehook}, for the left and the right sides respectively.
-%
+%
% About these two hooks, read \macpackage's handbook (\reff{reledmac-linehook}).
%
% \section{Verse}
@@ -1220,9 +1220,9 @@
% \DescribeEnv{astanza}
% \Parpackage provides an \env{astanza} environment which you can use instead
% of \cs{stanza}. A \env{astanza} environment is a chunk. Consequently left and right \emph{verse} are matched, and not, as with standard \cs{stanza}, left and right \emph{verse lines}.
-%
-% Within the
-% \env{astanza} environment each verse line is treated as an individual paragraph,
+%
+% Within the
+% \env{astanza} environment each verse line is treated as an individual paragraph,
% so there must be no blank lines in the environment otherwise there will
% be some extraneous vertical spacing.
% To use \env{astanza}, simply replace \cs{stanza} by \cs{begin}\arg{astanza} and
@@ -1231,7 +1231,7 @@
% The difference between \env{astanza} and \cs{stanza} is, that the latter syncs
% verse by verse, while the environment syncs stanza by stanza.
%
-% If you get an error message along the lines of `Missing number,
+% If you get an error message along the lines of `Missing number,
% treated as zero \protect\cs{sza@0@}' it is because you have forgotten to use
% \protect\cs{setstanzaindents} to set the stanza indents.
%
@@ -1262,15 +1262,15 @@
%
% \section{Side notes}
% As in \macpackage, you must use one of the following commands to add side notes: \protect\cs{ledsidenote}, \protect\cs{ledleftnote}, \protect\cs{ledrightnote}, \protect\cs{ledouternote}, \protect\cs{ledinnernote}.
-%
+%
% The \protect\cs{sidenotemargin} defines the margin of the sidenote for either left or right side, depending on the current environment.
-%
+%
% The \cs{sidenotemarginR} defines the margin of the sidenote for the right side.
%
% You can use \protect\cs{sidenotemargin*} to define it for both sides.
%
-% When typesetting parallel columns, the margin where a sidenote is placed is one of the margins of the column the sidenote is called.
-% However, you can load \parpackage with the \option{sidenotesmarginpage} to use the margin of the page, and not of the column.
+% When typesetting parallel columns, the margin where a sidenote is placed is one of the margins of the column the sidenote is called.
+% However, you can load \parpackage with the \option{sidenotesmarginpage} to use the margin of the page, and not of the column.
% \section{Parallel ledgroups}
% \subsection{General}
% \changes{v1.6.0}{2013/12/13}{Add tool and documentation for parallel ledgroups}
@@ -1278,8 +1278,8 @@
% To do it you have:
% \begin{itemize}
% \item To load \parpackage package with the \verb+parledgroup+ option, or to add \protect\cs{parledgrouptrue}.
-% \item To push each ledgroup between \protect\cs{pstart}\ldots\protect\cs{pend} command.
-% \end{itemize}
+% \item To push each ledgroup between \protect\cs{pstart}\ldots\protect\cs{pend} command.
+% \end{itemize}
% See the following example:
% \begin{verbatim}
% \begin{pages}
@@ -1338,7 +1338,7 @@
% Consequently, if you use at least one of these options:
% \begin{enumerate}
% \item If you modify \cs{thepage} command, use the value of \verb+par@page+ counter inside and not the value of \verb+page+ counter.
-% \item If you want to modify a page number, modify the value of \verb+page+ counter AND the value \verb+par@page+ counter.
+% \item If you want to modify a page number, modify the value of \verb+page+ counter AND the value \verb+par@page+ counter.
% \end{enumerate}
% Notes that \parpackage automatically do it when you use \protect\cs{frontmatter} and \protect\cs{mainmatter} commands.
%
@@ -1359,15 +1359,15 @@
% start or end of the lines.
%
% \Macpackage solves the problem of line numbering by putting the paragraph
-% in typeset form into a box, and then extracting the lines one by one
+% in typeset form into a box, and then extracting the lines one by one
% from the box for \TeX\ to put them onto the page with the appropriate page
% breaks. Most of the \macpackage code is concerned with handling this box
% and its contents.
%
% \Parpackage's solution to the problem of parallel texts is to put the two
% texts into separate boxes, and then appropriately extract the pairs of
-% lines from the boxes. This involves duplicating
-% much of the original box code for an extra right text box. The other,
+% lines from the boxes. This involves duplicating
+% much of the original box code for an extra right text box. The other,
% smaller,
% part of the code is concerned with coordinating the line extractions from
% the boxes.
@@ -1376,9 +1376,9 @@
% \section{Preliminaries}
% \label{preliminaries}\relax
% \subsection{Package's meta-data}
-% Announce the name and version of the package, which is
+% Announce the name and version of the package, which is
% targeted for \LaTeX 2e. The package also requires the \macpackage
-% package, however we do not load it automatically, because we prefer users to know it.
+% package, however we do not load it automatically, because we prefer users to know it.
%
% \begin{macrocode}
%<*code>
@@ -1401,7 +1401,7 @@
% \subsubsection{Synchronization's options}
% \begin{macro}{\@par@this@sync@option}
% The \cs{par@sync@option} stores the options of synchronization.
-% It use to ensure these options do not change between two run.
+% It use to ensure these options do not change between two run.
% \begin{macrocode}
\def\@par@this@sync@option{}%
% \end{macrocode}
@@ -1416,7 +1416,7 @@
}%
% \end{macrocode}
% \end{macro}
-% With the option `advancedshiftedpstarts' a long pstart on the left side (or on the right side) does not make a blank on the corresponding pstart, but the blank is put on the bottom of the page. Consequently, the pstarts on the parallel pages are shifted, but the shift stops at every end of pages.
+% With the option `advancedshiftedpstarts' a long pstart on the left side (or on the right side) does not make a blank on the corresponding pstart, but the blank is put on the bottom of the page. Consequently, the pstarts on the parallel pages are shifted, but the shift stops at every end of pages.
% Differing to \option{shiftedpstarts}, the pstart shift are not counted to determine when cutting the page. That could help to avoid page with blank lines at the bottom.
% \begin{macro}{\ifshiftedpstarts}
% \begin{macrocode}
@@ -1452,7 +1452,7 @@
% \end{macro}
% \subsubsection{Position options}
% \begin{macro}{\ifmovecolumnspositiononrightpage}
-% The \cs{ifmovecolumnspositiononrightpage} boolean is set to true if, for a right page, we want the left column become a right column and the right column become a left column.
+% The \cs{ifmovecolumnspositiononrightpage} boolean is set to true if, for a right page, we want the left column become a right column and the right column become a left column.
% \begin{macrocode}
\newif\ifmovecolumnspositiononrightpage%
\DeclareOptionX{movecolumnspositiononrightpage}{%
@@ -1489,7 +1489,7 @@
\DeclareOptionX{prevpgnotnumbered}{\prevpgnotnumberedtrue}
% \end{macrocode}
% \begin{macro}{\prevpgstyle}
-% We store on \protect\cs{prevpgstyle} the argument of the option \verb+prevpgstyle+.
+% We store on \protect\cs{prevpgstyle} the argument of the option \verb+prevpgstyle+.
% \begin{macrocode}
\DeclareOptionX{prevpgstyle}{\gdef\prevpgstyle{#1}}%
% \end{macrocode}
@@ -1497,7 +1497,7 @@
% \begin{macrocode}
\ProcessOptionsX%
% \end{macrocode}
-% \subsection{Determining side and category of parallel processing}
+% \subsection{Determining side and category of parallel processing}
% As noted above, much of the code is a duplication of the original
% \macpackage{} code to handle the extra box(es) for the right hand side text,
% and sometimes for the left hand side as well. In order to distinguish
@@ -1520,11 +1520,11 @@
% \end{macro}
% \end{macro}
% \end{macro}
-% \subsection{Text's width}
+% \subsection{Text's width}
% \begin{macro}{\Lcolwidth}
% \begin{macro}{\Rcolwidth}
% The widths of the left and right parallel columns (or pages).
-% The suffixed versions are not manipulated directly by user, but we use them to be certain to have the same coldwitdh in the \env{pages} environment and in the \cs{Pages} command.
+% The suffixed versions are not manipulated directly by user, but we use them to be certain to have the same coldwitdh in the \env{pages} environment and in the \cs{Pages} command.
% \begin{macrocode}
\newdimen\Lcolwidth
\Lcolwidth=0.45\textwidth
@@ -1716,7 +1716,7 @@
% \begin{macro}{\unhnamebox}
% \begin{macro}{\unvnamebox}
% \begin{macro}{\namebox}
-% A set of macros for creating and using `named' boxes; the macros are called
+% A set of macros for creating and using `named' boxes; the macros are called
% after the regular box macros, but including the string `name'.
% \begin{macrocode}
\providecommand*{\newnamebox}[1]{%
@@ -1737,7 +1737,7 @@
% \end{macro}
% \end{macro}
% \begin{macro}{\ifcsboxvoid}
-% The \cs{ifcsboxvoid} command comes on top of the \package{etoolbox} package.
+% The \cs{ifcsboxvoid} command comes on top of the \package{etoolbox} package.
% The first argument is a box name, the second is the \meta{true} value, the third the \meta{false} value.
% If the first argument refers to a non-existing box, or if it refers to a box that is void, the \meta{true} value is returned. otherwise, \meta{false} is returned.
% \begin{macrocode}
@@ -1774,7 +1774,7 @@
%
% \begin{macro}{\section@numR}
% This is the right side equivalent of \protect\cs{section@num}.
-%
+%
% Each section will read and write an associated `line-list
% file', containing information used to do the numbering. Normally
% the file will be called \meta{jobname}\file{.nn}, where \file{nn} is the
@@ -1791,7 +1791,7 @@
% \begin{macro}{\ifpst@rtedL}
% \begin{macro}{\ifpst@rtedR}
% \protect\cs{ifpst@rtedL} is set FALSE at the start of left side numbering, and
-% similarly for \protect\cs{ifpst@rtedR}.
+% similarly for \protect\cs{ifpst@rtedR}.
% \protect\cs{ifpst@rtedL} is defined in \macpackage.
% \changes{v0.3.0}{2005/02/24}{Moved \protect\cs{ifpst@rtedL} to eledmac}
% \begin{macrocode}
@@ -1805,7 +1805,7 @@
% \changes{v1.8.0}{2014/07/24}{\protect\cs{beginnumbering} is defined only on \protect\package{eledmac}, not on \protect\package{eledpar}.}
%
% \begin{macro}{\beginnumberingR}
-% This is the right text equivalent of \protect\cs{beginnumbering}, and begins
+% This is the right text equivalent of \protect\cs{beginnumbering}, and begins
% a section of numbered text.
% \begin{macrocode}
\newcommand*{\beginnumberingR}{%
@@ -1836,7 +1836,7 @@
\ifcontinuousnumberingwithcolumns%
\ifnumbering%
\global\resumenumberingR@starttrue%
- \fi%
+ \fi%
\ifnumberpstart%
\addtocounter{pstartR}{1}%
\fi%
@@ -1863,13 +1863,13 @@
% \end{macro}
%
% \begin{macro}{\endnumbering}
-% This is the left text version of the regular \protect\cs{endnumbering} and must
-% follow the last text for a left text numbered section.
+% This is the left text version of the regular \protect\cs{endnumbering} and must
+% follow the last text for a left text numbered section.
% It sets \protect\cs{ifpst@rtedL} to FALSE. It is fully defined in \macpackage.
% \end{macro}
%
% \begin{macro}{\endnumberingR}
-% This is the right text equivalent of \protect\cs{endnumbering} and must follow the
+% This is the right text equivalent of \protect\cs{endnumbering} and must follow the
% last text for a right text numbered section.
% \begin{macrocode}
\def\endnumberingR{%
@@ -1911,10 +1911,10 @@
% \begin{macro}{\save@section@number}
% \begin{macro}{\set@sectcountR}
% \changes{v1.2.1}{2012/11/01}{For the right section, the counter is defined only once.}
-% We do not want the right side section commands to be numbered after the left side ones,
+% We do not want the right side section commands to be numbered after the left side ones,
% instead we want them numbered after which is typeset before the \env{pages} or \env{columns} environments.
% we switch the \LaTeX\ counter in \protect\cs{numberingR}.
-%
+%
% \begin{macrocode}
\newcounter{chapterR}
\newcounter{sectionR}
@@ -2027,7 +2027,7 @@
%
% \section{Line counting}
% \label{lineation}
-%
+%
% \subsection{Setting lineation reset}
% \changes{v0.11.0}{2012/06/11}{Lineation can be by pstart (like in eledmac 0.15).}
@@ -2040,7 +2040,7 @@
%
% \begin{macro}{\lineationR}
-% \protect\cs{lineationR}\marg{word} is the macro used to select the
+% \protect\cs{lineationR}\marg{word} is the macro used to select the
% lineation system for right texts.
% Its argument is a string: either \verb+page+, \verb+pstart+ or \verb+section+.
% \changes{v1.15.0}{2015/04/13}{As \protect\cs{lineation}, \protect\cs{lineationR} automatically set the \protect\cs{pstartinfootnote}.}
@@ -2197,7 +2197,7 @@
% \end{macrocode}
% \end{macro}
% \end{macro}
-% \subsection{Setting lineation start and step}
+% \subsection{Setting lineation start and step}
% \begin{macro}{\c@firstlinenumR}
% \begin{macro}{\c@linenumincrementR}
% The following counters tell \macpackage which right text lines should be
@@ -2207,7 +2207,7 @@
% is the difference between successive numbered lines. The initial
% values of these counters produce labels on lines $5$, $10$, $15$, etc.
% \verb+linenumincrementR+ must be at least $1$.
-%
+%
% \begin{macrocode}
\newcounter{firstlinenumR}
\setcounter{firstlinenumR}{5}
@@ -2245,7 +2245,7 @@
% These are the user's macros for changing (sub) line numbers. They are
% defined in \macpackage.
% The starred versions are specific to \protect\package{eledpar}.
-% \changes{v2.0.0}{2015/07/19}{\protect\cs{firstlinenum}, \protect\cs{linenumincrement}, \protect\cs{firstsublinenum}, \protect\cs{sublinenumincrement} are now defined only in \macpackage.}
+% \changes{v2.0.0}{2015/07/19}{\protect\cs{firstlinenum}, \protect\cs{linenumincrement}, \protect\cs{firstsublinenum}, \protect\cs{sublinenumincrement} are now defined only in \macpackage.}
% \begin{macrocode}
\WithSuffix\newcommand\firstlinenum*[1]{%
\setcounter{firstlinenumR}{#1}%
@@ -2303,7 +2303,7 @@
\newcommand{\setRlineflag}[1]{%
\gdef\@Rlineflag{#1}%
}
-\setRlineflag{R}
+\setRlineflag{R}
% \end{macrocode}
% \end{macro}
% \subsection{Setting line number style}
@@ -2332,7 +2332,7 @@
% \end{macro}
% \begin{macro}{\linenumberstyle*}
% \begin{macro}{\sublinenumberstyle*}
-% And for both side.
+% And for both side.
% \begin{macrocode}
\WithSuffix\newcommand\linenumberstyle*[1]{%
\linenumberstyle{#1}%
@@ -2361,17 +2361,17 @@
% \begin{macro}{\rightlinenumR}
% \begin{macro}{\l@dlinenumR}
% \protect\cs{leftlinenumR} and \protect\cs{rightlinenumR} are the macros that are
-% called to print the right text's marginal line numbers.
+% called to print the right text's marginal line numbers.
% Much of the
% code for these is common and is maintained in \protect\cs{l@dlinenumR}.
-% \changes{v0.3.0}{2005/02/10}{Simplified \protect\cs{leftlinenumR} and
+% \changes{v0.3.0}{2005/02/10}{Simplified \protect\cs{leftlinenumR} and
% \protect\cs{rightlinenumR} by introducing \protect\cs{l@dlinenumR}}
% \begin{macrocode}
\newcommand*{\leftlinenumR}{%
\l@dlinenumR
\kern\linenumsep}
\newcommand*{\rightlinenumR}{%
- \kern\linenumsep
+ \kern\linenumsep
\l@dlinenumR}
\newcommand*{\l@dlinenumR}{%
\numlabfont%
@@ -2401,7 +2401,7 @@
%
% \subsection{Line-number counters and lists}
% \subsubsection{Correspond to those in \macpackage for regular or left text}
-% We need another set of counters and lists for the right text,
+% We need another set of counters and lists for the right text,
% corresponding to those in \parpackage for regular or left text.
%
% \begin{macro}{\line@numR}
@@ -2409,13 +2409,13 @@
% \begin{macro}{\absline@numR}
% \begin{macro}{\ifsublines@R}
% The count \protect\cs{line@numR} stores the line number that is used in
-% the right text's marginal line numbering and in notes.
+% the right text's marginal line numbering and in notes.
% The count \protect\cs{subline@numR} stores
-% a sub-line number that qualifies \protect\cs{line@numR}.
+% a sub-line number that qualifies \protect\cs{line@numR}.
% The count \protect\cs{absline@numR} stores the
% absolute number of lines since the start
-% of the right text section: that is, the number we have actually printed,
-% no matter what numbers we attached to them.
+% of the right text section: that is, the number we have actually printed,
+% no matter what numbers we attached to them.
%
% The boolean \cs{ifsublines@R} is set to true when we start subline on rightside.
% \begin{macrocode}
@@ -2437,7 +2437,7 @@
% \begin{macro}{\annot@listR}
% Now we can define the list macros that will be created from the
% line-list file. They are directly analogous to the left text ones.
-% The full list of action codes and their meanings is given in the \macpackage
+% The full list of action codes and their meanings is given in the \macpackage
% manual.
%
% Here are the commands to create these lists:
@@ -2523,7 +2523,7 @@
% line-list file; its argument is the name of the file.
% \label{readlinelist}.
% It is defined only once time in \reledmac.
-% \changes{v2.0.0}{2015/07/19}{\protect\cs{read@linelist} is defined only once time in \protect\cs{reledmac}.}
+% \changes{v2.0.0}{2015/07/19}{\protect\cs{read@linelist} is defined only once time in \protect\cs{reledmac}.}
%
% \end{macro}
% \subsection{Commands within the line-list file}
@@ -2535,12 +2535,12 @@
%
% The macros with \verb"action" in their names contain all the code
% that modifies the action-code list.
-% \changes{v2.0.0}{2015/07/19}{\protect\cs{@nl} is now defined only in \reledmac.}
+% \changes{v2.0.0}{2015/07/19}{\protect\cs{@nl} is now defined only in \reledmac.}
% \begin{macro}{\@nl@regR}
% \begin{macro}{\@nl}
% \protect\cs{@nl@regR} is called by \protect\cs{@nl} if we are on a right side.
% It does everything related to the start of a
-% new line of numbered text on a right side.
+% new line of numbered text on a right side.
%
% \begin{macrocode}
\newcommand{\@nl@regR}{%
@@ -2600,7 +2600,7 @@
% \protect\cs{this@section@last@page@numR} holds the page number of the last right page of the current section. Its value is modified globally, contrary to \cs{last@page@numR}.
% Both are modified by \protect\cs{fix@page}, defined by \reledmac.
%
-% \changes{v2.0.0}{2105/06/28}{\protect\cs{fix@page} is defined only once in \reledmac}
+% \changes{v2.0.0}{2105/06/28}{\protect\cs{fix@page} is defined only once in \reledmac}
%
% \begin{macrocode}
\newcount\last@page@numR
@@ -2617,7 +2617,7 @@
% \begin{macro}{\@adv}
% The \protect\cs{@adv}\marg{num} macro advances
% the current visible line number by the amount specified as
-% its argument. This is used to implement \protect\cs{advanceline}.
+% its argument. This is used to implement \protect\cs{advanceline}.
% It is defined in \macpackage.
% \changes{v2.0.0}{2015/07/19}{\protect\cs{@adv} defined only in \reledmac.}
% \end{macro}
@@ -2660,7 +2660,7 @@
% adds an entry to the action-code list to turn sub-lineation on or
% off, according to the current value of the \protect\cs{ifsublines@} flag.
% It is defined in \macpackage.
-%
+%
% \changes{v2.0.0}{2015/07/19}{\protect\cs{sub@action} defined only in \reledmac.}
% \end{macro}
%
@@ -2752,7 +2752,7 @@
% It takes two arguments:
% \begin{itemize}
% \item \verb"#1", the number of entries to add to \protect\cs{insertlines@list}
-% for this reference.
+% for this reference.
% This value for right text, here and within \protect\cs{edtext},
% which computes it and writes it to the line-list file,
% will be stored in the count \protect\cs{insert@countR}.
@@ -2829,7 +2829,7 @@
% \end{macrocode}
% Decrease edtext level counter.
% \begin{macrocode}
- \global\advance\@edtext@level by -1%
+ \global\advance\@edtext@level by -1%
}
% \end{macrocode}
% \end{macro}
@@ -2870,7 +2870,7 @@
% Both are defined in \macpackage, but they are empty.
% They are really defined only in \parpackage.
%
-%
+%
% \begin{macrocode}
\renewcommand*{\@pend}[1]{%
\ifbypstart@\global\line@num=0\fi%
@@ -2913,7 +2913,7 @@
% \begin{macro}{\@lopL}
% \begin{macro}{\@lopR}
% \protect\cs{@lopL}\marg{num} adds its argument to the \protect\cs{linesonpage@listL}
-% list, and analagously for \protect\cs{@lopR}.
+% list, and analagously for \protect\cs{@lopR}.
% Both are defined in \macpackage, but they are empty.
% They are really defined only in \parpackage.
% \begin{macrocode}
@@ -2955,7 +2955,7 @@
%
% \begin{macro}{\line@list@stuffR}
% \begin{macro}{\next@line@list@stuffR}
-% This is the right text version of the \protect\cs{line@list@stuff}\marg{file}
+% This is the right text version of the \protect\cs{line@list@stuff}\marg{file}
% macro. It is called by \protect\cs{beginnumberingR} and performs
% all the line-list operations needed at the start of a section.
% Its argument is the name of the line-list file.
@@ -2976,7 +2976,7 @@
\iffirst@linenum@out@R
\global\first@linenum@out@Rfalse
\immediate\openout\linenum@outR=\l@auxdir#1%
- \immediate\write\linenum@outR{\string\line@list@version{\this@line@list@version}}%
+ \immediate\write\linenum@outR{\string\line@list@version{\this@line@list@version}}%
\ifl@dpaging%
\immediate\write\linenum@outR{\string\@par@sync@option{\@par@this@sync@option}}%
\fi%
@@ -3048,7 +3048,7 @@
%
% \begin{macro}{\setline}
% You can use \protect\cs{setline}\marg{num}
-% in running text (i.e., within \verb?\pstart...\pend?) to set the
+% in running text (i.e., within \verb?\pstart...\pend?) to set the
% current visible
% line-number to a specified positive value.
% It is defined in \macpackage.
@@ -3058,7 +3058,7 @@
%
% \begin{macro}{\setlinenum}
% You can use \protect\cs{setlinenum}\marg{num}
-% before a \protect\cs{pstart} to set the visible line-number to a specified
+% before a \protect\cs{pstart} to set the visible line-number to a specified
% positive value. It writes a \protect\cs{l@d@set} command to the line-list file.
% It is defined in \macpackage.
%
@@ -3085,7 +3085,7 @@
% \section{Marking text for notes}
% \label{text}
%
-% The \protect\cs{edtext} macro is used to create all
+% The \protect\cs{edtext} macro is used to create all
% footnotes and endnotes,
% as well as to print the portion of the main text to which a given note
% or notes is keyed. The idea is to have that lemma appear only once in
@@ -3108,7 +3108,7 @@
% \changes{v2.0.0}{2015/07/19}{\protect\cs{set@line} defined only in \reledmac.}
% \end{macro}
% \subsection{Specific hooks and commands for notes}
-% The \macpackage \protect\cs{newseries@} initializes commands which are linked to notes series.
+% The \macpackage \protect\cs{newseries@} initializes commands which are linked to notes series.
% However, to keep \macpackage as light as possible, it does not define commands which are specific to \parpackage.
% This is what does \protect\cs{newseries@par}. The specific hooks are also defined here.
% \begin{macro}{\newseries@par}
@@ -3141,22 +3141,22 @@
% Consequently, if we do nothing special, the note numbers are sorted in the reading order, not in the typesetting order.
% So we could obtain something like 1,3,2,5,4.
%
-% To prevent this problem, we use a two new counters by series.
+% To prevent this problem, we use a two new counters by series.
% Every note, in parallel typesetting, has three associated counters.
% \begin{enumerate}
% \item A \LaTeX\ counter \verb+footnoteX+. This the only one manipulated by user, and the only one finally printed.
% \item A \TeX\ counter \verb+footnoteX@reading+. Its value is incremented when reading the \cs{footnoteX} command in left or right side environments. It is used to get the correct footnote number from the \verb+.aux+ file to be typeset in the main text. This counter is already defined in \macpackage, as it is also used for hyperlink.
% \changes{v2.6.2}{2015/11/29}{The \TeX\ counter \protect\cs{footnoteX@reading} is defined in \protect\reledmac.}
% \item A \LaTeX\ counter \verb+footnoteX@typeset. Its value is increased when inserting footnotes. Its value is directly used in the footnote, and is stored in the \verb+aux+ files to be used on the next run for the main text.
-% \end{enumerate}
-%
+% \end{enumerate}
+%
%
%
% So here, we only defined the new counter.
% \begin{macrocode}
\newcounter{footnote#1@typeset}%
% \end{macrocode}
-%
+%
% \paragraph{Familiar footnotes without marks}
% The \protect\cs{footnoteXnomk} commands are for notes which are printed on the left side, while they are called in the right side.
% Basically, they set first toggle \protect\cs{nomark@} to true, then call the \protect\cs{footnoteX}.
@@ -3198,7 +3198,7 @@
\gl@p\@tmp\to\@tmpa%
\global\cslet{footnote#1@mk}{\@tmp}%
% \end{macrocode}
-% Set the footnotecounter with it.
+% Set the footnotecounter with it.
% For the sake of security, we make a backup of the previous value.
% \begin{macrocode}
\letcs{\old@footnote}{c@footnote#1}%
@@ -3215,7 +3215,7 @@
\xspace%
}%
% \end{macrocode}
-% End of tools specific to familiar notes.
+% End of tools specific to familiar notes.
% \begin{macrocode}
\fi
% \end{macrocode}
@@ -3273,7 +3273,7 @@
% \end{macrocode}
% \end{macro}
% \subsection{Tools specific to \LaTeX's classical footnotes}
-% As users can use classical footnotes of \LaTeX\ (\cs{footnote})
+% As users can use classical footnotes of \LaTeX\ (\cs{footnote})
% in parallel texts, we must integrate the same tools to get correct number as for \macpackage' footnotes (\reff{familiarfootnotenumber}).
% \begin{macro}{\footnote@reading}
% \begin{macro}{\footnote@typeset}
@@ -3286,10 +3286,10 @@
% \section{Pstart numbers dumping and restoration}
% While in \macpackage the footnotes are inserted at the same time as the \protect\cs{pstart}\ldots\protect\cs{pend} are read, in \parpackage they are inserted when the \protect\cs{Columns} or \protect\cs{Pages} commands are called.
% Consequently, if we do nothing, the value of the \verb+PstartL+ and \verb+PstartR+ counters are not the same in the main text and in the notes.
-% To solve this problem, we dump the values in two list (one by side) when processing \protect\cs{pstart} and restore these at each \protect\cs{pstart} when calling \protect\cs{Columns} or \protect\cs{Pages}.
+% To solve this problem, we dump the values in two list (one by side) when processing \protect\cs{pstart} and restore these at each \protect\cs{pstart} when calling \protect\cs{Columns} or \protect\cs{Pages}.
% We also dump and restore the value of the booleans \protect\cs{ifnumberpstart} and \protect\cs{ifnumberline}.
-% So, first step, creating the lists.
+% So, first step, creating the lists.
% Here, ``pc'' means ``public counters''.
% \begin{macro}{\list@pstartL@pc}
% \begin{macro}{\list@pstartR@pc}
@@ -3299,10 +3299,10 @@
% \end{macrocode}
% \end{macro}
% \end{macro}
-% Two commands to dump current pstarts.
-% We prefer two commands to one with argument indicating the side,
+% Two commands to dump current pstarts.
+% We prefer two commands to one with argument indicating the side,
% because the commands are short, and so we save one test (or a \protect\cs{csname} construction).
-% \begin{macro}{\dump@pstartL@pc}
+% \begin{macro}{\dump@pstartL@pc}
% \begin{macro}{\dump@pstartR@pc}
% \begin{macrocode}
\def\dump@pstartL@pc{%
@@ -3320,7 +3320,7 @@
% \end{macrocode}
% \end{macro}
% \end{macro}
-% \begin{macro}{\restore@pstartL@pc}
+% \begin{macro}{\restore@pstartL@pc}
% \begin{macro}{\restore@pstartR@pc}
% And so, the commands to restore them.
% \begin{macrocode}
@@ -3333,7 +3333,7 @@
\def\restore@pstartR@pc{%
\ifx\list@pstartR@pc\empty\else%
\gl@p\list@pstartR@pc\to\@temp%
- \global\c@pstartR=\@temp%
+ \global\c@pstartR=\@temp%
\fi%
}%
% \end{macrocode}
@@ -3413,14 +3413,14 @@
% \begin{environment}{Leftside}
% Within the \verb?pairs? and \verb?pages? environments the left and
% right hand texts are within \verb?Leftside? and \verb?Rightside?
-% environments, respectively. The \verb?Leftside? environment is simple,
-% indicating that right text is not within its purview and using some
+% environments, respectively. The \verb?Leftside? environment is simple,
+% indicating that right text is not within its purview and using some
% particular macros.
% \changes{v0.3.0}{2005/02/10}{Added hooks into Leftside environment}
% \begin{macrocode}
\newenvironment{Leftside}{%
\expandafter\ifvoid\csname l@dLcolrawbox1\endcsname\else%
- \led@err@Leftside@PreviousNotPrinted%
+ \led@err@Leftside@PreviousNotPrinted%
\fi%
\ledRcolfalse
\setcounter{pstartL}{1}
@@ -3462,19 +3462,19 @@
% \begin{environment}{Rightside}
% The \verb?Rightside? environment is only slightly more complicated
% than the \verb?Leftside?.
-% Apart from indicating that right text is being provided it
+% Apart from indicating that right text is being provided it
% ensures that the right right text code will be used.
% \begin{macrocode}
\newenvironment{Rightside}{%
\expandafter\ifvoid\csname l@dRcolrawbox1\endcsname\else%
- \led@err@Rightside@PreviousNotPrinted%
+ \led@err@Rightside@PreviousNotPrinted%
\fi%
\ledRcoltrue
\let\beginnumbering\beginnumberingR
\let\endnumbering\endnumberingR
\let\pausenumbering\pausenumberingR
\let\resumenumbering\resumenumberingR
- \let\memorydump\memorydumpR
+ \let\memorydump\memorydumpR
\let\thepstart\thepstartR
\let\pstart\pstartR
\let\pend\pendR
@@ -3520,14 +3520,14 @@
% of the paragraph decomposition.
%
% When we first form the paragraph, it goes into a box register,
-% \protect\cs{l@dLcolrawbox} or \protect\cs{l@dRcolrawbox} for right text, instead of onto the
+% \protect\cs{l@dLcolrawbox} or \protect\cs{l@dRcolrawbox} for right text, instead of onto the
% current vertical list.
% The \protect\cs{ifnumberedpar@} flag will be \verb"true" while a paragraph is
% being processed in that way.
% \protect\cs{num@lines(R)} will store the number of lines in the paragraph
% when it is complete. When we chop it up into lines, each line
% in turn goes into the
-% \protect\cs{one@line} or \protect\cs{one@lineR} register, and \protect\cs{par@line(R)}
+% \protect\cs{one@line} or \protect\cs{one@lineR} register, and \protect\cs{par@line(R)}
% will be the number
% of that line within the paragraph.
% \begin{macrocode}
@@ -3548,7 +3548,7 @@
% \protect\cs{pstart} starts the paragraph by
% clearing the \protect\cs{inserts@list} list and other
% relevant variables, and then arranges for the
-% subsequent text to go into the appropriate box.
+% subsequent text to go into the appropriate box.
% \protect\cs{pstart} needs to appear at the start of
% every paragraph that is to be numbered.
%
@@ -3557,8 +3557,8 @@
% them to survive past the end of the paragraph.
%
% We have to have specific left and right \protect\cs{pstart} when parallel processing;
-% among other things because of potential changes in the linewidth.
-%
+% among other things because of potential changes in the linewidth.
+%
% \begin{macrocode}
\newcounter{pstartL}
@@ -3588,7 +3588,7 @@
\fi%
% \end{macrocode}
% If this is the first \protect\cs{pstart} in a numbered section, clear any inserts
-% and set \protect\cs{ifpst@rtedL} to FALSE.
+% and set \protect\cs{ifpst@rtedL} to FALSE.
% \begin{macrocode}
\ifpst@rtedL\else%
\list@clear{\inserts@list}%
@@ -3612,7 +3612,7 @@
% We set all the usual interline penalties to zero; this ensures that there will
% be no large interline penalties to prevent us from slicing the
% paragraph into pieces. These penalties revert to the values
-% that you set when the group for the \protect\cs{vbox} ends.
+% that you set when the group for the \protect\cs{vbox} ends.
% \begin{macrocode}
\l@dzeropenalties%
\ifboolexpr{%
@@ -3673,7 +3673,7 @@
}
% \end{macrocode}
% The same for right side.
-%
+%
% \begin{macrocode}
\newcommandx*{\pstartR}[2][1,2,usedefault]{%
\if@nobreak%
@@ -3762,8 +3762,8 @@
% \begin{macro}{\pendL}
% \changes{v1.4.3}{2013/10/27}{Spurious spaces in \protect\cs{pendL}.}
% \changes{v1.8.0}{2014/08/05}{As in \protect\package{eledmac}, \protect\cs{pendL} can have an optional argument.}
-% \protect\cs{pend} must be used to end a numbered paragraph. Again we need
-% a version
+% \protect\cs{pend} must be used to end a numbered paragraph. Again we need
+% a version
% that knows about left parallel texts.
%
% \begin{macrocode}
@@ -3778,7 +3778,7 @@
% We immediately
% call \protect\cs{endgraf} to end the paragraph; this ensures that there will
% be no large interline penalties to prevent us from slicing the
-% paragraph into pieces.
+% paragraph into pieces.
% \begin{macrocode}
\@at@end@every@pend%
\endgraf\global\num@lines=\prevgraf\egroup%
@@ -3847,24 +3847,24 @@
\endgroup%
\ignorespaces%
\@oldnobreak%
- \dump@pstartR@pc%
+ \dump@pstartR@pc%
\ifnumberpstart%
\addtocounter{pstartR}{1}%
- \fi%
+ \fi%
\parledgroup@beforenotes@save{R}%
\providetoggle{after@pendR@\the\l@dnumpstartsR @par}%
\ifboolexpr{%
test {\ifstrempty{#1}}%
and test {\ifstrempty{#2}}%
}%
- {%
+ {%
\ifat@every@pend@star@%
\global\togglefalse{after@pendR@\the\l@dnumpstartsR @par}%
\else%
\global\toggletrue{after@pendR@\the\l@dnumpstartsR @par}%
\fi%
\csgdef{after@pendR@\the\l@dnumpstartsR}{\at@every@pend}}%
- {%
+ {%
\ifstrempty{#1}{}{%
\csgdef{after@pendR@\the\l@dnumpstartsR}{\noindent#1}%
\global\toggletrue{after@pendR@\the\l@dnumpstartsR @par}%
@@ -3900,7 +3900,7 @@
% \subsection{Processing one line}
%
% For parallel texts we have to be able to process left and right lines
-% independently. For sequential text we happily use the
+% independently. For sequential text we happily use the
% original \protect\cs{do@line}. Otherwise \ldots
%
% \begin{macro}{\l@dleftbox}
@@ -3952,10 +3952,10 @@
% \changes{v1.8.0}{2014/08/05}{Change \protect\cs{do@lineR} and \protect\cs{do@lineR} to allow new sectioning commands.}
% \begin{macro}{\do@lineL}
% \changes{v1.8.1}{2014/08/07}{Fix a bug with critical notes a the beginning of a page, (maybe added by v1.8.0) (?).}
-% The \protect\cs{do@lineL} macro is called to
+% The \protect\cs{do@lineL} macro is called to
% do all the processing for a single line of left text.
% \changes{v0.3.0}{2005/02/10}{Added \protect\cs{do@lineLhook} to \protect\cs{do@lineL}}
-% \changes{v0.3.0}{2005/02/10}{Simplified \protect\cs{do@lineL} by using macros for
+% \changes{v0.3.0}{2005/02/10}{Simplified \protect\cs{do@lineL} by using macros for
% some common code}
% \begin{macrocode}
\newcommand*{\do@lineL}{%
@@ -3968,9 +3968,9 @@
\do@lineLhook%
\l@demptyd@ta%
\global\setbox\one@line=\vsplit\namebox{l@dLcolrawbox\the\l@dpscL}%
- to\baselineskip}%
+ to\baselineskip}%
\IfStrEq{\splitfirstmarks\parledgroup@}{begin}{\parledgroup@notes@startL}{}%
- \unvbox\one@line \global\setbox\one@line=\lastbox%
+ \unvbox\one@line \global\setbox\one@line=\lastbox%
\@writepageofparL%
\getline@numL%
\ifnum\@lock>\@ne%
@@ -4103,13 +4103,13 @@
\affixside@note%
}%
% \end{macrocode}
-% \end{macro}
+% \end{macro}
% \begin{macro}{\dolineLhook}
% \begin{macro}{\dolineRhook}
% \begin{macro}{\doinsidelineLhook}
% \begin{macro}{\doinsidelineRhook}
% \changes{v1.8.3}{2014/08/31}{Added \protect\cs{dolineLhook}, \protect\cs{dolineRhook}, \protect\cs{doinsidelineLhook} and \protect\cs{doinsidelineRhook}}
-% These high-level commands just redefine the low-level commands.
+% These high-level commands just redefine the low-level commands.
% They have to be used by user, without \protect\cs{makeatletter}.
% \begin{macrocode}
\newcommand*{\dolineLhook}[1]{\gdef\do@lineLhook{#1}}%
@@ -4141,7 +4141,7 @@
% \end{macro}
% \end{macro}
% \begin{macro}{\do@lineR}
-% The \protect\cs{do@lineR} macro is called to
+% The \protect\cs{do@lineR} macro is called to
% do all the processing for a single line of right text.
% \changes{v0.3.0}{2005/02/10}{Changed \protect\cs{do@lineR} similarly to \protect\cs{do@lineL}}
% \changes{v1.8.1}{2014/08/07}{Fix a bug with critical notes a the beginning of a page, added by v1.8.0 (?).}
@@ -4161,7 +4161,7 @@
\do@lineRhook%
\l@demptyd@ta%
\global\setbox\one@lineR=\vsplit\namebox{l@dRcolrawbox\the\l@dpscR}%
- to\baselineskip}%
+ to\baselineskip}%
\IfStrEq{\splitfirstmarks\parledgroup@}{begin}{\parledgroup@notes@startR}{}%
\unvbox\one@lineR \global\setbox\one@lineR=\lastbox%
\@writepageofparR%
@@ -4293,7 +4293,7 @@
\affixside@noteR%
}%
% \end{macrocode}
-% \end{macro}
+% \end{macro}
% \subsection{Line and page number computation}
%
% \begin{macro}{\getline@numR}
@@ -4349,7 +4349,7 @@
% \relax
% The real work in the line macros above is done in \protect\cs{do@actions}, but
% before we plunge into that, let is get \protect\cs{do@ballastR} out of the
-% way.
+% way.
% \begin{macrocode}
\newcommand*{\do@ballastR}{\global\ballast@count=\z@
\begingroup
@@ -4382,7 +4382,7 @@
\newif\ifl@dskipversenumberR
\newcommand*{\do@actions@fixedcodeR}{%
- \ifcase\@l@dtempcnta%
+ \ifcase\@l@dtempcnta%
\or% % 1001 = starting sublineation
\global\sublines@Rtrue
\or% % 1002 = ending sublineation
@@ -4408,9 +4408,9 @@
\or% % 1008 = skipping numbering in stanza
\l@dskipversenumberRtrue%
\or% % 1009 = hiding number
- \l@dhidenumbertrue%
+ \l@dhidenumbertrue%
\or% % 1010 = inserting msdata
- \add@msdata%
+ \add@msdata%
\else%
\led@warn@BadAction
\fi%
@@ -4474,7 +4474,7 @@
% \begin{macro}{\ch@ck@l@ckR}
% \begin{macro}{\f@x@l@cksR}
% \begin{macro}{\affixline@numR}
-% \protect\cs{affixline@numR} is the right text version of the
+% \protect\cs{affixline@numR} is the right text version of the
% \protect\cs{affixline@num} macro.
% \changes{v0.3.0}{2005/02/24}{Changed \protect\cs{affixline@numR} to match new eledmac}
% \changes{v0.11.0}{2012/06/11}{Changed \protect\cs{affixline@numR} to allow to disable line numbering (like in eledmac 0.15).}
@@ -4581,11 +4581,11 @@
\fi
\ifboolexpr{%
bool {l@dprintingcolumns}%
- and (%
+ and (%
(test {\ifdefstring{\linenum@OnlyPages@ForColumnsR}{left}}%
and test {\ifnumodd{\page@numR}}%
)%
- or%
+ or%
(test {\ifdefstring{\linenum@OnlyPages@ForColumnsR}{right}}%
and not test {\ifnumodd{\page@numR}}%
)%
@@ -4792,7 +4792,7 @@
% \fi
% \fi}
% \end{verbatim}
-% This is for a single chunk. However, as we are probably dealing
+% This is for a single chunk. However, as we are probably dealing
% with several chunks at a time, the above is nor really relevant. Peter Wilson thinks
% that it is likely with parallel text that there is no real need to add
% back any penalties; even if there was, they would have to match across the
@@ -4845,13 +4845,13 @@
% The \protect\cs{Xonlyside} and \protect\cs{onlysideX} hooks for \protect\cs{Pages}
% allow notes to be printed either in left or right pages only.
% The implementation of such features is delegated to \protect\cs{print@Xnotes@forpages},
-% which replaces \protect\cs{print@Xnotes} inside \protect\cs{Pages}.
+% which replaces \protect\cs{print@Xnotes} inside \protect\cs{Pages}.
% Here is how we proceed\footnote{See \url{http://tex.stackexchange.com/a/230332/7712}.}:
% \begin{itemize}
% \item If notes are to be printed on both sides, we just proceed the usual way: print the foot starts for the series, then the foot group.
% \item If notes are to be printed in the left side, we do these prints only for even pages ; if notes are to be printed in the right side, we do these prints only for odd pages.
% \item However, that is not enough. Because the problem does not only consists in printing notes in any particular page. It is also not to put aside room for notes in the pages where we do not want to print them.
-% To take an example: if some note in the left side is too long by 160pt to be printed in full in the left page, we do not want to put aside 160pt a space for it in the following right page.
+% To take an example: if some note in the left side is too long by 160pt to be printed in full in the left page, we do not want to put aside 160pt a space for it in the following right page.
% \item To solve this problem, we change the magnification factor associated with notes before going to the next page.
% If we start a page where no notes are supposed to be printed, the magnification counter is set to 0. The dimension associated to footnote is set to \cs{maxdimen}, and so we can keep all the notes we want, without any break inside We also set the note skip to 0pt. Before starting a new page where these notes are supposed to be printed, we reset these counter and skip to their default values. (About these counter, dimension and skip, read \thetexbook\ p.~122-125).
% \item In the output macro of the page where notes must NOT be printed, we store the content of the footnote box produced by \TeX\ to a temporary box.
@@ -4868,7 +4868,7 @@
\csuse{#1footgroup}{#1}%
}%
% \end{macrocode}
-% Second case: notes are for one side only.
+% Second case: notes are for one side only.
% First test if we are in a page where they must be printed.
% \begin{macrocode}
{%
@@ -4884,7 +4884,7 @@
\csuse{#1footstart}{#1}%
\csuse{#1footgroup}{#1}%
% \end{macrocode}
-% Then, set to not to keep room for notes in the next page.
+% Then, set to not to keep room for notes in the next page.
% Also set to that, in the next page, notes are not to be split, using \cs{maxdimen}.
% \begin{macrocode}
\global\count\csuse{#1footins}=\z@%
@@ -4901,7 +4901,7 @@
\bgroup%
\csuse{Xnotefontsize@#1}%
\global\dimen\csuse{#1footins}=\csuse{Xmaxhnotes@#1}%
- \egroup%
+ \egroup%
% \end{macrocode}
% Then, save the current insert box to a temporary insert box.
% \begin{macrocode}
@@ -4940,7 +4940,7 @@
\bgroup%
\csuse{Xnotefontsize@#1}%
\global\dimen\csuse{footins#1}=\csuse{maxhnotesX@#1}%
- \egroup%
+ \egroup%
\global\setnamebox{footins#1@kept}=\box\namebox{footins#1}%
}%
}%
@@ -5005,7 +5005,7 @@
% \end{macrocode}
% The main feature of \cs{edtextlater} is to create a macro which will be called on the equivalent \cs{edtextnow}.
% \begin{macrocode}
-%
+%
\csxdef{edtext@later@\the\edtext@later}{%
% \end{macrocode}
% \cs{edtextnow} will insert a empty \cs{edtext}.
@@ -5045,7 +5045,7 @@
}%
}%
% \end{macrocode}
-% And now, we print the current lemma data.
+% And now, we print the current lemma data.
% But we save the beginning and the starting line using the crossref mechanism.
% We also store information in the auxiliary file about the existence of a \cs{edtextlater} and, if required, about the use of a \cs{lemma}
% \begin{macrocode}
@@ -5135,7 +5135,7 @@
% appearing in the \protect\cs{linenum@out} file.
%
% It is defined on \macpackage.
-% \changes{v2.0.0}{2015/28/06}{\protect\cs{@lab} defined only in \eledmac.}
+% \changes{v2.0.0}{2015/28/06}{\protect\cs{@lab} defined only in \eledmac.}
% \end{macro}
%
%
@@ -5176,11 +5176,11 @@
% \begin{macro}{\@morespace@rightnote@leftcolumn}
% \begin{macro}{\@morespace@leftnote@rightcolumn}
% \begin{macro}{\get@sidenote@morespace@columns}
-% If we are typesetting parallel columns, we may want a left sidenote called on the right column be put on the left of the page and not on the left of the column,
+% If we are typesetting parallel columns, we may want a left sidenote called on the right column be put on the left of the page and not on the left of the column,
% and a right sidenote called on the left column be put on the right of the page and not on the right of the column. We store as an option in the \cs{if@sidenotesmarginpage} boolean.
%
-% To do it, we need to add spaces, respectively defined on \cs{@morespace@leftnote@rightcolumn} and \cs{@morespace@rightnote@leftcolumn}.
-% The \cs{get@sidenote@morespace@columns} calculate there two lengths.
+% To do it, we need to add spaces, respectively defined on \cs{@morespace@leftnote@rightcolumn} and \cs{@morespace@rightnote@leftcolumn}.
+% The \cs{get@sidenote@morespace@columns} calculate there two lengths.
% \begin{macrocode}
\newdimen\@morespace@leftnote@rightcolumn%
\newdimen\@morespace@rightnote@leftcolumn%
@@ -5202,7 +5202,7 @@
% \begin{macrocode}
\else%
\global\@morespace@leftnote@rightcolumn=\z@%
- \global\@morespace@rightnote@leftcolumn=\z@%
+ \global\@morespace@rightnote@leftcolumn=\z@%
% \end{macrocode}
% End of \cs{get@sidenote@morespace@columns}.
% \begin{macrocode}
@@ -5305,7 +5305,7 @@
% \end{macro}
% \end{macro}
-% Before we can define the main stanza macros we need to be able to save
+% Before we can define the main stanza macros we need to be able to save
% and reset
% the category code for \&. To save the current value we use
% \verb+\next+ from the \verb+\loop+ macro.
@@ -5335,7 +5335,7 @@
\fi
\ifnum\usenamecount{szp@0@}=\z@
\let\sza@penalty\relax
- \fi
+ \fi
\def&{%
\endlock\mbox{}%
\sza@penalty
@@ -5356,8 +5356,8 @@
% \end{environment}
%
% \begin{macro}{\@stopastanza}
-% This command is called by \verb+\&+ in \env{astanza} environment.
-% It allows optional arguments.
+% This command is called by \verb+\&+ in \env{astanza} environment.
+% It allows optional arguments.
% \begin{macrocode}
\newcommandx{\@stopastanza}[2][1,2,usedefault]{%
\endlock\mbox{}%
@@ -5404,7 +5404,7 @@
\catcode`\&=\next
% \end{macrocode}
-%
+%
% \begin{macro}{\thestanzaL}
% \begin{macro}{\thestanzaR}
% And now, the left and right stanza counter.
@@ -5456,7 +5456,7 @@
% \end{macro}
% \begin{macro}{\bbl@set@language}
% In \protect\package{babel} the macro \protect\cs{bbl@set@language}\marg{lang} does the work when
-% the language \meta{lang} is changed via \protect\cs{selectlanguage}.
+% the language \meta{lang} is changed via \protect\cs{selectlanguage}.
% Unfortunately for us, if it is given
% an argument in the form of a control sequence it strips off the \verb?\?
% character rather than expanding the command. We need a version that accepts
@@ -5493,11 +5493,11 @@
% Now do the \protect\package{babel} or \protect\package{polyglossia} fix or, if necessary.
% \begin{macrocode}
\AtBeginDocument{%
- \@ifundefined{xpg@main@language}{%
- \@ifundefined{bbl@main@language}{%
+ \@ifundefined{xpg@main@language}{%
+ \@ifundefined{bbl@main@language}{%
% \end{macrocode}
% Either \protect\package{babel} has not been used or it has been used with no
-% specified language.
+% specified language.
% \begin{macrocode}
\l@dusedbabelfalse
}{%
@@ -5560,7 +5560,7 @@
%
% In sequential text, each chunk (that enclosed by \protect\cs{pstart} \ldots
% \protect\cs{pend}) is put into a box called \protect\cs{raw@text} and then immediately
-% printed, resulting in the box being emptied and ready for the next chunk.
+% printed, resulting in the box being emptied and ready for the next chunk.
% For parallel processing multiple boxes are needed as printing is delayed.
% We also need extra counters for various things.
%
@@ -5588,7 +5588,7 @@
% \end{macrocode}
% \end{macro}
% \end{macro}
-%
+%
% \begin{macro}{\l@dpscL}
% \begin{macro}{\l@dpscR}
% A couple of scratch counts to count left and right \cs{pstart}, respectively.
@@ -5599,7 +5599,7 @@
% \end{macrocode}
% \end{macro}
% \end{macro}
-%
+%
% \begin{macro}{\l@dsetuprawboxes}
% This macro creates \protect\cs{maxchunks} pairs of boxes for left and right
% chunks. The boxes are called \protect\cs{l@dLcolrawbox1}, \protect\cs{l@dLcolrawbox2}, etc.
@@ -5687,14 +5687,14 @@
% \begin{macro}{\checkraw@text}
% \protect\cs{checkraw@text} checks whether the current Left or Right box is
% void or not. If one or other is not void it sets \protect\cs{araw@texttrue},
-% otherwise both are void and it sets \protect\cs{araw@textfalse}.
-% \begin{macrocode}
+% otherwise both are void and it sets \protect\cs{araw@textfalse}.
+% \begin{macrocode}
\newif\ifaraw@text
\newcommand*{\checkraw@text}{%
\araw@textfalse
\ifvbox\namebox{l@dLcolrawbox\the\l@dpscL}
\araw@texttrue
- \else
+ \else
\ifvbox\namebox{l@dRcolrawbox\the\l@dpscR}
\araw@texttrue
\fi
@@ -5706,8 +5706,8 @@
% \end{macro}
% \end{macro}
% \end{macro}
-%
-%
+%
+%
% \begin{macro}{\@writelinesinparL}
% \begin{macro}{\@writelinesinparR}
% These write the number of text lines in a chunk to the section files,
@@ -5807,8 +5807,8 @@
% two by two (left and right pairs).
% \begin{macrocode}
\check@pstarts
- \loop\if@pstarts
- \global\pstartnumtrue
+ \loop\if@pstarts
+ \global\pstartnumtrue
\global\pstartnumRtrue
% \end{macrocode}
% Increase \protect\cs{l@dpscL} and \protect\cs{l@dpscR} which here count
@@ -5827,7 +5827,7 @@
\Columns@print@before@pstart%
% \end{macrocode}
% Check if there is text yet to be processed in at least one of
-% the two current chunks, and also whether the left and right languages
+% the two current chunks, and also whether the left and right languages
% are the same
% \changes{v0.2.0}{2004/12/20}{Added \protect\cs{l@dchecklang} and \protect\cs{l@duselanguage}
% to \protect\cs{Columns}}
@@ -5856,8 +5856,8 @@
{%
\ifdefstring{\@eledsectmark}{R}%
{\csuse{eled@sectmark@\the\l@dpscR R}%
- }{}%
- \global\csundef{eled@sectmark@\the\l@dpscR R}%
+ }{}%
+ \global\csundef{eled@sectmark@\the\l@dpscR R}%
\savebox{\@eledsectionR}{\parbox[t][][t]{\Rcolwidth}{\vbox{}\print@eledsectionR}}}%\vbox{}-> prevent alignment troubles with RTL language
{}%
\hb@xt@ \hsize{%
@@ -5874,7 +5874,7 @@
\repeat}
% \end{macrocode}
% Having completed a pair of chunks, write the number of lines
-% in each chunk to the respective section files.
+% in each chunk to the respective section files.
% Increment pstart counters and reset line numbering if it is by pstart.
% \changes{v0.11.0}{2012/06/11}{Line numbering by pstart.}
% \begin{macrocode}
@@ -5916,7 +5916,7 @@
% \begin{macro}{\print@columnseparator}
% \changes{v1.8.0}{2014/08/05}{Move some code of \protect\cs{Columns} to \protect\cs{print@columnseparator}.}
% \protect\cs{print@columnseparator} prints the column separator, with surrounding spaces (as the user has set them).
-% We use the \TeX\ \protect\cs{ifdim} instead of \protect\package{etoolbox}
+% We use the \TeX\ \protect\cs{ifdim} instead of \protect\package{etoolbox}
% to avoid having \protect\cs{hfill} in a \verb+{}+, which deletes some space (but not much).
% \begin{macrocode}
\def\print@columnseparator{%
@@ -6012,7 +6012,7 @@
{}%
% \end{macrocode}
% Now, we have finished with the case the columns are centered aligned.
-% \begin{macrocode}
+% \begin{macrocode}
}%
% \end{macrocode}
% Other case, the columns are left or right aligned.
@@ -6086,8 +6086,8 @@
% \end{macro}
% \begin{macro}{\print@leftcolumn}
% \begin{macro}{\print@rightcolumn}
-% \cs{print@leftcolumn} and \cs{print@rightcolumn} print the line number of the left or right column respectively.
-% Normally, it is defined by the content of the \env{Leftside} or \env{Rightside} environments.
+% \cs{print@leftcolumn} and \cs{print@rightcolumn} print the line number of the left or right column respectively.
+% Normally, it is defined by the content of the \env{Leftside} or \env{Rightside} environments.
% But if \cs{movecolumnspositiononrightpage} is set to TRUE, it also depends on the page number.
% \begin{macrocode}
\newcommand{\print@leftcolumn}{%
@@ -6184,7 +6184,7 @@
% \end{macro}
% \begin{macro}{\columnsposition}
% \begin{macro}{\columns@position}
-% The position of the \protect\cs{Columns} in a page. Default value is R.
+% The position of the \protect\cs{Columns} in a page. Default value is R.
% Stored in \protect\cs{columns@position}.
% \begin{macrocode}
\newcommand*{\columnsposition}[1]{%
@@ -6215,7 +6215,7 @@
% \begin{macro}{setnotepositionliketwocolumns@C}
% \begin{macro}{setpositionliketwocolumns@R}
% \begin{macro}{setnotepositionliketwocolumns@R}
-% The \protect\cs{setwidthliketwocolumns} macro is called in \protect\cs{beginnumbering} in a \textbf{non-parallel}
+% The \protect\cs{setwidthliketwocolumns} macro is called in \protect\cs{beginnumbering} in a \textbf{non-parallel}
% typesetting context, to fix the width of the lines to be vertically aligned with parallel columns. It is also called at the beginning of a note's group, if some options are enabled.
% The \protect\cs{setposition…} macros are called in \protect\cs{beginnumbering} in a \textbf{non- parallel} typesetting context to fix the position of the lines.
% The \protect\cs{setnoteposition…} macros are called in \protect\cs{xxxfootstart} in a \textbf{non- parallel} typesetting context to fix the position of notes block.
@@ -6260,7 +6260,7 @@
% \end{macro}
% \end{macro}
% \end{macro}
-%
+%
% \begin{macro}{\Columns@print@before@pstart}
% \begin{macro}{\Columns@print@after@pend}
% The \protect\cs{Columns@print@before@pstart} and \protect\cs{Columns@print@after@pend} print the content of the optional argument of \protect\cs{pstart} / \protect\cs{pend}. If this content is not empty, it also print the separator.
@@ -6275,7 +6275,7 @@
\ifboolexpr{not togl{before@pstartR@\the\l@dpscR @par} and not togl{before@pstartL@\the\l@dpscL @par}}{%
\csuse{before@pstartL@\the\l@dpscL}%
\csuse{before@pstartR@\the\l@dpscR}%
- }{%
+ }{%
\hb@xt@ \hsize{%
\ifdefstring{\columns@position}{L}{}{\hfill }%
\par\parbox[t][][t]{\Lcolwidth}{%
@@ -6287,7 +6287,7 @@
\csuse{before@pstartR@\the\l@dpscR}%
}%
\ifdefstring{\columns@position}{R}{}{\hfill}%
- }%
+ }%
}%
}%
\global\csundef{before@pstartL@\the\l@dpscL}%
@@ -6303,7 +6303,7 @@
\ifboolexpr{not togl{after@pendR@\the\l@dpscR @par} and not togl{after@pendL@\the\l@dpscL @par}}{%
\csuse{after@pendL@\the\l@dpscL}%
\csuse{after@pendR@\the\l@dpscR}%
- }{%
+ }{%
\hb@xt@ \hsize{%
\ifdefstring{\columns@position}{L}{}{\hfill }%
\parbox[t][][t]{\Lcolwidth}{%
@@ -6414,7 +6414,7 @@
\check@pstarts%
\loop\if@pstarts%
% \end{macrocode}
-% Loop over the number of chunks, incrementing the chunk counts
+% Loop over the number of chunks, incrementing the chunk counts
% (\protect\cs{l@dpscL}
% and \protect\cs{l@dpscR} are chunk (box) counts).
%
@@ -6476,15 +6476,15 @@
% \begingroup
{ \loop\ifaraw@text%
% \end{macrocode}
-% See if there is more that can be done for the left page and set up the
+% See if there is more that can be done for the left page and set up the
% left language.
% \changes{v0.2.0}{2004/12/20}{Added \protect\cs{l@duselanguage} to \protect\cs{Pages}}
% \begin{macrocode}
\checkpageL%
\l@duselanguage{\theledlanguageL}%
-{ \loop\ifl@dsamepage%
+{ \loop\ifl@dsamepage%
% \end{macrocode}
-% Process the next (left) text line, adding it to the page.
+% Process the next (left) text line, adding it to the page.
% Eventually, adds the optional argument of pstart.
% \changes{v0.3.0}{2005/02/10}{Added \protect\cs{ledstrutL} to \protect\cs{Pages}}
% \begin{macrocode}
@@ -6499,7 +6499,7 @@
% \end{macrocode}
% When using shiftedpstarts option, a \protect\cs{l@dleftbox} with a null height is not printed.
% That means we do not insert blank lines at the end of a left chunk lower than the corresponding right chunk.
-% However, a \protect\cs{l@dleftbox} with a null height will advance the \protect\cs{pagetotal} in any case.
+% However, a \protect\cs{l@dleftbox} with a null height will advance the \protect\cs{pagetotal} in any case.
% Because if we do not do this, the \protect\cs{checkpageL} could let \protect\cs{ifl@pagefull} to false,
% and consequently a \protect\cs{@lopL} equal to 1000 could be written in the numbered file,
% even if all the lines actually needed for the current page have been printed.
@@ -6516,7 +6516,7 @@
\unless\ifadvancedshiftedpstarts%
\dimen0=\pagetotal%
\advance\dimen0 by \baselineskip%
- \global\pagetotal=\dimen0%
+ \global\pagetotal=\dimen0%
\else%
\ifnomaxlines%
\numdef{\@tmp}{\the\l@dpscL+1}%
@@ -6528,8 +6528,8 @@
}%
{}%
}{}%
- \fi%
- \fi%
+ \fi%
+ \fi%
\fi%
\else%
\parledgroup@correction@notespacing{L}%
@@ -6537,13 +6537,13 @@
\fi%
% \end{macrocode}
% Perhaps we have to move to the next (left) box. Check if we have got all
-% we can onto the page. If not, repeat for the next line.
+% we can onto the page. If not, repeat for the next line.
% Check if we have to print the optional argument of the last pend.
% Check if the page is full.
% Check if the verse is split in two subsequent pages.
% Check there is any forced page breaks.
% Reset the verse skipnumber boolean
-% \begin{macrocode}
+% \begin{macrocode}
\get@nextboxL%
\global\l@dskipversenumberfalse%
\ifprint@last@after@pendL%
@@ -6555,8 +6555,8 @@
\checkpbL%
\repeat%
% \end{macrocode}
-% That (left) page has been filled. Output the number of real lines
-% on the page --- if the page break is because the page has been
+% That (left) page has been filled. Output the number of real lines
+% on the page --- if the page break is because the page has been
% filled with lines, use the actual number, otherwise the page has been
% ended early in order to synchronise with the facing page so use an
% impossibly large number.
@@ -6612,7 +6612,7 @@
}%
{}%
}{}%
- \fi%
+ \fi%
\fi%
\fi%
\else%
@@ -6637,7 +6637,7 @@
\numpagelinesR=\z@%
\parledgroup@correction@notespacing@init%
% \end{macrocode}
-% The page is full, so move onto the next (left, odd) page and repeat left
+% The page is full, so move onto the next (left, odd) page and repeat left
% text processing.
% \begin{macrocode}
\clearl@drightpage}%
@@ -6675,7 +6675,7 @@
\global\instanzaLfalse%
\global\instanzaRfalse%
\global\l@dprintingpagesfalse%
-% \end{macrocode}
+% \end{macrocode}
% Check the consistency of \cs{edtext@later} and \cs{edtext@now}
% \begin{macrocode}
\ifnum\edtext@later=\edtext@now%
@@ -6694,7 +6694,7 @@
% \end{macrocode}
% \end{macro}
%
-% \subsection{Ensure all notes are printed at the end of parallel pages}
+% \subsection{Ensure all notes are printed at the end of parallel pages}
% \begin{macro}{\finish@Pages@notes}
% This macro ensures that all long notes are printed at the end of \protect\cs{Pages} typesetting, and that there are no more long notes left for the next pages.
% \begin{macrocode}
@@ -6742,12 +6742,12 @@
% \end{macro}
% \end{macro}
%
-%
+%
% \subsection{Page clearing}
% \begin{macro}{\cleartoevenpage}
% \begin{macro}{\cleartol@devenpage}
-% \protect\cs{cleartoevenpage}, which is defined in the memoir class,
-% is like \protect\cs{clear(double)page} except that we
+% \protect\cs{cleartoevenpage}, which is defined in the memoir class,
+% is like \protect\cs{clear(double)page} except that we
% end up on an even page.
% \protect\cs{cleartol@devenpage} is similar except that it first checks to see
% if it is already on an empty page.
@@ -6778,10 +6778,10 @@
% \protect\cs{clearl@dleftpage} and \protect\cs{clearl@drightpage} get us onto
% an odd and even page, respectively, checking that we end up on
% the subsquent page.
-% Both commands use \protect\cs{newpage} and not \protect\cs{clearpage}.
-% Because \protect\cs{clearpage} prints all footnotes before the next page, even if it has to add new empty pages, while \protect\cs{newpage} does not.
+% Both commands use \protect\cs{newpage} and not \protect\cs{clearpage}.
+% Because \protect\cs{clearpage} prints all footnotes before the next page, even if it has to add new empty pages, while \protect\cs{newpage} does not.
% And as we want notes started in the left page continue in the right page and \emph{vice-versa}, we must use \protect\cs{newpage} and not \protect\cs{clearpage}
-%
+%
% \changes{v1.13.0}{2015/03/06}{Use \protect\cs{newpage} instead of \protect\cs{clearpage}.}
% \begin{macrocode}
\newcommand*{\clearl@dleftpage}{%
@@ -6793,7 +6793,7 @@
\hbox{}%
\cleardoublepage
\fi}
-
+
\newcommand*{\clearl@drightpage}{%
\ifdim\pagetotal=0pt\hbox{}\fi%
\newpage%
@@ -6813,7 +6813,7 @@
% \begin{macro}{\@cs@linesinparL}
% \begin{macro}{\getlinesfromparlistR}
% \begin{macro}{\@cs@linesinparR}
-% \protect\cs{getlinesfromparlistL} gets the next entry from the
+% \protect\cs{getlinesfromparlistL} gets the next entry from the
% \protect\cs{linesinpar@listL} and puts it into \protect\cs{@cs@linesinparL}; if the
% list is empty, it sets \protect\cs{@cs@linesinparL} to 0. Similarly
% for \protect\cs{getlinesfromparlistR}.
@@ -6841,7 +6841,7 @@
% \begin{macro}{\@cs@linesonpageL}
% \begin{macro}{\getlinesfrompagelistR}
% \begin{macro}{\@cs@linesonpageR}
-% \protect\cs{getlinesfrompagelistL} gets the next entry from the
+% \protect\cs{getlinesfrompagelistL} gets the next entry from the
% \protect\cs{linesonpage@listL} and puts it into \protect\cs{@cs@linesonpageL}; if the
% list is empty, it sets \protect\cs{@cs@linesonpageL} to 1000. Similarly
% for \protect\cs{getlinesfrompagelistR}.
@@ -6887,7 +6887,7 @@
% \protect\cs{l@dcalc@maxoftwo}\marg{num}\marg{num}\marg{count} sets \meta{count}
% to the maximum of the two \meta{num}.
%
-% Similarly
+% Similarly
% \protect\cs{l@dcalc@minoftwo}\marg{num}\marg{num}\marg{count} sets \meta{count}
% to the minimum of the two \meta{num}.
%
@@ -6919,8 +6919,8 @@
% \begin{macro}{\checkpageL}
% \begin{macro}{\checkpageR}
% \protect\cs{checkpageL} tests if the space and lines already taken on the page by
-% text and footnotes is less than the constraints. If so, then
-% \protect\cs{ifl@dpagefull} is set FALSE and \protect\cs{ifl@dsamepage} is set TRUE.
+% text and footnotes is less than the constraints. If so, then
+% \protect\cs{ifl@dpagefull} is set FALSE and \protect\cs{ifl@dsamepage} is set TRUE.
% If the page is spatially full
% then \protect\cs{ifl@dpagefull} is set TRUE and \protect\cs{ifl@dsamepage} is set FALSE.
% If it is not spatially full but the maximum number of lines have been
@@ -6977,7 +6977,7 @@
\l@dpagefullfalse%
\l@dsamepagefalse%
\print@last@after@pendRfalse%
- \fi%
+ \fi%
}%
% \end{macrocode}
@@ -7061,7 +7061,7 @@
% \begin{macro}{\ledthegoal}
% \begin{macro}{\goalfraction}
% \begin{macro}{\check@goal}
-% \protect\cs{ledthegoal} is the amount of space allowed to taken by text and
+% \protect\cs{ledthegoal} is the amount of space allowed to taken by text and
% footnotes on a page before a forced pagebreak. This can be controlled via
% \protect\cs{@goalfraction}. \protect\cs{ledthegoal} is calculated via \protect\cs{check@goal}.
% \begin{macrocode}
@@ -7097,7 +7097,7 @@
%
% \subsection{Getting boxes content}
% \begin{macro}{\if@getnextbox}
-% The \cs{if@getnextbox} boolean is switched to true if we can get the next chunk in a page after finished previous chunk.
+% The \cs{if@getnextbox} boolean is switched to true if we can get the next chunk in a page after finished previous chunk.
% That is:
% \begin{itemize}
% \item If we use the \option{nosyncpstarts} option, in any case
@@ -7110,8 +7110,8 @@
% \begin{macro}{\get@nextboxL}
% \begin{macro}{\get@nextboxR}
% \changes{v0.11.0}{2012/06/11}{Change \protect\cs{get@nextboxL} and \protect\cs{get@nextboxR} to allow to disable line numbering (like in eledmac 0.15).}
-% If the current box is not empty (i.e., still contains some lines)
-% nothing is done. Otherwise if and only if a synchronisation point is
+% If the current box is not empty (i.e., still contains some lines)
+% nothing is done. Otherwise if and only if a synchronisation point is
% reached the next box is started.
%
% \begin{macrocode}
@@ -7189,7 +7189,7 @@
% \end{macrocode}
% \changes{v0.11.0}{2012/06/11}{Pstart number can be printed in side}
% There are still unprocessed boxes. Recalculate the maximum number of
-% lines needed, and move onto the next box (by incrementing \protect\cs{l@dpscL}). If needed, restart the line numbering.
+% lines needed, and move onto the next box (by incrementing \protect\cs{l@dpscL}). If needed, restart the line numbering.
% \begin{macrocode}
\writtenlinesLfalse
\ifbypstart@
@@ -7266,7 +7266,7 @@
{\@getnextboxtrue}%
{\@getnextboxfalse}%
}%
- {\@getnextboxtrue}%
+ {\@getnextboxtrue}%
}{}
\fi%
\fi%
@@ -7326,7 +7326,7 @@
% \section{Sections' titles' commands}
% As switching from left to right pages does not clear the page since v1.13.0,
% but only creates new pages, no \verb+\vbox{}+ is inserted, and consequently parallel chapters are mis-aligned.
-%
+%
% So we patch the \protect\cs{chapter} command in order to prevent this problem.
% \begin{macro}{\chapter}
% \begin{macrocode}
@@ -7465,7 +7465,7 @@
% \end{macro}
% \end{macro}
% \begin{macro}{\insert@noterule@ledgroup}
-% A \protect\cs{vskip} is not used when the boxes are constructed. So we insert it before ledgroup note series when parallel lines are constructed.
+% A \protect\cs{vskip} is not used when the boxes are constructed. So we insert it before ledgroup note series when parallel lines are constructed.
% This is the goal of \protect\cs{insert@noterule@ledgroup}
% \begin{macrocode}
\newcommand{\insert@noterule@ledgroup}[1]{
@@ -7488,7 +7488,7 @@
}
% \end{macrocode}
% \end{macro}
-%
+%
% \begin{macro}{\@parledgroupnotespacing}
% \protect\cs{@parledgroupnotespacing} can be redefined by the user to change the interline spacing of ledgroup notes.
% \begin{macrocode}
@@ -7510,7 +7510,7 @@
% \end{macro}
% \end{macro}
% \begin{macro}{\parledgroup@correction@notespacing@init}
-% \protect\cs{parledgroup@correction@notespacing@init} sets the value of accumulated corrections of note spacing to 0~pt.
+% \protect\cs{parledgroup@correction@notespacing@init} sets the value of accumulated corrections of note spacing to 0~pt.
% It is called at the beginning of each pages AND at the end of each ledgroup.
% \begin{macrocode}
\newcommand{\parledgroup@correction@notespacing@init}{
@@ -7521,7 +7521,7 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\parledgroup@correction@notespacing@final}
-% \protect\cs{parledgroup@correction@notespacing@final} adds the total space deleted because of correction for notes, in a parallel ledgroup.
+% \protect\cs{parledgroup@correction@notespacing@final} adds the total space deleted because of correction for notes, in a parallel ledgroup.
% It also adds the space needed by the other side spaces between note rules and notes. It is called after the print of each pstart/pend.
% \begin{macrocode}
\newcommand{\parledgroup@correction@notespacing@final}[1]{
@@ -7546,9 +7546,9 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\parledgroup@correction@notespacing}
-% \protect\cs{parledgroup@correction@notespacing} is used before each printed line.
+% \protect\cs{parledgroup@correction@notespacing} is used before each printed line.
% If it is a line of notes in parallel ledgroup, the space \protect\cs{parledgroup@notespacing@correction} is decreased, to make interline space correct.
-% The decreased space is added to \protect\cs{parledgroup@notespacing@correction@accumulated} and \protect\cs{parledgroup@notespacing@correction@modulo}.
+% The decreased space is added to \protect\cs{parledgroup@notespacing@correction@accumulated} and \protect\cs{parledgroup@notespacing@correction@modulo}.
% If \protect\cs{parledgroup@notespacing@correction@modulo} is equal or greater than \protect\cs{baselineskip}:
% \begin{itemize}
% \item It is decreased by \protect\cs{baselineskip}.
@@ -7563,7 +7563,7 @@
\dimdef{\parledgroup@notespacing@correction@accumulated}{\parledgroup@notespacing@correction@accumulated+\parledgroup@notespacing@correction}%
\dimdef{\parledgroup@notespacing@correction@modulo}{\parledgroup@notespacing@correction@modulo+\parledgroup@notespacing@correction}%
\ifdimless{\parledgroup@notespacing@correction@modulo}{\baselineskip}{}{\advance\numpagelinesL -\@ne%
- \dimdef{\parledgroup@notespacing@correction@modulo}{\parledgroup@notespacing@correction@modulo-\baselineskip}%
+ \dimdef{\parledgroup@notespacing@correction@modulo}{\parledgroup@notespacing@correction@modulo-\baselineskip}%
}% mean greater than equal
\fi%
}
@@ -7594,7 +7594,7 @@
% \section{Compatibility with \eledmac}
%
% Here, we define some command for the \verb+eledmac-compat+ option.
-%
+%
% \begin{macrocode}
\ifeledmaccompat@%
@@ -7602,11 +7602,11 @@
\unless\ifnocritical@
\let\onlyXside\Xonlyside
\fi
-\fi
+\fi
% \end{macrocode}
% \section{The End}\label{end}
%
-%
+%
%</code>
%
% \newpage
@@ -7615,6 +7615,7 @@
%
% \let\oldthesection\thesection
% \renewcommand{\thesection}{Appendix \oldthesection}
+% \renewcommand{\thesubsection}{\oldthesection.\arabic{subsection}}
% \section{Some things to do when changing version}
% \input{doc-include/migrate-par.dtx}
% \bibliographystyle{alpha}