texlive[47622] Master/texmf-dist: reledmac (5may18)

commits+karl at tug.org commits+karl at tug.org
Sat May 5 23:14:52 CEST 2018


Revision: 47622
          http://tug.org/svn/texlive?view=revision&revision=47622
Author:   karl
Date:     2018-05-05 23:14:52 +0200 (Sat, 05 May 2018)
Log Message:
-----------
reledmac (5may18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/reledmac/README
    trunk/Master/texmf-dist/doc/latex/reledmac/doc-more/page-typesetting-columns.pdf
    trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.pdf
    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-doublenumbering.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_inside-outside-columns.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/tex/latex/reledmac/reledmac.sty

Modified: trunk/Master/texmf-dist/doc/latex/reledmac/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/README	2018-05-05 21:14:21 UTC (rev 47621)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/README	2018-05-05 21:14:52 UTC (rev 47622)
@@ -129,7 +129,7 @@
 We maintain two collaborative bibliographies:
 
 -   [Critical Editions Typeset with EDMAC, LEDMAC and
-    eLEDMAC](https://www.zotero.org/groups/critical_editions_typeset_with_edmac_ledmac_and_eledmac/items)
+    eLEDMAC](https://www.zotero.org/groups/209265/)
 -   [Articles and books about
-    (r)(e)(l)edmac](https://www.zotero.org/groups/articles_and_books_about_reledmac/items)
+    (r)(e)(l)edmac](https://www.zotero.org/groups/1024519/)
 

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

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

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-doublenumbering.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)

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

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	2018-05-05 21:14:21 UTC (rev 47621)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx	2018-05-05 21:14:52 UTC (rev 47622)
@@ -510,6 +510,8 @@
 % \changes{v2.26.9}{2018/05/02}{Fix bug with critical footnotes line number when alternating between \protect\cs{numberlinefalse} and \protect\cs{numberlinetrue}.}
 % \changes{v2.26.9}{2018/05/02}{Fix bug with page number in footnote after \protect\cs{mainmatter} (bug introduced in v2.26.7)}
 % \changes{v2.26.9}{2018/05/02}{Workaround with a bug of \protect\LaTeX 2018/04/01 patch level 3 to generate the .sty file from a .ins file}
+% \changes{v2.26.10}{2018/05/05}{Really fix bug with page number in footnote after \protect\cs{mainmatter} (bug introduced in v2.26.7)}
+% \changes{v2.26.10}{2018/05/05}{Add error message when insertion a \protect\cs{pstart} or \protect\cs{pend} inside \protect\cs{edtext} arguments}
 %      Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
 % has version number \fileversion, last revised \filedate.}}
 %
@@ -4188,7 +4190,7 @@
 %    \begin{macrocode}
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2018/05/02 v2.26.9 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2018/05/05 v2.26.10 typesetting critical editions]%
 %    \end{macrocode}
 %
 % \subsection{Package options}
@@ -4453,11 +4455,23 @@
 % \end{macro}
 %
 % \begin{macro}{\led at err@edtextoutsidepstart}
+% \begin{macro}{\led at err@PstartInEdtext}
+% \begin{macro}{\led at err@PendInEdtext}
 %    \begin{macrocode}
 \newcommand*{\led at err@edtextoutsidepstart}{%
   \reledmac at error{\string\edtext\space outside numbered paragraph (\pstart\space …\space\pend)}{\@ehc}}%
+
+\newcommand{\led at err@PstartInEdtext}[1]{%
+  \reledmac at error{\string\pstart\space in \string\edtext\space #1 argument}{\@ehc}%
+}%
+
+\newcommand{\led at err@PendInEdtext}[1]{%
+  \reledmac at error{\string\pend\space in \string\edtext\space #1 argument}{\@ehc}%
+}%
 %    \end{macrocode}
 % \end{macro}
+% \end{macro}
+% \end{macro}
 % \begin{macro}{\led at mess@NotesChanged}
 %    \begin{macrocode}
 \newcommand*{\led at mess@NotesChanged}{%
@@ -7729,7 +7743,11 @@
 %    \begin{macrocode}
   \ifnumberedpar@%
 %    \end{macrocode}
-% we increment the \cs{@edtext at level} \TeX\ counter to know in which level of \protect\cs{edtext} we are.
+% Check the content of the arguments, to be certain there is no forbidden command inside.
+%    \begin{macrocode}%
+      \@check at edtext@args{#1}{#2}%
+%    \end{macrocode}
+% We increment the \cs{@edtext at level} \TeX\ counter to know in which level of \protect\cs{edtext} we are.
 %    \begin{macrocode}
       \global\advance\@edtext at level by 1%
 %    \end{macrocode}
@@ -7749,15 +7767,15 @@
 %    \end{macrocode}
 % We get the next series of samewords data in the list of samewords data for the current edtext level. We push them inside \protect\cs{sw at inthisedtext}.
 %    \begin{macrocode}
-      \ifledRcol% 
-        \ifcsvoid{sw at list@edtextR@\the\@edtext at level}%
-              {\global\let\sw at inthisedtext\empty}%
-              {\expandafter\gl at p\csname sw at list@edtextR@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
-      \else%
-        \ifcsvoid{sw at list@edtext@\the\@edtext at level}%
-              {\global\let\sw at inthisedtext\empty}%
-              {\expandafter\gl at p\csname sw at list@edtext@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
-      \fi%
+        \ifledRcol%
+          \ifcsvoid{sw at list@edtextR@\the\@edtext at level}%
+                {\global\let\sw at inthisedtext\empty}%
+                {\expandafter\gl at p\csname sw at list@edtextR@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
+        \else%
+          \ifcsvoid{sw at list@edtext@\the\@edtext at level}%
+                {\global\let\sw at inthisedtext\empty}%
+                {\expandafter\gl at p\csname sw at list@edtext@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
+        \fi%
 %    \end{macrocode}
 % \begin{macro}{\@tag}
 % \label{@tag}Our normal lemma is just argument \verb"#1"; but that argument could have
@@ -7774,7 +7792,7 @@
 %    \begin{macrocode}
         \global\renewcommand{\@tag}{%
           \no at expands #1%
-          }%
+        }%
 %    \end{macrocode}
 % \end{macro}
 % \begin{macro}{\l at d@nums}
@@ -7890,8 +7908,22 @@
 
 %    \end{macrocode}
 % \end{macro}
-%
+% \begin{macro}{\@check at edtext@args}
+% A macro which just checks the arguments of the \cs{edtext} and let know
+% if there is some probleme, like, for example, \cs{pstart} inside.
+%    \begin{macrocode}
+\newcommand{\@check at edtext@args}[2]{%
+  \begingroup%
+    \noexpandarg%
+    \IfSubStr{#1}{\pstart}{\led at err@PstartInEdtext{first}}{}%
+    \IfSubStr{#1}{\pend}{\led at err@PendInEdtext{first}}{}%
+    \IfSubStr{#2}{\pstart}{\led at err@PstartInEdtext{second}}{}%
+    \IfSubStr{#2}{\pend}{\led at err@PendInEdtext{second}}{}%
+  \endgroup%
+}%
 % 
+%    \end{macrocode}
+% \end{macro}
 % \begin{macro}{\@beforeinsertofthisedtext}
 % \cs{@beforeinsertofthisedtext} is an internal macro. \macpackage\ or \parpackage can add in this macro any content required to be executed before doing any \cs{insert} related to a \cs{edtext}.
 % Its content is \cs{let} equal to \cs{relax} at the end of every \cs{edtext}.
@@ -15482,14 +15514,7 @@
 }%
 
 \newcommand{\par at patch@pagenumbering}{%
-  \ifboolexpr{%
-    bool{sameparallelpagenumber}%
-    or bool{prevpgnotnumbered}%
-    }%
-    {%
-    \setcounter{par at page}{1}%
-    }%
-    {}%
+  \setcounter{par at page}{1}%
   \par at patch@thepage%
 }%
 

Modified: trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty	2018-05-05 21:14:21 UTC (rev 47621)
+++ trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty	2018-05-05 21:14:52 UTC (rev 47622)
@@ -35,7 +35,7 @@
 %%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2018/05/02 v2.26.9 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2018/05/05 v2.26.10 typesetting critical editions]%
 \RequirePackage{xkeyval}
 \newif\ifparledgroup
 \newif\ifsameparallelpagenumber%
@@ -163,6 +163,14 @@
   \reledmac at error{Numbering should already have been started}{\@ehc}}
 \newcommand*{\led at err@edtextoutsidepstart}{%
   \reledmac at error{\string\edtext\space outside numbered paragraph (\pstart\space …\space\pend)}{\@ehc}}%
+
+\newcommand{\led at err@PstartInEdtext}[1]{%
+  \reledmac at error{\string\pstart\space in \string\edtext\space #1 argument}{\@ehc}%
+}%
+
+\newcommand{\led at err@PendInEdtext}[1]{%
+  \reledmac at error{\string\pend\space in \string\edtext\space #1 argument}{\@ehc}%
+}%
 \newcommand*{\led at mess@NotesChanged}{%
   \typeout{reledmac reminder: }%
   \typeout{ The number of the footnotes in this section
@@ -1536,23 +1544,24 @@
 \renewcommand{\theedtext}{edtxt@\arabic{edtext}}%
 \newcommand{\edtext}[2]{\leavevmode%
   \ifnumberedpar@%
+      \@check at edtext@args{#1}{#2}%
       \global\advance\@edtext at level by 1%
       \stepcounter{edtext}%
       \csxdef{thisedtext@\the\@edtext at level}{\theedtext}%
       \global\@lemmacommand at false%
       \begingroup%
-      \ifledRcol%
-        \ifcsvoid{sw at list@edtextR@\the\@edtext at level}%
-              {\global\let\sw at inthisedtext\empty}%
-              {\expandafter\gl at p\csname sw at list@edtextR@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
-      \else%
-        \ifcsvoid{sw at list@edtext@\the\@edtext at level}%
-              {\global\let\sw at inthisedtext\empty}%
-              {\expandafter\gl at p\csname sw at list@edtext@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
-      \fi%
+        \ifledRcol%
+          \ifcsvoid{sw at list@edtextR@\the\@edtext at level}%
+                {\global\let\sw at inthisedtext\empty}%
+                {\expandafter\gl at p\csname sw at list@edtextR@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
+        \else%
+          \ifcsvoid{sw at list@edtext@\the\@edtext at level}%
+                {\global\let\sw at inthisedtext\empty}%
+                {\expandafter\gl at p\csname sw at list@edtext@\the\@edtext at level\endcsname\to\sw at inthisedtext}%
+        \fi%
         \global\renewcommand{\@tag}{%
           \no at expands #1%
-          }%
+        }%
         \set at line%
         \ifledRcol \global\insert at countR \z@%
         \else      \global\insert at count \z@ \fi%
@@ -1600,6 +1609,15 @@
   \fi%
 }%
 
+\newcommand{\@check at edtext@args}[2]{%
+  \begingroup%
+    \noexpandarg%
+    \IfSubStr{#1}{\pstart}{\led at err@PstartInEdtext{first}}{}%
+    \IfSubStr{#1}{\pend}{\led at err@PendInEdtext{first}}{}%
+    \IfSubStr{#2}{\pstart}{\led at err@PstartInEdtext{second}}{}%
+    \IfSubStr{#2}{\pend}{\led at err@PendInEdtext{second}}{}%
+  \endgroup%
+}%
 \let\@beforeinsertofthisedtext\relax
 \newif\ifnumberline
 \numberlinetrue
@@ -5853,14 +5871,7 @@
 }%
 
 \newcommand{\par at patch@pagenumbering}{%
-  \ifboolexpr{%
-    bool{sameparallelpagenumber}%
-    or bool{prevpgnotnumbered}%
-    }%
-    {%
-    \setcounter{par at page}{1}%
-    }%
-    {}%
+  \setcounter{par at page}{1}%
   \par at patch@thepage%
 }%
 



More information about the tex-live-commits mailing list