texlive[49287] Master/texmf-dist: reledmac (30nov18)
commits+karl at tug.org
commits+karl at tug.org
Fri Nov 30 22:51:01 CET 2018
Revision: 49287
http://tug.org/svn/texlive?view=revision&revision=49287
Author: karl
Date: 2018-11-30 22:51:01 +0100 (Fri, 30 Nov 2018)
Log Message:
-----------
reledmac (30nov18)
Modified Paths:
--------------
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-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/examples/makefile
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-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-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/examples/makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/examples/makefile 2018-11-30 21:50:32 UTC (rev 49286)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/examples/makefile 2018-11-30 21:51:01 UTC (rev 49287)
@@ -8,7 +8,7 @@
PDF:$(OBJ)
-%.test: %.pdf
+%.test: %.pdf
python3 check-example.py --filename=$<
%.pdf: %.tex
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-11-30 21:50:32 UTC (rev 49286)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx 2018-11-30 21:51:01 UTC (rev 49287)
@@ -516,6 +516,7 @@
% \changes{v2.26.12}{2018/07/19}{Precise minimal version of xparse package required.}
% \changes{v2.27.0}{2018/09/13}{Add \protect\cs{doinsidethislinehook}.}
% \changes{v2.27.1}{2018/10/12}{Fix spurious space in \protect\cs{hidenumbering}.}
+% \changes{v2.28.0}{2018/11/30}{Familiar footnotes can take an optional argument to manually define the footnote mark.}
% Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
% has version number \fileversion, last revised \filedate.}}
%
@@ -986,10 +987,10 @@
% \setcounter{pstart}{value}
% \end{verbatim}
% On each \protect\cs{beginnumbering} the numbering restarts.
-% \changes{v0.15.0}{2012/06/11}{Possibility to print \protect\cs{pstart} number inside.}
+% \changes{v0.15.0}{2012/06/11}{Possibility to print \protect\cs{pstart} number in the sides of the text.}
%
% \DescribeMacro{\sidepstartnumtrue}
-% With the \protect\cs{sidepstartnumtrue} command, the number of \protect\cs{pstart} will be printed inside.
+% With the \protect\cs{sidepstartnumtrue} command, the number of \protect\cs{pstart} will be printed in the sides of the text.
% In this case, the line number will be not printed.
%
% \changes{v1.1.0}{2012/09/25}{Add \protect\cs{labelpstarttrue}.}
@@ -1931,7 +1932,11 @@
% name whereas the critical footnotes have the series letter at the start
% of the name.
%
-%
+% The footnote can take a first optional argument to manually define the footnote number or footnote symbol.
+% For example:
+% \begin{verbatim}
+% \footnoteA[22]{This footnote will be numbered 22}
+% \end{verbatim}
% \subsubsection{Customizing mark}
% \DescribeMacro{\thefootnoteA}
% \DescribeMacro{\bodyfootmarkA}
@@ -4216,7 +4221,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2018/10/12 v2.27.1 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2018/11/30 v2.28.0 typesetting critical editions]%
% \end{macrocode}
%
% \subsection{Package options}
@@ -12481,10 +12486,14 @@
% \begin{macro}{\mpnormalvfootnoteX}
% The minipage version.
% \begin{macrocode}
-\newcommand*{\mpnormalvfootnoteX}[2]{%
+\newcommand*{\mpnormalvfootnoteX}[3]{%
\get at thisfootnoteX{#1}%
- \get at fnmarkX{#1}{\thisc at footnote}%
- \edef\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
+ \get at fnmarkX{#1}{\thisc at footnote}{#3}%
+ \ifstrempty{#3}{%
+ \edef\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
+ }{%
+ \edef\this at footnoteX@reading{###3}%
+ }%
\global\setbox\@nameuse{mpfootins#1}\vbox{%
\unvbox\@nameuse{mpfootins#1}
\noindent\csuse{bhooknoteX@#1}%
@@ -12612,9 +12621,10 @@
% \begin{macro}{\normalbfnoteX}
% \changes{v0.7.0}{2005/02/18}{Removed extraneous space from \protect\cs{normalbfnoteX}}
% \changes{v1.4.9}{2013/07/10}{Allow to redefine \protect\cs{thefootnoteX} with \c{alph} when some packages are loaded.}
+% \#1 = footnote series, \#2 = footnote content, \#3 manual footnote number
% \begin{macrocode}
-\newcommand{\normalbfnoteX}[2]{%
+\newcommand{\normalbfnoteX}[3]{%
\get at thisfootnoteX{#1}%
\ifledRcol%
\ifluatex
@@ -12627,7 +12637,7 @@
\noexpand\led at set@index at fornote{#1}%
\noexpand\prepare at edindex@fornote{\l at d@nums}%
\unexpanded{\def\this at footnoteX@reading}{\the\csname footnote#1 at reading\endcsname}%
- \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}%
+ \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}{#3}%
\noexpand\led at reinit@index at fornote%
\unexpanded{\advance\@edindex at fornote@\m at ne}%
}%
@@ -12644,7 +12654,7 @@
\noexpand\led at set@index at fornote{#1}%
\noexpand\prepare at edindex@fornote{\l at d@nums}%
\unexpanded{\def\this at footnoteX@reading}{\the\csname footnote#1 at reading\endcsname}%
- \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}%
+ \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}{#3}%
\noexpand\led at reinit@index at fornote%
\unexpanded{\advance\@edindex at fornote@\m at ne}%
}%
@@ -12670,50 +12680,56 @@
% \end{macro}
% \begin{macro}{\vbfnoteX}
% This command calls the correct footnote-inserting commands.
-%
+% \#1 footnote serie, \#2 footnote content, \#3 footnote counter, \#4 manuel footnote mark
% \begin{macrocode}
-\newcommand{\vbfnoteX}[3]{%
- \get at fnmarkX{#1}{#3}%
+\newcommand{\vbfnoteX}[4]{%
+ \get at fnmarkX{#1}{#3}{#4}\relax%
\@nameuse{regvfootnote#1}{#1}{#2}%
}%
-
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\get at fnmarkX}
% This command gets the correct footnote number when typesetting parallel texts.
+% \#1 footnote series, \#2 footnote counter, \#3 manuel footnote number
% \begin{macrocode}
-\newcommand{\get at fnmarkX}[2]{%
- \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}%
- {%
- \stepcounter{footnote#1 at typeset}%
- \setcounter{footnote#1}{\value{footnote#1 at typeset}}%
- \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
- \immediate\write\@mainaux{%
- \csgdef{footnote#1reading#2=typeset}{\the\csname c at footnote#1 at typeset\endcsname}%
- }%
- }%
- {%
- \setcounter{footnote#1}{#2}%
- \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
- }%
-}
+\newcommand{\get at fnmarkX}[3]{%
+ \ifstrempty{#3}{%
+ \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}%
+ {%
+ \stepcounter{footnote#1 at typeset}%
+ \setcounter{footnote#1}{\value{footnote#1 at typeset}}%
+ \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
+ \immediate\write\@mainaux{%
+ \csgdef{footnote#1reading#2=typeset}{\the\csname c at footnote#1 at typeset\endcsname}%
+ }%
+ }%
+ {%
+ \setcounter{footnote#1}{#2}%
+ \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
+ }%
+ }%
+ {%
+ \csdef{@thefnmark#1}{#3}%
+ }%
+}%
%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\vnumfootnoteX}
% \changes{v0.7.0}{2005/02/18}{Removed extraneous space from \protect\cs{vnumfootnoteX}}
+% \#1 footnote series, \#2 footnote content, \#3 manual footnote mark
% \begin{macrocode}
-\newcommand{\vnumfootnoteX}[2]{%
+
+\newcommand{\vnumfootnoteX}[3]{%
\ifnumberedpar@
- \edtext{}{\normalbfnoteX{#1}{#2}}%
+ \edtext{}{\normalbfnoteX{#1}{#2}{#3}}%
\else
\def\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
\get at thisfootnoteX{#1}%
- \get at fnmarkX{#1}{\expandonce\thisc at footnote}%
+ \get at fnmarkX{#1}{\expandonce\thisc at footnote}{#3}%
\@nameuse{regvfootnote#1}{#1}{#2}%
\fi}
-
% \end{macrocode}
% \end{macro}
%
@@ -13101,9 +13117,9 @@
\box0
\penalty0
\egroup}
-\newcommand*{\mppara at vfootnoteX}[2]{%
+\newcommand*{\mppara at vfootnoteX}[3]{%
\get at thisfootnoteX{#1}%
- \get at fnmarkX{#1}{\thisc at footnote}%
+ \get at fnmarkX{#1}{\thisc at footnote}{#3}%
\edef\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
\global\setbox\@nameuse{mpfootins#1}\vbox{%
\unvbox\@nameuse{mpfootins#1}
@@ -14458,10 +14474,10 @@
% Note the double \# in command: it is because a command is called inside another command.
% \begin{macrocode}
- \global\expandafter\newcommand\csname footnote#1\endcsname[1]{%
+ \global\expandafter\newcommand\csname footnote#1\endcsname[2][]{%
\begingroup%
\prepare at prenotesX{#1}%
- \newcommand{\content}{##1}%
+ \newcommand{\content}{##2}%
% \end{macrocode}
% If we use the \cs{csquotes} package, we reset the quotation level.
% \begin{macrocode}
@@ -14471,15 +14487,18 @@
% \end{macrocode}
% If we are preparing parallel typesetting, we cannot just increase the footnote counter.
% Read \parpackage's handbook about that (\reff{reledpar-familiarfootnotenumber}).
+% If we have manual footnote mark, use it.
% \begin{macrocode}
\global\expandafter\advance\csname footnote#1 at reading\endcsname by \@ne%
- \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}{%
- \ifcsdef{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}%
- {\setcounter{footnote#1}{\csuse{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}}}%
- {\setcounter{footnote#1}{\the\csname footnote#1 at reading\endcsname}}%
- }{%
- \stepcounter{footnote#1}%
- }%
+ \ifstrempty{##1}{%
+ \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}{%
+ \ifcsdef{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}%
+ {\setcounter{footnote#1}{\csuse{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}}}%
+ {\setcounter{footnote#1}{\the\csname footnote#1 at reading\endcsname}}%
+ }{%
+ \stepcounter{footnote#1}%
+ }%
+ }{}%
% \end{macrocode}
% We also have to check consistency with \cs{onlysideX} setting.
% \begin{macrocode}
@@ -14491,7 +14510,9 @@
% \end{macrocode}
% And now, the feature not depending of wether we are preparing parallel typesetting
% \begin{macrocode}
- \protected at csxdef{@thefnmark#1}{\csuse{thefootnote#1}}%
+ \ifstrempty{##1}%
+ {\protected at csxdef{@thefnmark#1}{\csuse{thefootnote#1}}}%
+ {\protected at csxdef{@thefnmark#1}{##1}}%
\nottoggle{nomk@}%Nomk is set to true when using \footnoteXnomk with \parpackage
{\csuse{@footnotemark#1}}%
{}%
@@ -14502,7 +14523,7 @@
\if at ledgroup%
\led at set@index at fornote{#1}%
\fi%
- \csuse{vfootnote#1}{#1}{\expandonce\content}\m at mmf@prepare%
+ \csuse{vfootnote#1}{#1}{\expandonce\content}{##1}\m at mmf@prepare%
\ifbool{indtl at innote}%
{\let\index\orig@@index}%
{}%
Modified: trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx 2018-11-30 21:50:32 UTC (rev 49286)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledpar.dtx 2018-11-30 21:51:01 UTC (rev 49287)
@@ -1235,7 +1235,7 @@
% treated as zero \protect\cs{sza at 0@}' it is because you have forgotten to use
% \protect\cs{setstanzaindents} to set the stanza indents.
%
-% As \env{astanza} is a specify type \cs{pstart}\ldots\cs{pend} structure, you can:
+% As \env{astanza} is a specific type of \cs{pstart}\ldots\cs{pend} structure, you can:
% \begin{itemize}
% \item Add optional argument (in brackets) after \cs{begin}\arg{astanza}, as the optional argument of \cs{pstart}.
% \item Use optional argument after the last \expandafter\cs\expandafter{\&} as optional argument of \cs{pend}.
Modified: trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty 2018-11-30 21:50:32 UTC (rev 49286)
+++ trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty 2018-11-30 21:51:01 UTC (rev 49287)
@@ -35,7 +35,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2018/10/12 v2.27.1 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2018/11/30 v2.28.0 typesetting critical editions]%
\RequirePackage{xkeyval}
\newif\ifparledgroup
\newif\ifsameparallelpagenumber%
@@ -3878,10 +3878,14 @@
\spaceskip=\z at skip \xspaceskip=\z at skip
\csuse{\csuse{footnote at dir}}\@nameuse{footfmt#1}{#1}{#2}\egroup}
-\newcommand*{\mpnormalvfootnoteX}[2]{%
+\newcommand*{\mpnormalvfootnoteX}[3]{%
\get at thisfootnoteX{#1}%
- \get at fnmarkX{#1}{\thisc at footnote}%
- \edef\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
+ \get at fnmarkX{#1}{\thisc at footnote}{#3}%
+ \ifstrempty{#3}{%
+ \edef\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
+ }{%
+ \edef\this at footnoteX@reading{###3}%
+ }%
\global\setbox\@nameuse{mpfootins#1}\vbox{%
\unvbox\@nameuse{mpfootins#1}
\noindent\csuse{bhooknoteX@#1}%
@@ -3963,7 +3967,7 @@
\unvbox\@nameuse{mpfootins#1}}
-\newcommand{\normalbfnoteX}[2]{%
+\newcommand{\normalbfnoteX}[3]{%
\get at thisfootnoteX{#1}%
\ifledRcol%
\ifluatex
@@ -3976,7 +3980,7 @@
\noexpand\led at set@index at fornote{#1}%
\noexpand\prepare at edindex@fornote{\l at d@nums}%
\unexpanded{\def\this at footnoteX@reading}{\the\csname footnote#1 at reading\endcsname}%
- \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}%
+ \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}{#3}%
\noexpand\led at reinit@index at fornote%
\unexpanded{\advance\@edindex at fornote@\m at ne}%
}%
@@ -3993,7 +3997,7 @@
\noexpand\led at set@index at fornote{#1}%
\noexpand\prepare at edindex@fornote{\l at d@nums}%
\unexpanded{\def\this at footnoteX@reading}{\the\csname footnote#1 at reading\endcsname}%
- \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}%
+ \noexpand\vbfnoteX{#1}{#2}{\thisc at footnote}{#3}%
\noexpand\led at reinit@index at fornote%
\unexpanded{\advance\@edindex at fornote@\m at ne}%
}%
@@ -4009,36 +4013,40 @@
\protected at xdef\thisc at footnote{\the\csname c at footnote#1\endcsname}%
}%
}%
-\newcommand{\vbfnoteX}[3]{%
- \get at fnmarkX{#1}{#3}%
+\newcommand{\vbfnoteX}[4]{%
+ \get at fnmarkX{#1}{#3}{#4}\relax%
\@nameuse{regvfootnote#1}{#1}{#2}%
}%
+\newcommand{\get at fnmarkX}[3]{%
+ \ifstrempty{#3}{%
+ \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}%
+ {%
+ \stepcounter{footnote#1 at typeset}%
+ \setcounter{footnote#1}{\value{footnote#1 at typeset}}%
+ \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
+ \immediate\write\@mainaux{%
+ \csgdef{footnote#1reading#2=typeset}{\the\csname c at footnote#1 at typeset\endcsname}%
+ }%
+ }%
+ {%
+ \setcounter{footnote#1}{#2}%
+ \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
+ }%
+ }%
+ {%
+ \csdef{@thefnmark#1}{#3}%
+ }%
+}%
-\newcommand{\get at fnmarkX}[2]{%
- \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}%
- {%
- \stepcounter{footnote#1 at typeset}%
- \setcounter{footnote#1}{\value{footnote#1 at typeset}}%
- \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
- \immediate\write\@mainaux{%
- \csgdef{footnote#1reading#2=typeset}{\the\csname c at footnote#1 at typeset\endcsname}%
- }%
- }%
- {%
- \setcounter{footnote#1}{#2}%
- \@namedef{@thefnmark#1}{\csuse{thefootnote#1}}%
- }%
-}
-\newcommand{\vnumfootnoteX}[2]{%
+\newcommand{\vnumfootnoteX}[3]{%
\ifnumberedpar@
- \edtext{}{\normalbfnoteX{#1}{#2}}%
+ \edtext{}{\normalbfnoteX{#1}{#2}{#3}}%
\else
\def\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
\get at thisfootnoteX{#1}%
- \get at fnmarkX{#1}{\expandonce\thisc at footnote}%
+ \get at fnmarkX{#1}{\expandonce\thisc at footnote}{#3}%
\@nameuse{regvfootnote#1}{#1}{#2}%
\fi}
-
\newcommand*{\arrangementX at normal}[1]{%
\csgdef{series at displayX#1}{normal}
\expandafter\let\csname footstart#1\endcsname=\normalfootstartX
@@ -4304,9 +4312,9 @@
\box0
\penalty0
\egroup}
-\newcommand*{\mppara at vfootnoteX}[2]{%
+\newcommand*{\mppara at vfootnoteX}[3]{%
\get at thisfootnoteX{#1}%
- \get at fnmarkX{#1}{\thisc at footnote}%
+ \get at fnmarkX{#1}{\thisc at footnote}{#3}%
\edef\this at footnoteX@reading{\the\csname footnote#1 at reading\endcsname}%
\global\setbox\@nameuse{mpfootins#1}\vbox{%
\unvbox\@nameuse{mpfootins#1}
@@ -5210,27 +5218,31 @@
\expandafter\newinsert\csname mpfootins#1\endcsname%
\fi%
- \global\expandafter\newcommand\csname footnote#1\endcsname[1]{%
+ \global\expandafter\newcommand\csname footnote#1\endcsname[2][]{%
\begingroup%
\prepare at prenotesX{#1}%
- \newcommand{\content}{##1}%
+ \newcommand{\content}{##2}%
\ifdefined\csq at qlevel%
\csq at qlevel=0\relax%
\fi%
\global\expandafter\advance\csname footnote#1 at reading\endcsname by \@ne%
- \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}{%
- \ifcsdef{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}%
- {\setcounter{footnote#1}{\csuse{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}}}%
- {\setcounter{footnote#1}{\the\csname footnote#1 at reading\endcsname}}%
- }{%
- \stepcounter{footnote#1}%
- }%
+ \ifstrempty{##1}{%
+ \ifboolexpr{bool{l at dpairing} or bool{l at dprintingpages} or bool{l at dprintingcolumns}}{%
+ \ifcsdef{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}%
+ {\setcounter{footnote#1}{\csuse{footnote#1reading\the\csname footnote#1 at reading\endcsname=typeset}}}%
+ {\setcounter{footnote#1}{\the\csname footnote#1 at reading\endcsname}}%
+ }{%
+ \stepcounter{footnote#1}%
+ }%
+ }{}%
\ifledRcol%
\ifcsstring{onlysideX@#1}{L}{\led at error@note at called@onrightside{footnote#1}}{}%
\else%
\ifcsstring{onlysideX@#1}{R}{\led at error@note at called@onleftside{footnote#1}}{}%
\fi%
- \protected at csxdef{@thefnmark#1}{\csuse{thefootnote#1}}%
+ \ifstrempty{##1}%
+ {\protected at csxdef{@thefnmark#1}{\csuse{thefootnote#1}}}%
+ {\protected at csxdef{@thefnmark#1}{##1}}%
\nottoggle{nomk@}%Nomk is set to true when using \footnoteXnomk with \parpackage
{\csuse{@footnotemark#1}}%
{}%
@@ -5241,7 +5253,7 @@
\if at ledgroup%
\led at set@index at fornote{#1}%
\fi%
- \csuse{vfootnote#1}{#1}{\expandonce\content}\m at mmf@prepare%
+ \csuse{vfootnote#1}{#1}{\expandonce\content}{##1}\m at mmf@prepare%
\ifbool{indtl at innote}%
{\let\index\orig@@index}%
{}%
More information about the tex-live-commits
mailing list