texlive[68411] Master/texmf-dist: reledmac (30sep23)
commits+karl at tug.org
commits+karl at tug.org
Sat Sep 30 22:12:00 CEST 2023
Revision: 68411
https://tug.org/svn/texlive?view=revision&revision=68411
Author: karl
Date: 2023-09-30 22:12:00 +0200 (Sat, 30 Sep 2023)
Log Message:
-----------
reledmac (30sep23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/reledmac/doc-more/page-typesetting-columns.pdf
trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendnotes.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-antilabe.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-subdivision-number-in-header.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/source/latex/reledmac/reledpar.dtx
trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
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-criticalendnotes.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-antilabe.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-subdivision-number-in-header.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 2023-09-30 20:11:44 UTC (rev 68410)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx 2023-09-30 20:12:00 UTC (rev 68411)
@@ -600,6 +600,8 @@
% \changes{v2.39.6}{2023/08/14}{Fix compatibility with memoir v3.8.}
% \changes{v2.39.7}{2023/08/21}{Fix compatibility with \protect\cs{pagenumbering} of memoir v3.8.}
% \changes{v2.39.7}{2023/08/21}{Again fix with hyperref, footnote and tabular environment}
+% \changes{v2.40.0}{2023/09/30}{Add\protect\cs{Xonlyonerule} and \protect\cs{onlyoneruleX} hooks}
+% \changes{v2.40.0}{2023/09/30}{Add\protect\option{onlyonerule} option}
% Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
% has version number \fileversion, last revised \filedate.}}
%
@@ -898,6 +900,7 @@
% \item[nopbinverse] prevents page break within verse environment;
% \item[noquotation] by default, the quotation environment is redefined within numbered text. You can disable this redefinition with \verb|noquotation| (see \reff{noquotation});
% \item[noresetlinenumannotation] does not reset the annotations to line number at each line (see \reff{annotation});
+% \item[onlyonerule] by default, each series of footnotes has its own rule; this option makes sure only one footnote rule is printed in each page. See §~\ref{opt:onlyonerule} (p.~\pageref{opt:onlyonerule}) for more details.
% \item[parapparatus] by default, the apparatus cannot contain paragraph breaks; this option enables paragraphing inside the apparatus;
% \item[swcaseinsensitive] make \cs{sameword} command case insensitive;
% \item[widthliketwocolumns] set the width of the text printed in a single column to be the same as the width of the text printed in two parallel columns with \parpackage. This is useful when alternating between normal and parallel typesetting;
@@ -2974,7 +2977,20 @@
% The default value is \verb+0pt+.
% You can do this with \protect\cs{prenotesX}\marg{l}. You can disable this feature by setting the length to 0pt.
%
-% \subsubsection{Rule}
+% \subsubsection{Printing only one footnote rule per page}
+% By default, each series of notes has its own footnote rule.
+% \label{opt:onlyonerule} Using \option{onlyonerule} when loading the \Macpackage packages ensures that only one rule will be printed in each page.
+%
+% However, you may want to have only one footnote rule for all series of \emph{critical} footnotes, but also one (and only one) footnote rule for all series of \emph{familiar} footnotes.
+%
+% For example, if in one page you have three series of critical footnotes and four series of familiar footnotes, you may want to have, in all, two rules.
+%
+% To do that use
+% \begin{itemize}
+% \item \DescribeMacro{Xonlyonerule} to produce only a single footnote rule for all critical footnotes;
+% \item \DescribeMacro{onlyoneruleX} to produce only a single footnote rule for all familiar footnotes.
+% \end{itemize}
+%\subsubsection{Space after footnotes rules}
% \changes{v1.12.0}{2014/08/05}{New hooks: \protect\cs{Xafterrule} and \protect\cs{afterruleX}}
% \DescribeMacro{\Xafterrule}
% You can change the vertical space printed after the rule of the critical notes with \protect\cs{Xafterrule}\oarg{s}\marg{l}.
@@ -4515,6 +4531,30 @@
\ProvidesPackage{reledmac}[2023/08/21 v2.39.7 typesetting critical editions]%
% \end{macrocode}
%
+% \subsection{Loading packages}
+% Loading package \protect\package{xargs} to declare commands with optional arguments.
+% Loading package \package{xparse} to declare fully expandable commands with optional argument. Ideally, we should use only \package{xparse} and not \package{xargs}. For historical reasons, we use both.
+% \protect\package{Etoolbox} is also used to make code clearer - for example, in dynamic command names (which can replace \protect\cs{csname} etc.).
+% Use \protect\package{suffix} to declare commands with a starred version, \protect\package{xstring} to work with strings, \protect\package{ifluatex} and \protect\package{ifxetex} to test if \LuaTeX\ or \XeTeX\ is running, and \protect\package{ragged2e} to manage ragged justification for paragraphed notes.
+% \begin{macrocode}
+\RequirePackage{xargs}%
+\RequirePackage{xparse}[2017/03/07]%
+\RequirePackage{etoolbox}%
+\@ifl at t@r\fmtversion{2015/10/01}%
+ {\ifboolexpr{not test{\@ifl at t@r\fmtversion{2016/03/31}} or (test{\ifdefstring{\fmtversion}{2016/03/31}} and test {\ifnumless{\patch at level}{3}})}%
+ {\PackageWarning{reledmac}{You are using a LaTeX version older than 2016/03/31 patch 3.%
+ \MessageBreak You are strongly encouraged to use a newer version.}}%
+ {}%
+ }%
+ {\RequirePackage{etex}%
+ \csname reserveinserts\endcsname{32}%
+ }%
+\RequirePackage{suffix}%
+\RequirePackage{xstring}%
+\RequirePackage{ifluatex}%
+\RequirePackage{ragged2e}%
+\RequirePackage{ifxetex}%
+% \end{macrocode}
% \subsection{Package options}
% \changes{v0.4.0}{2004/02/29}{Added final/draft options}
% \changes{v1.13.0}{2014/09/16}{Added widthliketwocolumns option}
@@ -4632,6 +4672,11 @@
\DeclareOptionX{antilabe}{%
\antilabe at true%
}%
+
+\newtoggle{onlyonerule@}%
+\DeclareOptionX{onlyonerule}{%
+ \toggletrue{onlyonerule@}%
+}%
% \end{macrocode}
% We use the starred form of \protect\cs{ProcessOptionsX} which executes options in
% the order listed in the source file: class options, then listed package
@@ -4660,30 +4705,6 @@
% \end{macro}
% \end{macro}
% \end{macro}
-% \subsection{Loading packages}
-% Loading package \protect\package{xargs} to declare commands with optional arguments.
-% Loading package \package{xparse} to declare fully expandable commands with optional argument. Ideally, we should use only \package{xparse} and not \package{xargs}. For historical reasons, we use both.
-% \protect\package{Etoolbox} is also used to make code clearer - for example, in dynamic command names (which can replace \protect\cs{csname} etc.).
-% Use \protect\package{suffix} to declare commands with a starred version, \protect\package{xstring} to work with strings, \protect\package{ifluatex} and \protect\package{ifxetex} to test if \LuaTeX\ or \XeTeX\ is running, and \protect\package{ragged2e} to manage ragged justification for paragraphed notes.
-% \begin{macrocode}
-\RequirePackage{xargs}
-\RequirePackage{xparse}[2017/03/07]%
-\RequirePackage{etoolbox}
-\@ifl at t@r\fmtversion{2015/10/01}
- {\ifboolexpr{not test{\@ifl at t@r\fmtversion{2016/03/31}} or (test{\ifdefstring{\fmtversion}{2016/03/31}} and test {\ifnumless{\patch at level}{3}})}%
- {\PackageWarning{reledmac}{You are using a LaTeX version older than 2016/03/31 patch 3.%
- \MessageBreak You are strongly encouraged to use a newer version.}}%
- {}%
- }%
- {\RequirePackage{etex}%
- \csname reserveinserts\endcsname{32}%
- }%
-\RequirePackage{suffix}
-\RequirePackage{xstring}
-\RequirePackage{ifluatex}
-\RequirePackage{ragged2e}
-\RequirePackage{ifxetex}%
-% \end{macrocode}
%
% \subsection{Compatibility with \LuaTeX}
% Here, we enable some primitives for \LuaTeX.
@@ -14229,31 +14250,76 @@
% \end{macro}
% \end{macro}
% \section{Footnotes' rule}
+% \subsection{Printing only one footnote rule}
+% The \cs{Xonlyonerule} and \cs{onlyoneruleX} macros allow to print only one footnote rule in each page for, respectively, critical and familiar footnotes series. They just switch the low level \cs{Xonlyonerule@} and \cs{onlyoneruleX@} toggles.
+% \begin{macro}{Xonlyonerule}
+% \begin{macro}{Xonlyonerule@}
+% \begin{macro}{onlyoneruleX}
+% \begin{macro}{onlyoneruleX@}
+% \begin{macrocode}
+\unless\ifnocritical@%
+ \newtoggle{Xonlyonerule@}%
+ \newcommandx{\Xonlyonerule}[1][1=true]{%
+ \settoggle{Xonlyonerule@}{#1}%
+ }%
+\fi%
+\unless\ifnofamiliar@%
+ \newtoggle{onlyoneruleX@}%
+ \newcommandx{\onlyoneruleX}[1][1=true]{%
+ \settoggle{onlyoneruleX@}{#1}%
+ }%
+\fi%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \subsection{Dealing with multiple columns}
% Because the footnotes' rules can be shifted to the right when footnotes are set like two columns, we do not print them directly, but we put them in a \protect\cs{vbox}.
%
% \begin{macro}{\print at Xfootnoterule}
% \begin{macro}{\print at footnoteXrule}
+% \begin{macro}{Xfirstfootnoterule at printed}
+% \begin{macro}{firstfootnoteruleX at printed}
% \changes{v1.21.0}{2015/04/13}{Code refactoring: the spaces after the footnote rules are directly managed in \protect\cs{print at Xfootnoterule} and \protect\cs{print at footnoteXrule}}
% \begin{macrocode}
+\newtoggle{Xfirstfootnoterule at printed}%
\newcommand{\print at Xfootnoterule}[1]{%
- \vskip-\csuse{Xafterrule@#1}%Because count in \dimen\csuse{#1footins}
- \nointerlineskip%
- \moveleft-\leftskip\vbox{\csuse{#1footnoterule}}%
- \nointerlineskip%
- \vskip\csuse{Xafterrule@#1}%
+ \ifboolexpr{%
+ (not togl{Xonlyonerule@} or not togl{Xfirstfootnoterule at printed})%
+ and%
+ not (togl{onlyonerule@} and (togl{firstfootnoteruleX at printed} or togl{Xfirstfootnoterule at printed}))%
+ }{%
+ \vskip-\csuse{Xafterrule@#1}%Because count in \dimen\csuse{#1footins}%
+ \nointerlineskip%
+ \moveleft-\leftskip\vbox{\csuse{#1footnoterule}}%
+ \nointerlineskip%
+ \vskip\csuse{Xafterrule@#1}%
+ }{}%
+ \global\toggletrue{Xfirstfootnoterule at printed}%
}%
+\newtoggle{firstfootnoteruleX at printed}%
\newcommand{\print at footnoteXrule}[1]{%
- \vskip-\csuse{afterruleX@#1}%Because count in \dimen\csuse{footins#1}
- \nointerlineskip%
- \moveleft-\leftskip\vbox{\csuse{footnoterule#1}}%
- \nointerlineskip%
- \vskip\csuse{afterruleX@#1}%
+ \ifboolexpr{%
+ (not togl{onlyoneruleX@} or not togl{firstfootnoteruleX at printed})%
+ and%
+ not (togl{onlyonerule@} and (togl{firstfootnoteruleX at printed} or togl{Xfirstfootnoterule at printed}))%
+ }{%
+ \vskip-\csuse{afterruleX@#1}%Because count in \dimen\csuse{footins#1}%
+ \nointerlineskip%
+ \moveleft-\leftskip\vbox{\csuse{footnoterule#1}}%
+ \nointerlineskip%
+ \vskip\csuse{afterruleX@#1}%
+ }{}%
+ \global\toggletrue{firstfootnoteruleX at printed}%
}%
% \end{macrocode}
% \end{macro}
% \end{macro}
+% \end{macro}
+% \end{macro}
% \section{Specific skip for first series of footnotes}\label{skipfirstseries}
% \subsection{Overview}
% \protect\cs{Xbeforenotes} inserts a specific skip for the first series of notes in a page.
@@ -16300,6 +16366,8 @@
% \changes{v1.9.0}{2014/02/05}{Add \protect\cs{fnpos} to choice the order of footnotes.}
% \begin{macrocode}
\newcommand*{\l at ddoxtrafeet}{%
+ \global\togglefalse{firstfootnoteruleX at printed}%
+ \global\togglefalse{Xfirstfootnoterule at printed}%
\IfStrEq{familiar-critical}{\@fnpos}
{\do at feetX\do at Xfeet}%
{%
@@ -22419,10 +22487,10 @@
% \subsection{critical-keys for \emph{Emacs}}
% The \emph{Emacs} editor has a package to help inserting \macpackage's commands (Juan Manuel Macías Chaín).\\
% \url{https://gitlab.com/maciaschain/critical-keys}
-% \subsection{critical-marks for \emph{Emacs}}
-% A set of functions for \emph{Emacs} that run in the export process from Org Mode to
-% LaTeX and replace a series of simple textual marks with the basic \macpackage's commands (Juan Manuel Macías Chaín)
-% \url{https://gitlab.com/maciaschain/critical-marks}
+% \subsection{org-critical-edition for \emph{Emacs} and \emph{Org Mode}}
+% This \emph{Emacs} library lets you prepare a critical edition in Org Mode
+% with \LaTeX and \macpackage output (Juan Manuel Macías Chaín)
+% \url{https://gitlab.com/maciaschain/org-critical-edition}
%\subsection{Import from TEI}
% \subsection{Import from TEI}
% There are multiple tools to convert from XML-TEI to \emph{reledmac}. Here is a non exhaustive-list:
Modified: trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx 2023-09-30 20:11:44 UTC (rev 68410)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx 2023-09-30 20:12:00 UTC (rev 68411)
@@ -1145,7 +1145,7 @@
%
% \DescribeMacro{\linenumberLevenifblanktrue}
% \DescribeMacro{\linenumberRevenifblanktrue}
-% By default, when a blank line is printed on one side, no line number is printed for the sake of synchronizing with the other side, .
+% By default, when a blank line is printed on one side, no line number is printed for the sake of synchronizing with the other side.
% However, line numbers can be printed for blank lines as well.
% Use \cs{linenumberLevenifblanktrue} to enable this on the left side and \cs{linenumberRevenifblanktrue} for the right side.
%
Modified: trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty 2023-09-30 20:11:44 UTC (rev 68410)
+++ trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty 2023-09-30 20:12:00 UTC (rev 68411)
@@ -38,6 +38,23 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{reledmac}[2023/08/21 v2.39.7 typesetting critical editions]%
+\RequirePackage{xargs}%
+\RequirePackage{xparse}[2017/03/07]%
+\RequirePackage{etoolbox}%
+\@ifl at t@r\fmtversion{2015/10/01}%
+ {\ifboolexpr{not test{\@ifl at t@r\fmtversion{2016/03/31}} or (test{\ifdefstring{\fmtversion}{2016/03/31}} and test {\ifnumless{\patch at level}{3}})}%
+ {\PackageWarning{reledmac}{You are using a LaTeX version older than 2016/03/31 patch 3.%
+ \MessageBreak You are strongly encouraged to use a newer version.}}%
+ {}%
+ }%
+ {\RequirePackage{etex}%
+ \csname reserveinserts\endcsname{32}%
+ }%
+\RequirePackage{suffix}%
+\RequirePackage{xstring}%
+\RequirePackage{ifluatex}%
+\RequirePackage{ragged2e}%
+\RequirePackage{ifxetex}%
\RequirePackage{xkeyval}
\newif\ifparledgroup
\newif\ifsameparallelpagenumber%
@@ -123,25 +140,13 @@
\DeclareOptionX{antilabe}{%
\antilabe at true%
}%
+
+\newtoggle{onlyonerule@}%
+\DeclareOptionX{onlyonerule}{%
+ \toggletrue{onlyonerule@}%
+}%
\ProcessOptionsX*\relax
-\RequirePackage{xargs}
-\RequirePackage{xparse}[2017/03/07]%
-\RequirePackage{etoolbox}
-\@ifl at t@r\fmtversion{2015/10/01}
- {\ifboolexpr{not test{\@ifl at t@r\fmtversion{2016/03/31}} or (test{\ifdefstring{\fmtversion}{2016/03/31}} and test {\ifnumless{\patch at level}{3}})}%
- {\PackageWarning{reledmac}{You are using a LaTeX version older than 2016/03/31 patch 3.%
- \MessageBreak You are strongly encouraged to use a newer version.}}%
- {}%
- }%
- {\RequirePackage{etex}%
- \csname reserveinserts\endcsname{32}%
- }%
-\RequirePackage{suffix}
-\RequirePackage{xstring}
-\RequirePackage{ifluatex}
-\RequirePackage{ragged2e}
-\RequirePackage{ifxetex}%
\ifx\directlua\undefined\else%
\directlua{tex.enableprimitives("",{"textdir","pardir","bodydir"})}
\fi
@@ -4888,20 +4893,48 @@
\def\@mpfnpos{critical-familiar}
\newcommand{\fnpos}[1]{\xdef\@fnpos{#1}}
\newcommand{\mpfnpos}[1]{\xdef\@mpfnpos{#1}}
+\unless\ifnocritical@%
+ \newtoggle{Xonlyonerule@}%
+ \newcommandx{\Xonlyonerule}[1][1=true]{%
+ \settoggle{Xonlyonerule@}{#1}%
+ }%
+\fi%
+\unless\ifnofamiliar@%
+ \newtoggle{onlyoneruleX@}%
+ \newcommandx{\onlyoneruleX}[1][1=true]{%
+ \settoggle{onlyoneruleX@}{#1}%
+ }%
+\fi%
+\newtoggle{Xfirstfootnoterule at printed}%
\newcommand{\print at Xfootnoterule}[1]{%
- \vskip-\csuse{Xafterrule@#1}%Because count in \dimen\csuse{#1footins}
- \nointerlineskip%
- \moveleft-\leftskip\vbox{\csuse{#1footnoterule}}%
- \nointerlineskip%
- \vskip\csuse{Xafterrule@#1}%
+ \ifboolexpr{%
+ (not togl{Xonlyonerule@} or not togl{Xfirstfootnoterule at printed})%
+ and%
+ not (togl{onlyonerule@} and (togl{firstfootnoteruleX at printed} or togl{Xfirstfootnoterule at printed}))%
+ }{%
+ \vskip-\csuse{Xafterrule@#1}%Because count in \dimen\csuse{#1footins}%
+ \nointerlineskip%
+ \moveleft-\leftskip\vbox{\csuse{#1footnoterule}}%
+ \nointerlineskip%
+ \vskip\csuse{Xafterrule@#1}%
+ }{}%
+ \global\toggletrue{Xfirstfootnoterule at printed}%
}%
+\newtoggle{firstfootnoteruleX at printed}%
\newcommand{\print at footnoteXrule}[1]{%
- \vskip-\csuse{afterruleX@#1}%Because count in \dimen\csuse{footins#1}
- \nointerlineskip%
- \moveleft-\leftskip\vbox{\csuse{footnoterule#1}}%
- \nointerlineskip%
- \vskip\csuse{afterruleX@#1}%
+ \ifboolexpr{%
+ (not togl{onlyoneruleX@} or not togl{firstfootnoteruleX at printed})%
+ and%
+ not (togl{onlyonerule@} and (togl{firstfootnoteruleX at printed} or togl{Xfirstfootnoterule at printed}))%
+ }{%
+ \vskip-\csuse{afterruleX@#1}%Because count in \dimen\csuse{footins#1}%
+ \nointerlineskip%
+ \moveleft-\leftskip\vbox{\csuse{footnoterule#1}}%
+ \nointerlineskip%
+ \vskip\csuse{afterruleX@#1}%
+ }{}%
+ \global\toggletrue{firstfootnoteruleX at printed}%
}%
\newtoggle{Xprenotes@}%
@@ -6276,6 +6309,8 @@
\newcommandx*{\Xnolemmaseparator}[1][1]{\Xlemmaseparator[#1]{}}
\newcommand*{\l at ddoxtrafeet}{%
+ \global\togglefalse{firstfootnoteruleX at printed}%
+ \global\togglefalse{Xfirstfootnoterule at printed}%
\IfStrEq{familiar-critical}{\@fnpos}
{\do at feetX\do at Xfeet}%
{%
More information about the tex-live-commits
mailing list.