texlive[42689] Master/texmf-dist: reledmac (12dec16)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 12 23:54:22 CET 2016


Revision: 42689
          http://tug.org/svn/texlive?view=revision&revision=42689
Author:   karl
Date:     2016-12-12 23:54:22 +0100 (Mon, 12 Dec 2016)
Log Message:
-----------
reledmac (12dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/reledmac/README
    trunk/Master/texmf-dist/doc/latex/reledmac/doc-include/migrate-par.dtx
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalnotes.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-sidenotes.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-tabular.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-verses.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-cross_referencing.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-footnote_spacing.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-glossaries.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-indexing.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-lemma_disambigution.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-line_numbers_in_header.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-linespacing.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-manuscript-apparatus.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-one_series_per_pstart.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-performances.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-reledmac-right-to-left.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-titles_in_line_numbering_with_notes.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-titles_not_in_line_numbering.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_columns_different_languages.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_mwe.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_pages_different_languages_lualatex.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_same_page_number_in_both_side.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_advancedshifted-nomax.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_advancedshifted.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_default.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_nomax-shifted.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_nomax.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_nosync.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_shifted.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_column_mix_with_not_column-continuous-numbering.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_column_mix_with_not_column.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_columns_alignment.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_columns_titles_in_line_numbering_with_notes.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_one_series_per_pstart.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_long_notes.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_notes_leftpage.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_paragraph_separator_between.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_titles_in_line_numbering_with_notes.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_titles_not_in_line_numbering.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_verse_text_between.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/migration.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/reledmac.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/reledpar.pdf
    trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
    trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
    trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
    trunk/Master/texmf-dist/tex/latex/reledmac/reledpar.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.tex

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/README	2016-12-12 22:54:00 UTC (rev 42688)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/README	2016-12-12 22:54:22 UTC (rev 42689)
@@ -113,8 +113,8 @@
         the branch there):
         -   Go to [the project page](https://github.com/maieul/ledmac/).
         -   Choose the correct branch in the "branch" menu.
-        -   Choose "Dowload zip" on the "Clone or download" menu, in the
-            right side.
+        -   Choose "Download zip" in the "Clone or download" menu, on
+            the right side.
         -   Unzip the file
     -   Run the `.ins` files with pdflatex, to obtain the `.sty` files.
     -   Put the `.sty` files with your test files (in the same folder).

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/doc-include/migrate-par.dtx
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/doc-include/migrate-par.dtx	2016-12-12 22:54:00 UTC (rev 42688)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/doc-include/migrate-par.dtx	2016-12-12 22:54:22 UTC (rev 42689)
@@ -77,8 +77,8 @@
 % \subsection{Migration to \reledpar~2.14.0}
 % The \cs{linenumberlist} command is reserved for the left side. For the equivalent feature on the right side, define \cs{linenumberlistR}.
 % \subsection{Migration to \reledpar~2.14.1}
-% The execution of the code sent to \cs{doinsidelineLhook} and \cs{doinsidelineRhook} have been moved to a position where \cs{markboth} could work.
+% The execution of the code sent to \cs{doinsidelineLhook} and \cs{doinsidelineRhook} has been moved to a place where \cs{markboth} can work.
 %
-% Normally, it should do not have impact on your previous use of \cs{doinsidelineLhook} and \cs{doinsidelineRhook}.
+% Normally, it should not interfere with your prior use of \cs{doinsidelineLhook} and \cs{doinsidelineRhook}.
 %
-% Please contact us if that cause problem.
+% Please contact us if that causes problems.

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalnotes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-sidenotes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-tabular.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-verses.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-cross_referencing.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-footnote_spacing.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-glossaries.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-indexing.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-lemma_disambigution.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-line_numbers_in_header.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-linespacing.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-manuscript-apparatus.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-one_series_per_pstart.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-performances.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-reledmac-right-to-left.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-titles_in_line_numbering_with_notes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/2-titles_not_in_line_numbering.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_columns_different_languages.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_mwe.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_pages_different_languages_lualatex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_same_page_number_in_both_side.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_advancedshifted-nomax.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_advancedshifted.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_default.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_nomax-shifted.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_nomax.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_nosync.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/3-reledpar_sync_setting_shifted.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_column_mix_with_not_column-continuous-numbering.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_column_mix_with_not_column.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_columns_alignment.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_columns_titles_in_line_numbering_with_notes.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.pdf	2016-12-12 22:54:00 UTC (rev 42688)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.pdf	2016-12-12 22:54:22 UTC (rev 42689)

Property changes on: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_inside-outside-columns.tex	2016-12-12 22:54:22 UTC (rev 42689)
@@ -0,0 +1,181 @@
+\documentclass{article}
+\usepackage{polyglossia,fontspec,xunicode}
+\usepackage{libertineotf}
+\setmainlanguage{english}
+
+
+\usepackage[series={},nocritical,noend,noeledsec,nofamiliar,noledgroup]{reledmac}
+\usepackage[movecolumnspositiononrightpage]{reledpar}
+\setlength{\columnrulewidth}{0.4pt}
+\setlength{\Lcolwidth}{0.65\textwidth}
+\setlength{\Rcolwidth}{0.25\textwidth}
+
+
+\begin{document}
+\begin{english}
+\title{Working with outside and inside columns}
+\date{}
+\maketitle
+\begin{abstract}
+This file shows an example of the \verb+movecolumnspositiononrightpage+ option in action. This option allows to have inside and outside columns, rather than left and right columns.
+\end{abstract}
+\end{english}
+\AtBeginPairs{\sloppy}
+\begin{pairs}
+    \begin{Leftside}
+        \beginnumbering
+            \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+                        \pstart
+                Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph. Inside paragraph.
+            \pend
+            \pstart
+                Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.  Other inside paragraph.
+            \pend
+        \endnumbering
+    \end{Leftside}
+    \begin{Rightside}
+        \beginnumbering
+            \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+                        \pstart
+                Outside paragraph. Outside paragraph. Outside paragraph. Outside paragraph.
+            \pend
+            \pstart
+                Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph. Other outside paragraph.
+            \pend
+        \endnumbering
+    \end{Rightside}
+
+\end{pairs} 
+\Columns
+
+\end{document}

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_one_series_per_pstart.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_long_notes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_notes_leftpage.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_paragraph_separator_between.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_pages_titles_in_line_numbering_with_notes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_titles_not_in_line_numbering.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/examples/4-reledpar_verse_text_between.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/migration.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/reledmac.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/reledpar.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx	2016-12-12 22:54:00 UTC (rev 42688)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx	2016-12-12 22:54:22 UTC (rev 42689)
@@ -429,26 +429,28 @@
 % \changes{v2.15.2}{2016/09/12}{Fix bug with \protect\package{fancyhdr} package 3.8 and later.}
 % \changes{v2.15.3}{2016/09/26}{Fix bug with \protect\cs{section} in optional argument of \protect\cs{pstart} and empty line before \protect\cs{pend} (bug added in v2.8.2).}
 % \changes{v2.15.3}{2016/09/26}{Simplification of the sectioning command code.}
-% \changes{v2.16.0}{2016/10/02}{Display warning message if using a version of \protect\LaTeX that is too old.}
-% \changes{v2.16.0}{2016/10/02}{Deleting dead code.}
-% \changes{v2.16.0}{2016/10/02}{New options of \protect\cs{fnpos} and \protect\cs{mpfnpos} to set a customized order for familiar and critical footnotes.}
+% \changes{v2.16.0}{2016/10/02}{Display a warning message if using a version of \protect\LaTeX that is too old.}
+% \changes{v2.16.0}{2016/10/02}{Deleted dead code.}
+% \changes{v2.16.0}{2016/10/02}{New options for \protect\cs{fnpos} and \protect\cs{mpfnpos} to set a customized order for familiar and critical footnotes.}
 % \changes{v2.16.0}{2016/10/02}{Compatibility with new features of \protect\reledpar}
 % \changes{v2.16.0}{2016/10/02}{Fix bug with \protect\cs{Xtxtbeforenotes} for notes in three or two columns}
 % \changes{v2.16.0}{2016/10/02}{Fix bug with \protect\cs{Xgroupbylines} for notes in two columns}
 % \changes{v2.16.0}{2016/10/02}{Fix bug with `notenumber' option of \protect\package{indextools} package when indexing texts in familiar footnotes.}
-% \changes{v2.16.0}{2016/10/02}{When indexing texts in familiar footnotes with \protect\cs{edtext}, referring to the line number where the footnote is called.}
-% \changes{v2.16.0}{2016/10/02}{When indexing texts in sidenotes with \protect\cs{edtext}, referring to the line number where the sidenote is called.}
+% \changes{v2.16.0}{2016/10/02}{When indexing texts in familiar footnotes with \protect\cs{edtext}, refer to the line number where the footnote is called.}
+% \changes{v2.16.0}{2016/10/02}{When indexing texts in sidenotes with \protect\cs{edtext}, refer to the line number where the sidenote is called.}
 % \changes{v2.16.0}{2016/10/02}{Fix potential bug when using \protect\cs{edindex} in critical footnotes.}
 % \changes{v2.16.0}{2016/10/02}{Add \protect\cs{Xendpagenumberonlyfirst}, \protect\cs{Xendpagenumberonlyfirstifsingle}, \protect\cs{Xendpagenumberonlyfirstintwo}, \protect\cs{Xendinplaceofpagenumber} and \protect\cs{Xendsympagenum} hooks.}
 % \changes{v2.16.0}{2016/10/02}{When \protect\cs{edindex} is called outside of a \protect\cs{beginnumbering}\protect\ldots\protect\cs{endnumbering} structure, it is automatically switched to \protect\cs{index}, with a warning message.}
 % \changes{v2.16.1}{2016/10/04}{Fix bug with redefinition of the style of the footnote number (bug added in v2.12.0)}
 % \changes{v2.16.2}{2016/10/07}{Error message if \protect\package{footmisc} is loaded after \protect\package{reledmac}.}
-% \changes{v2.16.2}{2016/10/07}{Fix bug introduced by v2.16.1 when using  not expandable control sequence, like \protect\cs{normalfont}, in the footnote number style.}
+% \changes{v2.16.2}{2016/10/07}{Fix bug introduced by v2.16.1 when using  non-expandable control sequence, like \protect\cs{normalfont}, in the footnote number style.}
 % \changes{v2.16.3}{2016/10/12}{Fix bug with \protect\cs{SEref} (bug added in v2.7.0).}
 % \changes{v2.16.4}{2016/10/16}{Fix bug with vertical space before sectioning command in optional argument of \protect\cs{pstart} (bug added in v2.15.3).}
 % \changes{v2.16.5}{2016/10/20}{Fix potential spurious spaces in endnotes.}
-% \changes{v2.16.6}{2016/11/14}{Take account of \protect\cs{linenumberstyle} when using \protect\cs{edlineref}.}
+% \changes{v2.16.6}{2016/11/14}{Take into account \protect\cs{linenumberstyle} when using \protect\cs{edlineref}.}
 % \changes{v2.16.6}{2016/11/14}{Fix bug with the line number style in \protect\cs{doennotes} when referring to right side line in parallel typesetting.}
+% \changes{v2.16.7}{2016/12/12}{Fix bug with \protect\cs{numberpstarttrue} when using multiple \protect\cs{beginnumbering}…\protect\cs{endnumbering}}
+% \changes{v2.16.7}{2016/12/12}{Fix bug with \protect\cs{msdata} when using multiple \protect\cs{beginnumbering}…\protect\cs{endnumbering}}
 % \title{\Macpackage \\
 %      Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
 % has version number \fileversion, last revised \filedate.}}
@@ -1157,7 +1159,7 @@
 % \DescribeMacro{\dolinehook}\DescribeMacro{\doinsidelinehook}
 % The argument passed to \protect\cs{dolinehook}\marg{arg} will be executed 
 % before slicing a new line in the paragraph.
-% The argument passed to \protect\cs{doinsidelinehook}\marg{arg} will be executed before printing a new line, when the line number have already been fixed.
+% The argument passed to \protect\cs{doinsidelinehook}\marg{arg} will be executed before printing a new line, when the line number has already been fixed.
 % In many cases, the latter is more useful than the former.
 % The file \href{examples/2-line_numbers_in_header.tex}{examples/2-line\_numbers\_in\_header.tex} provides
 % an example for printing the first and last line numbers of a page in the header.
@@ -1898,20 +1900,20 @@
 % \\ \cs{Xnumberonlyfirstinline}; \cs{Xnumberonlyfirstintwolines} and \cs{Xsymlinenum}.
 %
 % \subsubsection{Print page number only at first time}
-% For endnotes, \reledmac provides tools to print the page number only the first time it is seen.
-% However, when a lemma spans over two pages, the line numbers are normally printed following this pattern: start page number - start line number - end page number - end line number.
-% Consequently, what is the `page number' is not obvious. So: 
-% \DescribeMacro{\Xendpagenumberonlyfirst} \cs{Xendpagenumberonlyfirst}\oarg{s} can be called to tell that the start page number of a lemma is not printed if it is equal to the end page number of the previous lemma.
-% You can use \emph{as complement} one (and only one) of the following commands:
+% For endnotes, \reledmac\ provides a mechanism for printing the page number only the first time it is seen.
+% However, when a lemma spans over two pages, the line numbers are normally printed in the following pattern: starting page number - starting line number - ending page number - ending line number.
+% It follows that what corresponds to the actual `page number' may not be self-evident. So: 
+% \DescribeMacro{\Xendpagenumberonlyfirst} \cs{Xendpagenumberonlyfirst}\oarg{s} can be called to ensure that the starting page number of a lemma be not printed if it is the same as the ending page number of the preceding lemma.
+% You can use \emph{additionally} one (and only one) of the following commands:
 % \begin{itemize}
 % \item    \cs{Xendpagenumberonlyfirstifsingle}\oarg{s}:
 % the first page number of the lemma will not be printed only if the following conditions are true:
 % \begin{enumerate}
-%   \item The start page number of the lemma is equal to the end page number of the previous lemma.
-%   \item The end page number of the lemma is equal to the start page number of the lemma.
+%   \item The starting page number of the lemma is the same as the ending page number of the preceding lemma.
+%   \item The ending page number of the lemma is the same as the starting page number of the lemma.
 % \end{enumerate}
-% In this case the end page number will always be printed if differing from the start page number.
-% \item  \cs{Xendpagenumberonlyfirstintwo}\oarg{s}: both the start page number and the end page number of a lemma are not printed if they are both equal  to respectively the start page number and the end page number of the previous lemma.
+% In this case the ending page number will always be printed if it is different from the starting page number.
+% \item  \cs{Xendpagenumberonlyfirstintwo}\oarg{s}: both the starting page number and the ending page number of a lemma are not printed if they are both the same as the starting page number and the ending page number of the preceding lemma respectively.
 %
 % \end{itemize}
 
@@ -1918,8 +1920,8 @@
 %  
 % In any case, you can use:
 % \begin{itemize}
-% \item \DescribeMacro{\Xendsympagenum} \cs{Xendsympagenum}\oarg{series}\marg{c} to tell to print \meta{c} when the page number is not printed.
-% \item \DescribeMacro{\Xendinplaceofpagenumber} \cs{Xendinplaceofpagenumber}\oarg{series}\marg{l} to tell to print a horizontal space of \meta{l} if no symbol is printed instead of page number.
+% \item \DescribeMacro{\Xendsympagenum} \cs{Xendsympagenum}\oarg{series}\marg{c} to print \meta{c} when the page number is not printed.
+% \item \DescribeMacro{\Xendinplaceofpagenumber} \cs{Xendinplaceofpagenumber}\oarg{series}\marg{l} to print a \meta{l} length horizontal space in case no symbol is printed instead of the page number.
 %
 % \end{itemize}
 %
@@ -2788,8 +2790,9 @@
 % \DescribeMacro{\sublineref}
 % \DescribeMacro{\pstartref}
 % Elsewhere in the text, either before or after the \protect\cs{edlabel},
-% you can refer to its location via \protect\cs{edpageref}\marg{lab}, or
-% \protect\cs{edlineref}\marg{lab}%
+% you can refer to its location with \protect\cs{edpageref}\marg{lab},
+% \protect\cs{edlineref}\marg{lab}, \cs{edsublineref}\marg{lab} or \cs{pstartref}\marg{lab},
+% that
 % will produce, respectively, the page, line, sub-line and pstart on which
 % the \protect\cs{edlabel}\marg{lab} command occurred.
 %
@@ -3120,7 +3123,7 @@
 %   \item Declare the index with the macro \cs{makeindex} of \package{imakeidx} and \package{indextools}.
 % \end{enumerate}
 %
-% Also note that using \cs{edtext} in familiar footnotes refer to the line the footnotes are called
+% Also note that using \cs{edtext} in familiar footnotes refers to the line where the footnotes are called
 % \subsection{Referring to critical notes}
 % If you want to refer to a word inside an
 % \protect\cs{edtext}\marg{lemma}\marg{app} command, \protect\cs{edindex} should be defined inside
@@ -3844,7 +3847,7 @@
 %    \begin{macrocode}
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2016/11/14 v2.16.6 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2016/12/12 v2.16.7 typesetting critical editions]%
 %    \end{macrocode}
 %
 % \subsection{Package options}
@@ -4037,7 +4040,7 @@
 %False is the default value. We consider \protect\package{indextools} as a variant of \protect\package{imakeidx}. That is why we set \protect\cs{ifl at imakeidx} to true. We also let \protect\cs{imki at wrindexentry} to \protect\cs{indtl at wrindexentry}.
 % \end{macro}
 % \begin{macro}{\ifl at footmisc}
-% Define a flag for if the \protect\package{footmisc} package has been used.
+% Define a flag if the \protect\package{footmisc} package has been loaded.
 %    \begin{macrocode}
 \newif\ifl at footmisc
 \@ifpackageloaded{footmisc}{\l at footmisctrue}{}%False is the default value
@@ -4286,7 +4289,7 @@
 % \begin{macro}{\led at err@BadAction}
 %    \begin{macrocode}
 \newcommand*{\led at err@StanzaIndentNotDefined}{%
-  \reledmac at error{You have not defined indentation for the line of verse \number\stanza at count}{\@ehc}}%
+  \reledmac at error{You have not defined the indentation for the line \number\stanza at count}{\@ehc}}%
 %    \end{macrocode}
 % \end{macro}
 % \begin{macro}{\led at err@ManySidenotes}
@@ -4402,7 +4405,7 @@
 % \begin{macro}{\led at error@fail at patch@endminipage}
 %    \begin{macrocode}
 \newcommand{\led at error@fail at patch@endminipage}{%
-  \reledmac at error{Fail to patch \string\endminipage\space command.}{\@ehc}%
+  \reledmac at error{Failed to patch the \string\endminipage\space command.}{\@ehc}%
 }%
 %    \end{macrocode}
 % \end{macro}
@@ -4409,7 +4412,7 @@
 % \begin{macro}{\led at error@fail at patch@endminipage}
 %    \begin{macrocode}
 \newcommand{\led at error@fail at patch@makeindex}{%
-  \reledmac at error{Fail to patch \string\makeindex\space command.}{\@ehc}%
+  \reledmac at error{Failed to patch the \string\makeindex\space command.}{\@ehc}%
 }%
 %    \end{macrocode}
 % \end{macro}
@@ -4702,6 +4705,8 @@
   \resetprevline@
   \resetprevpage at num
   \global\stopmsdata at inserted@true%
+  \global\let\@msdata at list\relax%
+  \global\csundef{@msdata@\add at msd@c @data}%
   }
 
 %    \end{macrocode}
@@ -7912,7 +7917,7 @@
 % Increase pstart counter.
 %    \begin{macrocode}
   \ifnumberpstart%
-     \pstartnumtrue%
+     \global\pstartnumtrue%
   \fi%
   \addtocounter{pstart}{1}%
 %    \end{macrocode}
@@ -7921,8 +7926,8 @@
   \normal at pars%
   \ifstrempty{#1}{\at at every@pend}{\noindent#1}%
 %    \end{macrocode}
-% Restore standard nobreak setting and autopar setting. 
-% Normally, \cs{if at nobreak} is equal to true only immediately after a sectioning command (read latex.ltx file). As a \cs{pstart}…\cs{pend} structure can't contain any sectioning command, we set \cs{if at nobreak} to false. 
+% Restore standard \enquote{nobreak} and \enquote{autopar} settings. 
+% Normally, \cs{if at nobreak} is true only immediately after a sectioning command (see latex.ltx file). As a \cs{pstart}…\cs{pend} structure can't contain any sectioning command, we set \cs{if at nobreak} to false.
 %    \begin{macrocode}
   \@nobreakfalse%
   \ifautopar%
@@ -8741,7 +8746,7 @@
                   \gdef\l at drd@ta{\rlap{{\rightpstartnum}}}%
             \fi
         \else
-             \@l at dtempcntb=\line at margin
+            \@l at dtempcntb=\line at margin%
             \ifnum\@l at dtempcntb>\@ne
                   \advance\@l at dtempcntb \page at num
             \fi
@@ -12752,13 +12757,13 @@
 % sub-line number (in which case we want only the dash) or after an
 % ending line number (in which case we need to insert a period).
 %
-% So, first, start the start line box, if required.
+% So, first, start the starting line box, if needed.
 %    \begin{macrocode}
   \ifdimequal{\csuse{Xendboxstartlinenum@\@currentseries}}{0pt}%
     {\bgroup}%
     {\leavevmode\hbox to \csuse{Xendboxstartlinenum@\@currentseries}\bgroup\hfill}%
 %    \end{macrocode}
-% Then, print the start page-
+% Then, print the starting page number-
 %    \begin{macrocode}
   \ifboolexpr{%
     (%  
@@ -12794,7 +12799,7 @@
     \csuse{Xendlineprefixsingle@\@currentseries}%
   \fi%
 %    \end{macrocode}
-% The print the start line, following, if required, by the side flag and the start sub line.
+% The print the starting line, followed, if needed, by the side flag and the starting sub line number.
 %    \begin{macrocode}
   \wrap at edcrossref{\@this at crossref@start}{%
     \ifledRcol@%
@@ -12819,13 +12824,13 @@
 %    \begin{macrocode}
   \egroup%
 %    \end{macrocode}
-% Open the box for the end line.
+% Open the box for the ending line number.
 %    \begin{macrocode}
   \ifdimequal{\csuse{Xendboxendlinenum@\@currentseries}}{0pt}%
     {\bgroup}%
     {\hbox to \csuse{Xendboxendlinenum@\@currentseries}\bgroup}%
 %    \end{macrocode}
-% Print the dash + the end line number, or the line number range symbol.
+% Print the dash + the ending line number, or the line number range symbol.
 %    \begin{macrocode}
   \ifl at d@Xtwolines%
     \ifl at d@Xmorethantwolines%
@@ -12842,7 +12847,7 @@
       \fi%
     \fi%
 %    \end{macrocode}
-% Print the end page number.
+% Print the ending page number.
 %    \begin{macrocode}
     \ifl at d@pnum%
      \ifcsstring{prevpagerange@\@currentseries}{#1-#4}%
@@ -12856,7 +12861,7 @@
        }%
     \fi%
 %    \end{macrocode}
-% Print the end line number, with if required the line prefix, and followed by the side flag and the subline number.
+% Print the ending line number, with, if needed, the line prefix, and followed by the side flag and the subline number.
 %    \begin{macrocode}
     \ifl at d@elin%
       \ifl at d@pnum\csuse{Xendlineprefixsingle@\@currentseries}\fi%
@@ -12883,7 +12888,7 @@
     \fi%
   \fi%
 %    \end{macrocode}
-% Close the end line box.
+% Close the ending line box.
 %    \begin{macrocode}
   \ifdimequal{\csuse{Xendboxendlinenum@\@currentseries}}{0pt}%
     {}%
@@ -13306,7 +13311,7 @@
          \newcommand{\content}{##2}%
          \stepcounter{labidx}%
          \expandafter\immediate\expandafter\write\csname l at d@#1end\endcsname{%
-           \unexpanded{\def\sw at list@inedtext}{\expandafter\unexpanded\expandafter{\sw at inthisedtext}}\@percentchar\space%Volountary space, to add linebreak in the output file
+           \unexpanded{\def\sw at list@inedtext}{\expandafter\unexpanded\expandafter{\sw at inthisedtext}}\@percentchar\space%Explicit space, to add a linebreak in the output file
            \expandafter\string\csname #1end\endcsname%
            {\ifnumberedpar@\l at d@nums\fi}%
            {\ifnumberedpar@\expandonce\@tag\fi}%
@@ -14104,7 +14109,7 @@
 % \protect\cs{doreinxtrafeetii} becomes \protect\cs{X at doreinfeet};
 % \protect\cs{doreinxtrafeeti} becomes \protect\cs{@doreinfeetX}.}
 % \changes{v2.16.0}{2016/10/02}{\protect\cs{Xdo at feet} becomes \protect\cs{do at Xfeet}}
-% \changes{v2.16.0}{2016/10/02}{More explicit error message when missing to define stanza indent.}
+% \changes{v2.16.0}{2016/10/02}{More explicit error message in case the stanza indentation is not defined.}
 %    \begin{macrocode}
 \@ifclassloaded{memoir}{%
 %    \end{macrocode}
@@ -14567,7 +14572,7 @@
 \newcommand*{\edlineref}[1]{%
   \l at dref@undefined{#1}%
   \wrap at edcrossref{#1}{%
-    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not been yet parsed on the .aux file
+    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not yet been parsed on the .aux file
     \iftoggle{label@#1 at ledRcol}%
         {\linenumrepR{\l at dgetref@num{2}{#1}}}%
         {\linenumrep{\l at dgetref@num{2}{#1}}}%
@@ -14587,7 +14592,7 @@
 \newcommand*{\sublineref}[1]{%
   \l at dref@undefined{#1}%
   \wrap at edcrossref{#1}{%
-    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not been yet parsed on the .aux file
+    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not yet been parsed on the .aux file
     \iftoggle{label@#1 at ledRcol}%
       {\sublinenumrepR{\l at dgetref@num{3}{#1}}}%
       {\sublinenumrep{\l at dgetref@num{3}{#1}}}%
@@ -15862,7 +15867,7 @@
 %
 % \subsection{Code specific to \cs{edindex} in critical footnotes}
 % \begin{macro}{\@edindex at fornote@}
-% This counter is increased at the beginning of every notes (footnote and and sidenotes), and decreased at the end of every notes.
+% This counter is incremented at the beginning of each note (either a footnote or a sidenote), and decremented at the end of each note.
 % If its value is greater than 0, that means we are inside a note.
 %    \begin{macrocode}
 \newcount\@edindex at fornote@
@@ -16781,7 +16786,7 @@
 \numdef{\@msd at cR}{0}
 %    \end{macrocode}
 % \end{macro}
-% \begin{macro}{\@msd at c}
+% \begin{macro}{\add at msd@}
 % \cs{add at msd@} is a counter incremented at each \cs{add at msddata}, that is at each time we prepare the insertion of manuscripts data footnote.
 %    \begin{macrocode}
 \numdef{\add at msd@c}{0}%
@@ -16804,7 +16809,7 @@
 %    \begin{macrocode}
 \newcommand{\@msd}[1]{%
   \unless\ifledRcol%
-    \numdef{\@msd at c}{\@msd at c+\@ne}%
+    \global\numdef{\@msd at c}{\@msd at c+\@ne}%
     \csgdef{@msdata@\@msd at c @data}{#1}%
     \csxdef{@msdata@\@msd at c @linenumber}{\the\line at num}%
     \csxdef{@msdata@\@msd at c @abslinenumber}{\the\absline at num}%
@@ -16811,7 +16816,7 @@
     \xright at appenditem{\the\absline at num}\to\actionlines at list%
     \xright at appenditem{-1010}\to\actions at list%
   \else%
-    \numdef{\@msd at cR}{\@msd at cR+\@ne}%
+    \global\numdef{\@msd at cR}{\@msd at cR+\@ne}%
     \csgdef{@msdata@\@msd at cR @dataR}{#1}%
     \csxdef{@msdata@\@msd at cR @linenumberR}{\the\line at numR}%
     \csxdef{@msdata@\@msd at cR @abslinenumberR}{\the\absline at numR}%
@@ -16821,7 +16826,7 @@
 }%
 %    \end{macrocode}
 % \end{macro}
-% \begin{macro}{\@endmsd}
+% \begin{macro}{\@stopmsd}
 % Inserted in the auxiliary file by \cs{stopmsd}, the \cs{@stopmsd} macro will store in two commands the line number and the absolute line number on which it is called.
 %    \begin{macrocode}
 \newcommand{\@stopmsd}[0]{%
@@ -16844,7 +16849,7 @@
 % \begin{macro}{\add at msdata}
 % \cs{add at msdata} is executed on each line when action code $1010$ is seen.
 % It will not insert immediately the manuscript data footnote, as action code are executed before the line be typeset, and, consequently, could be on the previous page.
-% So it just store the manuscript data footnote to \cs{@msdata at list}.
+% So it just stores the manuscript data footnote to \cs{@msdata at list}.
 %    \begin{macrocode}
 \newcommand{\add at msdata}{%
   \bgroup%

Modified: trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx	2016-12-12 22:54:00 UTC (rev 42688)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx	2016-12-12 22:54:22 UTC (rev 42689)
@@ -280,16 +280,21 @@
 % \changes{v2.12.0}{2016/07/01}{Fix bug with \protect\cs{AtBeginPairs}.}
 % \changes{v2.13.0}{2016/07/22}{Compatibility with the new features of \protect\macpackage 2.15.0}
 % \changes{v2.13.1}{2016/09/26}{Simplification of the code concerning the sectioning command}
-% \changes{v2.14.0}{2016/10/02}{New commands to have specific line margins for text in parallel columns}
+% \changes{v2.14.0}{2016/10/02}{New commands to have specific line margins for text running in parallel columns}
 % \changes{v2.14.0}{2016/10/02}{Add \protect\cs{linenumberlistR}, equivalent to \protect\cs{linenumberlist} for the right side.}
 % \changes{v2.14.0}{2016/10/02}{When indexing texts in sidenotes with \protect\cs{edtext}, referring to the line number where the sidenote is called.}
-% \changes{v2.14.0}{2016/10/02}{More explicit error message when missing to define stanza indent.}
-% \changes{v2.14.0}{2016/10/02}{Error message when missing to define left / right side.}
+% \changes{v2.14.0}{2016/10/02}{More explicit error message when the stanza indentation is not defined.}
+% \changes{v2.14.0}{2016/10/02}{Error message when left / right side are not defined.}
 % \changes{v2.14.1}{2016/10/16}{Fix bug with vertical space before sectioning command in optional argument of \protect\cs{pstart} (bug added in v2.13.1).}
 % \changes{v2.14.1}{2016/10/16}{Fix bug when using \protect\cs{markboth} on \protect\cs{doinsidelineLhook} and \protect\cs{doinsidelineRhook}.}
 % \changes{v2.14.2}{2016/10/31}{Fix spurious space with \protect\cs{edtextlater}.}
 % \changes{v2.14.3}{2016/11/04}{Fix bug in \protect\cs{edtextnow}.}
-% \changes{v2.14.4}{2016/11/14}{Take account of \protect\cs{linenumberstyle} when using \protect\cs{edlineref}.}
+% \changes{v2.14.4}{2016/11/14}{Take into account \protect\cs{linenumberstyle} when using \protect\cs{edlineref}.}
+% \changes{v2.15.0}{2016/12/12}{Add \protect\option{movecolumnspositiononrightpage} option.}
+% \changes{v2.15.0}{2016/12/12}{New macro \protect\cs{sidenotemarginR}, fix default value to right.}
+% \changes{v.2.15.0}{2016/12/12}{Fix bug with \protect\cs{msdata} when using multiple \protect\cs{beginnumbering}…\protect\cs{endnumbering}}
+% \changes{v2.15.0}{2016/12/12}{Fix bug about space before sectioning commands after a pairs environment (bug added in v.~2.14.4).}
+% \changes{v2.15.0}{2016/12/12}{Fix bug with page break when using \protect\cs{columns} (bug added in v.~2.14.1).}
 % ^^A PW added following as the definitions are at some unknown elsewhere
 %
 % \newcommand{\egstart}{%
@@ -406,6 +411,8 @@
 %    \item [prevpgnotnumbered] enables that the page before facing pages (the one
 %       automatically inserted to start parallel pages on a left page) is not
 %       counted. This applies only if the page is empty.
+%    \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}
 % 
 %
@@ -569,7 +576,13 @@
 % If you want to have continuous line numbers between multiple columns and single columns, use the \option{continuousnumberingwithcolumns} option when loading \macpackage or \parpackage.
 % You will need to use \cs{pausenumbering}\ldots\cs{resumenumbering} instead of \cs{endnumbering}\ldots{endnumbering} (see \reff{reledmac-pause}).
 %
+% \section{Keeping translation in the outside/inside column}
+% By default, \parpackage works with left and right columns.
+% However, it is possible to work with inner and outer column.
+% 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}
@@ -1060,7 +1073,7 @@
 %
 % \DescribeMacro{\doinsidelineLhook}
 % \DescribeMacro{\doinsidelineRhook}
-% \cs{doinsidelineLhook} and \cs{doinsidelineRhook} are the equivalent to the \macpackage \cs{doinsidelinehook}, respectively for left and right side.
+% \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}).
 %
@@ -1121,6 +1134,9 @@
 % 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{ledouterote}, \protect\cs{ledinnerrote}.
 % 
 % 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.
 % \section{Parallel ledgroups}
 % \subsection{General}
@@ -1234,7 +1250,7 @@
 %    \begin{macrocode}
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2016/11/14 v2.14.4 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2016/12/12 v2.15.0 reledmac extension for parallel texts]%
 
 %    \end{macrocode}
 % \subsection{Package's requirement}
@@ -1301,6 +1317,16 @@
 }%
 %    \end{macrocode}
 % \end{macro}
+% \subsubsection{Position option}
+% \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. 
+%    \begin{macrocode}
+\newif\ifmovecolumnspositiononrightpage%
+\DeclareOptionX{movecolumnspositiononrightpage}{%
+ \movecolumnspositiononrightpagetrue%
+}%
+%    \end{macrocode}
+% \end{macro}
 % \subsubsection{Other options}
 % The \verb+parledgroup+ can be called either on \macpackage or \parpackage.
 %    \begin{macrocode}
@@ -1455,13 +1481,13 @@
 % \begin{macro}{\led at err@Columns at WithoutLeftside}
 %    \begin{macrocode}
 \newcommand*{\led at err@Pages at WithoutRightside}{%
-  \reledpar at error{\string\Pages\space called without previous `Rightside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Pages\space called without any preceding `Rightside` environment (or environment without content)}{\@ehc}}%
 \newcommand*{\led at err@Pages at WithoutLeftside}{%
-  \reledpar at error{\string\Pages\space called without previous `Leftside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Pages\space called without any preceding `Leftside` environment (or environment without content)}{\@ehc}}%
   \newcommand*{\led at err@Columns at WithoutRightside}{%
-  \reledpar at error{\string\Columns\space called without previous `Rightside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Columns\space called without any preceding `Rightside` environment (or environment without content)}{\@ehc}}%
 \newcommand*{\led at err@Columns at WithoutLeftside}{%
-  \reledpar at error{\string\Columns\space called without previous `Leftside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Columns\space called without any preceding `Leftside` environment (or environment without content)}{\@ehc}}%
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -1571,9 +1597,9 @@
 % \end{macro}
 % \end{macro}
 % \begin{macro}{\ifcsboxvoid}
-% The \cs{ifcsboxvoid} is a complement to the \package{etoolbox} package. 
-% The first argument is a box name, the second is a the \meta{true} value, the third the \meta{false} value.
-% If the first argument refers to a not existing box, or if it refers to a void box, the \meta{true} value is returned. In other case, the \meta{false} is returned.
+% 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}
 \newcommand*{\ifcsboxvoid}[1]{%
   \ifcsname#1\endcsname%
@@ -1662,6 +1688,8 @@
   \global\let\next at page@numR\relax
   \global\let\sub at change\relax
   \global\stopmsdata at inserted@true%
+  \global\let\@msdata at list\relax%
+  \global\csundef{@msdata@\add at msd@cR @dataR}%
   \set at continuousnumberingforR%
   \message{Section \the\section at numR R }%
   \line at list@stuffR{\jobname.\extensionchars\the\section at numR R}%
@@ -1952,6 +1980,10 @@
     \global\line at margin=\@l at dtempcntb%
   \fi%
 }
+\ifmovecolumnspositiononrightpage%
+  \linenummargin{inner}%
+  \linenummarginR{outer}%
+\fi%
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -3466,6 +3498,7 @@
 %    \begin{macrocode}
   \endgroup%
   \ignorespaces%
+  \@oldnobreak%
   \dump at pstartL@pc%
   \ifnumberpstart%
     \addtocounter{pstartL}{1}%
@@ -3498,6 +3531,7 @@
   \global\par at lineR=0%
   \endgroup%
   \ignorespaces%
+  \@oldnobreak%
   \dump at pstartR@pc%  
   \ifnumberpstart%
     \addtocounter{pstartR}{1}%
@@ -4706,6 +4740,7 @@
 % the text.
 % \begin{macro}{\sidenote at marginR}
 % \begin{macro}{\sidenotemargin*}
+% \begin{macro}{\sidenotemarginR}
 % \changes{v1.8.0}{2014/08/05}{\protect\cs{sidenotemargin} is now directly defined in \protect\package{eledmac} to be able to manage \protect\package{eledpar}.}
 % \changes{v1.8.0}{2014/08/05}{Add \protect\cs{sidenotemargin*}}
 % Specifies which margin sidenotes can be in.
@@ -4715,12 +4750,22 @@
   \global\sidenote at marginR=\@l at dtempcntb
   \global\sidenote at margin=\@l at dtempcntb
 }
+\newcommand{\sidenotemarginR}[1]{%
+  \l at dgetsidenote@margin{#1}%
+  \global\sidenote at marginR=\@l at dtempcntb%
+}%
 \newcount\sidenote at marginR
-\global\sidenote at margin=\@ne
+\global\sidenote at marginR=\@ne%
 
+\ifmovecolumnspositiononrightpage%
+  \sidenotemargin{inner}%
+  \sidenotemarginR{outer}%
+\fi%
+
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
+% \end{macro}
 %
 
 % \changes{v1.3.3}{2012/12/19}{Debugging the left notes of the right column.}
@@ -5362,15 +5407,9 @@
                 {}%
           \hb at xt@ \hsize{%
            \ifdefstring{\columns at position}{L}{}{\hfill }%
-            \unhbox\l at dleftbox%
-            \ifhbox\@eledsectionL%
-               \usebox{\@eledsectionL}%
-            \fi%
+            \print at leftcolumn%
             \print at columnseparator%
-            \unhbox\l at drightbox%
-            \ifhbox\@eledsectionR%
-              \usebox{\@eledsectionR}%
-            \fi%
+            \print at rightcolumn%
             \ifdefstring{\columns at position}{R}{}{\hfill}%
           }%
           \checkraw at text
@@ -5440,6 +5479,63 @@
 }%
 %\end{macrocode}
 % \end{macro}
+% \begin{macro}{\print at leftcolumn}
+% \begin{macro}{\print at rightcolumn}
+% \cs{print at leftcolumn} and \cs{print at 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 at leftcolumn}{%
+  \if\page at num>\page at numR%
+    \@l at dtempcntb=\page at num%
+  \else%
+    \@l at dtempcntb=\page at numR%
+  \fi%
+  \ifboolexpr{%
+     not bool {movecolumnspositiononrightpage}%
+     or test {\ifnumodd{\@l at dtempcntb}}%
+    }%
+    {%
+      \unhbox\l at dleftbox%
+      \ifhbox\@eledsectionL%
+         \usebox{\@eledsectionL}%
+      \fi%
+    }%
+    {%
+       \unhbox\l at drightbox%
+       \ifhbox\@eledsectionR%
+         \usebox{\@eledsectionR}%
+       \fi%
+    }%
+}%
+
+
+\newcommand{\print at rightcolumn}{%
+  \if\page at num>\page at numR%
+    \@l at dtempcntb=\page at num%
+  \else%
+    \@l at dtempcntb=\page at numR%
+  \fi%
+  \ifboolexpr{%
+     not bool {movecolumnspositiononrightpage}%
+     or test {\ifnumodd{\@l at dtempcntb}}%
+    }%
+    {%
+      \unhbox\l at drightbox%
+      \ifhbox\@eledsectionR%
+        \usebox{\@eledsectionR}%
+      \fi%
+    }%
+    {%
+      \unhbox\l at dleftbox%
+      \ifhbox\@eledsectionL%
+         \usebox{\@eledsectionL}%
+      \fi%
+    }%
+}%
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
 % \begin{macro}{\checkpb at columns}
 % \protect\cs{checkpb at columns} prevent or make pagebreaking in columns, depending of the use of \protect\cs{ledpb} or \protect\cs{lednopb}.
 %    \begin{macrocode}

Modified: trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty	2016-12-12 22:54:00 UTC (rev 42688)
+++ trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty	2016-12-12 22:54:22 UTC (rev 42689)
@@ -35,7 +35,7 @@
 %%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2016/11/14 v2.16.6 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2016/12/12 v2.16.7 typesetting critical editions]%
 \RequirePackage{xkeyval}
 \newif\ifparledgroup
 \DeclareOptionX{series}[A,B,C,D,E]{\xdef\default at series{#1}}
@@ -237,7 +237,7 @@
   \reledmac at warning{Series #1 is still existing !}%
 }%
 \newcommand*{\led at err@StanzaIndentNotDefined}{%
-  \reledmac at error{You have not defined indentation for the line of verse \number\stanza at count}{\@ehc}}%
+  \reledmac at error{You have not defined the indentation for the line \number\stanza at count}{\@ehc}}%
 \newcommand{\led at err@ManySidenotes}{%
   \ifledRcol@%
      \reledmac at warning{\itemcount@\space sidenotes on line \the\line at numR\space p. \the\page at numR}%
@@ -295,10 +295,10 @@
   \reledmac at error{Fail to patch \string\@iiiminipage\space command.}{\@ehc}%
 }%
 \newcommand{\led at error@fail at patch@endminipage}{%
-  \reledmac at error{Fail to patch \string\endminipage\space command.}{\@ehc}%
+  \reledmac at error{Failed to patch the \string\endminipage\space command.}{\@ehc}%
 }%
 \newcommand{\led at error@fail at patch@makeindex}{%
-  \reledmac at error{Fail to patch \string\makeindex\space command.}{\@ehc}%
+  \reledmac at error{Failed to patch the \string\makeindex\space command.}{\@ehc}%
 }%
 \newcommand{\led at warn@edinde at outsidenumbering}{%
   \reledmac at warning{\string\edindex\space called outside of \string\beginnumbering…\string\endnumbering. \MessageBreak Automatically switched to \string\index.}%
@@ -392,6 +392,8 @@
   \resetprevline@
   \resetprevpage at num
   \global\stopmsdata at inserted@true%
+  \global\let\@msdata at list\relax%
+  \global\csundef{@msdata@\add at msd@c @data}%
   }
 
 \def\endnumbering{%
@@ -1697,7 +1699,7 @@
   \endgroup%
   \ignorespaces%
   \ifnumberpstart%
-     \pstartnumtrue%
+     \global\pstartnumtrue%
   \fi%
   \addtocounter{pstart}{1}%
   \normal at pars%
@@ -2064,7 +2066,7 @@
                   \gdef\l at drd@ta{\rlap{{\rightpstartnum}}}%
             \fi
         \else
-             \@l at dtempcntb=\line at margin
+            \@l at dtempcntb=\line at margin%
             \ifnum\@l at dtempcntb>\@ne
                   \advance\@l at dtempcntb \page at num
             \fi
@@ -4662,7 +4664,7 @@
          \newcommand{\content}{##2}%
          \stepcounter{labidx}%
          \expandafter\immediate\expandafter\write\csname l at d@#1end\endcsname{%
-           \unexpanded{\def\sw at list@inedtext}{\expandafter\unexpanded\expandafter{\sw at inthisedtext}}\@percentchar\space%Volountary space, to add linebreak in the output file
+           \unexpanded{\def\sw at list@inedtext}{\expandafter\unexpanded\expandafter{\sw at inthisedtext}}\@percentchar\space%Explicit space, to add a linebreak in the output file
            \expandafter\string\csname #1end\endcsname%
            {\ifnumberedpar@\l at d@nums\fi}%
            {\ifnumberedpar@\expandonce\@tag\fi}%
@@ -5383,7 +5385,7 @@
 \newcommand*{\edlineref}[1]{%
   \l at dref@undefined{#1}%
   \wrap at edcrossref{#1}{%
-    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not been yet parsed on the .aux file
+    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not yet been parsed on the .aux file
     \iftoggle{label@#1 at ledRcol}%
         {\linenumrepR{\l at dgetref@num{2}{#1}}}%
         {\linenumrep{\l at dgetref@num{2}{#1}}}%
@@ -5395,7 +5397,7 @@
 \newcommand*{\sublineref}[1]{%
   \l at dref@undefined{#1}%
   \wrap at edcrossref{#1}{%
-    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not been yet parsed on the .aux file
+    \providetoggle{label@#1 at ledRcol}%Required for the first run, when the label has not yet been parsed on the .aux file
     \iftoggle{label@#1 at ledRcol}%
       {\sublinenumrepR{\l at dgetref@num{3}{#1}}}%
       {\sublinenumrep{\l at dgetref@num{3}{#1}}}%
@@ -6700,7 +6702,7 @@
 \def\@msdata at list{}%
 \newcommand{\@msd}[1]{%
   \unless\ifledRcol%
-    \numdef{\@msd at c}{\@msd at c+\@ne}%
+    \global\numdef{\@msd at c}{\@msd at c+\@ne}%
     \csgdef{@msdata@\@msd at c @data}{#1}%
     \csxdef{@msdata@\@msd at c @linenumber}{\the\line at num}%
     \csxdef{@msdata@\@msd at c @abslinenumber}{\the\absline at num}%
@@ -6707,7 +6709,7 @@
     \xright at appenditem{\the\absline at num}\to\actionlines at list%
     \xright at appenditem{-1010}\to\actions at list%
   \else%
-    \numdef{\@msd at cR}{\@msd at cR+\@ne}%
+    \global\numdef{\@msd at cR}{\@msd at cR+\@ne}%
     \csgdef{@msdata@\@msd at cR @dataR}{#1}%
     \csxdef{@msdata@\@msd at cR @linenumberR}{\the\line at numR}%
     \csxdef{@msdata@\@msd at cR @abslinenumberR}{\the\absline at numR}%

Modified: trunk/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/reledmac/reledpar.sty	2016-12-12 22:54:00 UTC (rev 42688)
+++ trunk/Master/texmf-dist/tex/latex/reledmac/reledpar.sty	2016-12-12 22:54:22 UTC (rev 42689)
@@ -29,7 +29,7 @@
 
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2016/11/14 v2.14.4 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2016/12/12 v2.15.0 reledmac extension for parallel texts]%
 
 \RequirePackage{xspace}%
 \RequirePackage{xkeyval}
@@ -57,6 +57,10 @@
   \nosyncpstartstrue%
   \apptocmd{\@par at this@sync at option}{nosync}{}{}%
 }%
+\newif\ifmovecolumnspositiononrightpage%
+\DeclareOptionX{movecolumnspositiononrightpage}{%
+ \movecolumnspositiononrightpagetrue%
+}%
 \DeclareOptionX{parledgroup}{\parledgrouptrue}
 \DeclareOptionX{widthliketwocolumns}{\widthliketwocolumnstrue}%
 \DeclareOptionX{continuousnumberingwithcolumns}{\continuousnumberingwithcolumnstrue}%
@@ -102,13 +106,13 @@
 \newcommand*{\led at err@Columns at WithoutEnv}{%
   \reledpar at error{\string\Columns\space called without previous `pairs` environment}{\@ehc}}
 \newcommand*{\led at err@Pages at WithoutRightside}{%
-  \reledpar at error{\string\Pages\space called without previous `Rightside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Pages\space called without any preceding `Rightside` environment (or environment without content)}{\@ehc}}%
 \newcommand*{\led at err@Pages at WithoutLeftside}{%
-  \reledpar at error{\string\Pages\space called without previous `Leftside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Pages\space called without any preceding `Leftside` environment (or environment without content)}{\@ehc}}%
   \newcommand*{\led at err@Columns at WithoutRightside}{%
-  \reledpar at error{\string\Columns\space called without previous `Rightside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Columns\space called without any preceding `Rightside` environment (or environment without content)}{\@ehc}}%
 \newcommand*{\led at err@Columns at WithoutLeftside}{%
-  \reledpar at error{\string\Columns\space called without previous `Leftside` environment (or environment without content)}{\@ehc}}%
+  \reledpar at error{\string\Columns\space called without any preceding `Leftside` environment (or environment without content)}{\@ehc}}%
 \newcommand{\led at error@fail at patch@thepage}{%
   \reledpar at error{Fail to patch \string\@thepage\space command.}{\@ehc}%
 }%
@@ -195,6 +199,8 @@
   \global\let\next at page@numR\relax
   \global\let\sub at change\relax
   \global\stopmsdata at inserted@true%
+  \global\let\@msdata at list\relax%
+  \global\csundef{@msdata@\add at msd@cR @dataR}%
   \set at continuousnumberingforR%
   \message{Section \the\section at numR R }%
   \line at list@stuffR{\jobname.\extensionchars\the\section at numR R}%
@@ -371,6 +377,10 @@
     \global\line at margin=\@l at dtempcntb%
   \fi%
 }
+\ifmovecolumnspositiononrightpage%
+  \linenummargin{inner}%
+  \linenummarginR{outer}%
+\fi%
 
 \newcount\line at margin@columnsR%
 \line at margin@columnsR=\m at ne%
@@ -994,6 +1004,7 @@
   \global\par at line=0%
   \endgroup%
   \ignorespaces%
+  \@oldnobreak%
   \dump at pstartL@pc%
   \ifnumberpstart%
     \addtocounter{pstartL}{1}%
@@ -1014,6 +1025,7 @@
   \global\par at lineR=0%
   \endgroup%
   \ignorespaces%
+  \@oldnobreak%
   \dump at pstartR@pc%
   \ifnumberpstart%
     \addtocounter{pstartR}{1}%
@@ -1766,10 +1778,19 @@
   \global\sidenote at marginR=\@l at dtempcntb
   \global\sidenote at margin=\@l at dtempcntb
 }
+\newcommand{\sidenotemarginR}[1]{%
+  \l at dgetsidenote@margin{#1}%
+  \global\sidenote at marginR=\@l at dtempcntb%
+}%
 \newcount\sidenote at marginR
-\global\sidenote at margin=\@ne
+\global\sidenote at marginR=\@ne%
 
+\ifmovecolumnspositiononrightpage%
+  \sidenotemargin{inner}%
+  \sidenotemarginR{outer}%
+\fi%
 
+
 \newcommand*{\affixside at noteR}{%
     \prepare at edindex@fornote{\the\page at numR|\the\line at numR|\the\subline at numR|\the\page at numR|\the\line at numR|\the\subline at numR|}%
     \def\sidenotecontent@{}%
@@ -2099,15 +2120,9 @@
                 {}%
           \hb at xt@ \hsize{%
            \ifdefstring{\columns at position}{L}{}{\hfill }%
-            \unhbox\l at dleftbox%
-            \ifhbox\@eledsectionL%
-               \usebox{\@eledsectionL}%
-            \fi%
+            \print at leftcolumn%
             \print at columnseparator%
-            \unhbox\l at drightbox%
-            \ifhbox\@eledsectionR%
-              \usebox{\@eledsectionR}%
-            \fi%
+            \print at rightcolumn%
             \ifdefstring{\columns at position}{R}{}{\hfill}%
           }%
           \checkraw at text
@@ -2155,7 +2170,54 @@
     \hspace{\beforecolumnseparator}%
   \fi%
 }%
+\newcommand{\print at leftcolumn}{%
+  \if\page at num>\page at numR%
+    \@l at dtempcntb=\page at num%
+  \else%
+    \@l at dtempcntb=\page at numR%
+  \fi%
+  \ifboolexpr{%
+     not bool {movecolumnspositiononrightpage}%
+     or test {\ifnumodd{\@l at dtempcntb}}%
+    }%
+    {%
+      \unhbox\l at dleftbox%
+      \ifhbox\@eledsectionL%
+         \usebox{\@eledsectionL}%
+      \fi%
+    }%
+    {%
+       \unhbox\l at drightbox%
+       \ifhbox\@eledsectionR%
+         \usebox{\@eledsectionR}%
+       \fi%
+    }%
+}%
 
+\newcommand{\print at rightcolumn}{%
+  \if\page at num>\page at numR%
+    \@l at dtempcntb=\page at num%
+  \else%
+    \@l at dtempcntb=\page at numR%
+  \fi%
+  \ifboolexpr{%
+     not bool {movecolumnspositiononrightpage}%
+     or test {\ifnumodd{\@l at dtempcntb}}%
+    }%
+    {%
+      \unhbox\l at drightbox%
+      \ifhbox\@eledsectionR%
+        \usebox{\@eledsectionR}%
+      \fi%
+    }%
+    {%
+      \unhbox\l at dleftbox%
+      \ifhbox\@eledsectionL%
+         \usebox{\@eledsectionL}%
+      \fi%
+    }%
+}%
+
 \newcommand{\checkpb at columns}{%
     \newif\if at pb
     \newif\if at nopb



More information about the tex-live-commits mailing list