texlive[45709] Master/texmf-dist: reledmac (6nov17)
commits+karl at tug.org
commits+karl at tug.org
Mon Nov 6 22:58:49 CET 2017
Revision: 45709
http://tug.org/svn/texlive?view=revision&revision=45709
Author: karl
Date: 2017-11-06 22:58:48 +0100 (Mon, 06 Nov 2017)
Log Message:
-----------
reledmac (6nov17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/reledmac/doc-more/page-typesetting-columns.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.pdf
trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-verses.tex
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
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.pdf
trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.tex
Modified: trunk/Master/texmf-dist/doc/latex/reledmac/doc-more/page-typesetting-columns.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.pdf 2017-11-06 21:58:19 UTC (rev 45708)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.pdf 2017-11-06 21:58:48 UTC (rev 45709)
Property changes on: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.tex 2017-11-06 21:58:48 UTC (rev 45709)
@@ -0,0 +1,54 @@
+\documentclass{article}
+\usepackage{polyglossia,fontspec}
+\usepackage{libertineotf}
+\setmainlanguage{latin}
+\setotherlanguage{english}
+
+\usepackage[series={A,B},nocritical,noeledsec,nofamiliar,noledgroup]{reledmac}
+\Xendparagraph[B]
+\begin{document}
+
+\begin{english}
+\date{}
+\title{Critical endnotes}
+\maketitle
+\begin{abstract}
+This file provides examples of critical endnotes with reledmac.
+A critical note is associated to a lemma, marked by \verb+\edtext+, and referenced by the line and page numbers of the lemma.
+If a critical notes refers to a long lemma, we can use \verb+lemma+ to obtain an abbreviated form.
+
+Here we use two series of critical notes.
+\begin{itemize}
+\item Each note of series A has its own paragraph.
+\item The notes of series B are arranged in the same paragraph.
+\end{itemize}
+\end{abstract}
+\end{english}
+
+\beginnumbering
+\pstart
+\edtext{Lorem}{
+ \Aendnote{A critical note}
+ \Aendnote{Critical note in series A}
+ \Aendnote{Critical note in series A}
+ \Bendnote{loram}}
+\edtext{ipsum}{
+ \Aendnote{An other critical note}
+ \Bendnote{Other critical note in series A}}
+ dolor sit amet, consectetur adipiscing elit.
+ \edtext{Fusce sed dolor libero. Aenean rutrum vestibulum lacus ut pretium. Fusce et auctor lectus. Ut et commodo quam, quis gravida orci. Nullam at risus elementum, suscipit enim a, pellentesque mi}
+ {\lemma{Fusce\ldots mi}
+ \Aendnote{A long critical note}
+ \Bendnote{omit}}.
+Morbi \edtext{commodo}{\Bendnote{quommodo}}, ligula vel consectetur accumsan, massa metus egestas velit, eu fringilla leo ante in turpis. \edtext{Vivamus}{\Bendnote{Vivit}} ut tellus sollicitudin, facilisis ipsum sit amet, tincidunt odio. Maecenas tincidunt dolor sed ante blandit tincidunt. Etiam vulputate ultricies facilisis.
+\pend
+\endnumbering
+
+\section{A series}
+\doendnotes{A}
+
+\section{B series}
+\doendnotes{B}
+
+
+\end{document}
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-criticalendotes.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
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/1-verses.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-verses.tex 2017-11-06 21:58:19 UTC (rev 45708)
+++ trunk/Master/texmf-dist/doc/latex/reledmac/examples/1-verses.tex 2017-11-06 21:58:48 UTC (rev 45709)
@@ -20,6 +20,8 @@
The odd verses are not indented, the even are indented. When a verse is too long, the end is printed after a long indentation, and a left bracket is inserted (\verb+\sethangingsymbol+).
Two levels of critical footnotes are used.
+
+We also add example of notes overlapping two lines of verse, using \verb+xxref+ and \verb+lemma+.
\end{abstract}
\end{english}
@@ -27,17 +29,17 @@
\setcounter{stanzaindentsrepetition}{2}
\setstanzaindents{8,0,1}
\stanza
-Lorem ipsum dolor sit amet, consectetur adipisicing elit,&
+\edlabel{begin:1}\edtext{Lorem}{\lemma{Lorem\ldots nisis}\xxref{begin:1}{end:1}\Afootnote{A note on two verses}} ipsum dolor sit amet, consectetur adipisicing elit,&
sed do eiusmod tempor incididunt ut labore et dolore&
magna aliqua. Ut enim ad minim veniam, quis nostrud&
-exercitation ullamco laboris nisi&
+exercitation ullamco laboris nisi\edlabel{end:1}&
\edtext{ut aliquip}{\Afootnote{ut aliliquip}} consequat ut aliquip consequat irure dolor in reprehenderit irure dolor in reprehenderit&
\edtext{Duis aute}{\Bfootnote{Some comments}} irure dolor in reprehenderit&
in voluptate velit esse cillum dolore eu ur. Excepteur sint occaecat&
cupidatat non proident, sunt in culpa qui officia deserunt&
-Duis aute irure dolor in reprehenderit&
+\edlabel{begin:2}\edtext{Duis}{\xxref{begin:2}{end:2}\lemma{Duis\ldots occaecat}\Afootnote{A other note on two verses}} aute irure dolor in reprehenderit&
in voluptate velit esse cillum dolore eu fugiat nulla&
-pariatur. Excepteur sint occaecat\&
+pariatur. Excepteur sint occaecat\edlabel{end:2}\&
\endnumbering
\end{document}
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 2017-11-06 21:58:19 UTC (rev 45708)
+++ trunk/Master/texmf-dist/source/latex/reledmac/reledmac.dtx 2017-11-06 21:58:48 UTC (rev 45709)
@@ -429,7 +429,7 @@
% \changes{v2.15.2}{2016/09/12}{Fix a bug with \protect\package{fancyhdr} package 3.8 and later.}
% \changes{v2.15.3}{2016/09/26}{Fix a 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 a warning message if using a version of \protect\LaTeX that is too old.}
+% \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}
@@ -490,6 +490,7 @@
% \changes{v2.24.0}{2017/08/17}{Fix spurious space with \protect\cs{labelpstarttrue}}
% \changes{v2.24.1}{2017/08/31}{Compatibility with \protect\parpackage 2.20.2}
% \changes{v2.24.2}{2017/10/21}{Fix bug between tabular environments and endnotes}
+%% \changes{v2.25.0}{2017/11/05}{Add \protect\cs{Xendtxtbeforenotes} hook}
% Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
% has version number \fileversion, last revised \filedate.}}
%
@@ -1135,6 +1136,8 @@
% or sub-line depending on what it started out as, even if it
% changes in the middle.
%
+% \DescribeMacro{Xsublinesep}
+% \DescribeMacro{Xsublinesepside}
% You can change the separator between the line number and the subline number either by using \cs{Xsublinesep} without any optional argument (\reff{Xsublinesep}) or by using \cs{Xsublinesepside}. In the second case, it will change the separator only for line numbers in the margins, not in the footnotes.
% \subsubsection{Locking lineation}
% \DescribeMacro{\startlock}
@@ -1798,7 +1801,7 @@
%
% Please not that the maintainer of this script is not the maintainer of \macpackage.
%
-% \subsection{Apparatus of Manuscripts}
+% \subsection{Apparatus of manuscripts}
% The critical notes mostly refer to textual variants between manuscripts which contain the text to be edited.
% It may so happen that the manuscripts only contain parts of the text.
% Depending on one's wishes, \macpackage\ can generate lists of relevant manuscripts for any delimited portion of text.
@@ -2110,6 +2113,16 @@
% \subsubsection{Arbitrary text before line number}
% \DescribeMacro{\Xbeforenumber}
% \cs{Xbeforenumber}\oarg{s}\marg{txt} allow to insert \meta{txt} before the line number, only when the line number is printed, so taking into accout \cs{Xnumberonlyfirstinline} and similar.
+% \paragraph{For endnotes}\label{pagelineendnotes}
+% \DescribeMacro{\Xendbeforepagenumber}
+% \cs{Xendbeforepagenumber}\oarg{s}\marg{text} defines the text before the page number in endnotes. Default value is \verb+p.+ (``p'' followed by a dot).
+%
+% \DescribeMacro{\Xendafterpagenumber}
+% \cs{Xendafterpagenumber}\oarg{s}\marg{text} defines the text after the page number in endnotes. Default value is \verb+) + (open parenthesis followed by a single space).
+% \DescribeMacro{\Xendlineprefixsingle}
+% \cs{Xendlineprefixsingle}\oarg{s}\marg{text} defines the text before the line number in endnotes, when there is only one line. Default value is empty.
+% \DescribeMacro{\Xendlineprefixmore}
+% \cs{Xendlineprefixmore}\oarg{s}\marg{text} defines the text before the line number in endnotes, when there is more than one line. Default value is empty. If you don't define it, use the value defined by \cs{Xendlineprefixsingle}.
% \subsubsection{Separator for line range}\label{linerangeseparator}
% \changes{v2.4.0}{2015/10/19}{New hooks: \protect\cs{Xlinerangeseparator} and \protect\cs{Xendlinerangeseparator}.}
% \changes{v2.4.0}{2015/10/19}{Option linerangesep for critical footnotes and endnotes.}
@@ -2295,16 +2308,6 @@
% \protect\cs{Xendboxlinenum}\oarg{s}\marg{l}, \protect\cs{Xendboxlinenumalign}\oarg{s}\marg{text}, \protect\cs{Xendboxstartlinenum}\oarg{s}\marg{l}, \protect\cs{Xendboxendlinenum}\oarg{s}\marg{l} are the same as, respectively, \protect\cs{Xboxlinenum} and \protect\cs{Xboxlinenumalign}, \protect\cs{Xboxstartlinenum}, \protect\cs{Xboxendlinenum} except in endnotes.
%
%
-% \subsection{For endnotes}\label{pagelineendnotes}
-% \DescribeMacro{\Xendbeforepagenumber}
-% \cs{Xendbeforepagenumber}\oarg{s}\marg{text} defines the text before the page number in endnotes. Default value is \verb+p.+ (``p'' followed by a dot).
-%
-% \DescribeMacro{\Xendafterpagenumber}
-% \cs{Xendafterpagenumber}\oarg{s}\marg{text} defines the text after the page number in endnotes. Default value is \verb+) + (open parenthesis followed by a single space).
-% \DescribeMacro{\Xendlineprefixsingle}
-% \cs{Xendlineprefixsingle}\oarg{s}\marg{text} defines the text before the line number in endnotes, when there is only one line. Default value is empty.
-% \DescribeMacro{\Xendlineprefixmore}
-% \cs{Xendlineprefixmore}\oarg{s}\marg{text} defines the text before the line number in endnotes, when there is more than one line. Default value is empty. If you don't define it, use the value defined by \cs{Xendlineprefixsingle}.
% \subsection{Arbitrary code around line number}
% \DescribeMacro{\Xendbhooklinenumber}
% \cs{Xendbhooklinenumber}\oarg{s}\marg{code} is used to execute code before line number in endnotes. The code is executed before the \cs{Xendbeforelinenumber} space and before the \cs{Xendnotenumfont} font setting.
@@ -2355,7 +2358,7 @@
%
%
% \DescribeMacro{\Xendinplaceoflemmaseparator}\label{Xendinplaceoflemmaseparator}
-% With \protect\cs{Xendinplaceoflemmaseparator}\oarg{s}\marg{l} you can add some space if you chose to remove the lemma separator. The default value is 0.5~em.
+% With \protect\cs{Xendinplaceoflemmaseparator}\oarg{s}\marg{l} you can add some space if you choose to remove the lemma separator. The default value is 0.5~em.
%
%
% \subsection{Font style}
@@ -2457,15 +2460,15 @@
% \end{verbatim}
%
% \DescribeMacro{\Xbhooknote}
-% \protect\cs{Xbhooknote}\oarg{s}\marg{code} is to be used at the beginning of the critical footnotes.
+% \protect\cs{Xbhooknote}\oarg{s}\marg{code} is to be used at the beginning of each critical footnotes.
%
%
% \DescribeMacro{\bhooknoteX}
-% \protect\cs{bhooknoteX}\oarg{s}\marg{code} is to be used at the beginning of the familiar footnotes.
+% \protect\cs{bhooknoteX}\oarg{s}\marg{code} is to be used at the beginning of each familiar footnote.
%
%
% \DescribeMacro{\Xendbhooknote}
-% \protect\cs{Xendbhooknote}\oarg{s}\marg{code} is to be used at the beginning of the endnotes.
+% \protect\cs{Xendbhooknote}\oarg{s}\marg{code} is to be used at the beginning of each endnote.
%
% \subsection{Arbitrary code before inserting note}
% \DescribeMacro{\Xbeforeinserting}
@@ -2560,8 +2563,12 @@
% \DescribeMacro{\Xtxtbeforenotes}
% You can add text before critical footnotes with \protect\cs{Xtxtbeforenotes}\oarg{s}\marg{text}.
% \DescribeMacro{\txtbeforenotesX}
+%
% You can add text before familiar footnotes with \protect\cs{txtbeforenotesX}\oarg{s}\marg{text}.
%
+% \DescribeMacro{\Xendtxtbeforenotes}
+% You can add text before endnotes with \protect\cs{Xendtxtbeforenotes}\oarg{s}\marg{text}. The text will be typeset only if we have endnotes.
+%
% \DescribeMacro{\Xtxtbeforenotesonlyonce}
% \DescribeMacro{\txtbeforenotesonlyonceX} By default, such texts are inserted at the beginning of the groups of notes on each pages.
% You can add \cs{Xtxtbeforenotesonlyonce} (for critical footnotes) and \cs{txtbeforenotesonlyonceX} (for familiar footnotes) to insert them only the first time notes are typeset.
@@ -3394,7 +3401,7 @@
% Its default name is \verb+reledmac-markup-attr.xdy+,
% but you can change it by using your own as an argument of the \verb|xindy+hyperref| option.
%
-% If you chose to use both \verb+xindy+ and the \verb+hyperref+ package,
+% If you choose to use both \verb+xindy+ and the \verb+hyperref+ package,
% you must do three more things:
% \begin{enumerate}
% \item Use \verb|xindy+hyperref| option when loading the \macpackage package.
@@ -4062,7 +4069,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2017/10/21 v2.24.2 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2017/11/05 v2.25.0 typesetting critical editions]%
% \end{macrocode}
%
% \subsection{Package options}
@@ -9598,7 +9605,8 @@
\ifcsdef{\csuse{series at display#1}@begin at insert}{%
\csuse{\csuse{series at display#1}@begin at insert}{#1}%
}{}%
- \strut\csuse{Xnotefontsize@#1}\csuse{Xtxtbeforenotes@#1}%
+ \strut\csuse{Xnotefontsize@#1}%
+ \csuse{Xtxtbeforenotes@#1}%
\egroup%
}%
}%
@@ -13036,6 +13044,10 @@
% \end{itemize}
% \begin{macrocode}
\global\notbool{parapparatus@}{}{\long}\def\endprint#1#2#3#4#5#6#7{{%
+ \iftoggle{Xendfirstnote@#4}{%
+ \global\togglefalse{Xendfirstnote@#4}%
+ \csuse{Xendtxtbeforenotes@#4}%
+ }{}%
\csuse{Xendbhooknote@#4}%
\csuse{Xendnotefontsize@#4}%
\hangindent=\csuse{Xendhangindent@#4}%
@@ -13217,6 +13229,7 @@
\begingroup
\csxdef{prevpagenum@#1}{}%
\csxdef{prevpagerange@#1}{}%
+ \global\toggletrue{Xendfirstnote@#1}%
\makeatletter
\expandafter\let\csname #1end\endcsname=\endprint
\input\l at auxdir\jobname.#1end%
@@ -13238,6 +13251,7 @@
\begingroup%
\makeatletter%
\def\l at d@section##1{%
+ \global\toggletrue{Xendfirstnote@#1}%
\ifnumequal{##1}{\csname #1end at bysection\endcsname}%
{\cslet{#1end}{\endprint}}%
{\cslet{#1end}{\@gobbleseven}}%
@@ -14054,11 +14068,14 @@
\csgdef{Xendlemmafont@#1}{}%
- \newtoggle{Xendpagenumberonlyfirst@#1}%
- \newtoggle{Xendpagenumberonlyfirstifsingle@#1}%
- \newtoggle{Xendpagenumberonlyfirstintwo@#1}%
- \csgdef{Xendsympagenum@#1}{}%
- \csgdef{Xendinplaceofpagenumber@#1}{0pt}%
+ \newtoggle{Xendpagenumberonlyfirst@#1}%
+ \newtoggle{Xendpagenumberonlyfirstifsingle@#1}%
+ \newtoggle{Xendpagenumberonlyfirstintwo@#1}%
+ \csgdef{Xendsympagenum@#1}{}%
+ \csgdef{Xendinplaceofpagenumber@#1}{0pt}%
+
+ \csgdef{Xendtxtbeforenotes@#1}{}%
+ \newtoggle{Xendfirstnote@#1}%Not a hook, but used to apply Xendtxtbeforenotes
% \end{macrocode}
% End of endnotes declaration
@@ -14452,12 +14469,14 @@
\newhookcommand at series{Xendhangindent}%
- \newhooktoggle at series{Xendpagenumberonlyfirst}%
- \newhooktoggle at series{Xendpagenumberonlyfirstifsingle}%
- \newhooktoggle at series{Xendpagenumberonlyfirstintwo}%
- \newhookcommand at series{Xendsympagenum}%
- \newhookcommand at series{Xendinplaceofpagenumber}%
+ \newhooktoggle at series{Xendpagenumberonlyfirst}%
+ \newhooktoggle at series{Xendpagenumberonlyfirstifsingle}%
+ \newhooktoggle at series{Xendpagenumberonlyfirstintwo}%
+ \newhookcommand at series{Xendsympagenum}%
+ \newhookcommand at series{Xendinplaceofpagenumber}%
+ \newhookcommand at series{Xendtxtbeforenotes}%
+
\fi
\newhooktoggle at series{Xendlineflag}[apprefwithpage,SErefwithpage]
\newhookcommand at series{Xendtwolines}[apprefwithpage,SErefwithpage]
Modified: trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty 2017-11-06 21:58:19 UTC (rev 45708)
+++ trunk/Master/texmf-dist/tex/latex/reledmac/reledmac.sty 2017-11-06 21:58:48 UTC (rev 45709)
@@ -25,6 +25,7 @@
+%% \changes{v2.25.0}{2017/11/05}{Add \protect\cs{Xendtxtbeforenotes} hook}
@@ -35,7 +36,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2017/10/21 v2.24.2 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2017/11/05 v2.25.0 typesetting critical editions]%
\RequirePackage{xkeyval}
\newif\ifparledgroup
\DeclareOptionX{series}[A,B,C,D,E]{\xdef\default at series{#1}}
@@ -2471,7 +2472,8 @@
\ifcsdef{\csuse{series at display#1}@begin at insert}{%
\csuse{\csuse{series at display#1}@begin at insert}{#1}%
}{}%
- \strut\csuse{Xnotefontsize@#1}\csuse{Xtxtbeforenotes@#1}%
+ \strut\csuse{Xnotefontsize@#1}%
+ \csuse{Xtxtbeforenotes@#1}%
\egroup%
}%
}%
@@ -4352,6 +4354,10 @@
}%
\global\notbool{parapparatus@}{}{\long}\def\endprint#1#2#3#4#5#6#7{{%
+ \iftoggle{Xendfirstnote@#4}{%
+ \global\togglefalse{Xendfirstnote@#4}%
+ \csuse{Xendtxtbeforenotes@#4}%
+ }{}%
\csuse{Xendbhooknote@#4}%
\csuse{Xendnotefontsize@#4}%
\hangindent=\csuse{Xendhangindent@#4}%
@@ -4490,6 +4496,7 @@
\begingroup
\csxdef{prevpagenum@#1}{}%
\csxdef{prevpagerange@#1}{}%
+ \global\toggletrue{Xendfirstnote@#1}%
\makeatletter
\expandafter\let\csname #1end\endcsname=\endprint
\input\l at auxdir\jobname.#1end%
@@ -4503,6 +4510,7 @@
\begingroup%
\makeatletter%
\def\l at d@section##1{%
+ \global\toggletrue{Xendfirstnote@#1}%
\ifnumequal{##1}{\csname #1end at bysection\endcsname}%
{\cslet{#1end}{\endprint}}%
{\cslet{#1end}{\@gobbleseven}}%
@@ -5065,12 +5073,15 @@
\csgdef{Xendlemmafont@#1}{}%
- \newtoggle{Xendpagenumberonlyfirst@#1}%
- \newtoggle{Xendpagenumberonlyfirstifsingle@#1}%
- \newtoggle{Xendpagenumberonlyfirstintwo@#1}%
- \csgdef{Xendsympagenum@#1}{}%
- \csgdef{Xendinplaceofpagenumber@#1}{0pt}%
+ \newtoggle{Xendpagenumberonlyfirst@#1}%
+ \newtoggle{Xendpagenumberonlyfirstifsingle@#1}%
+ \newtoggle{Xendpagenumberonlyfirstintwo@#1}%
+ \csgdef{Xendsympagenum@#1}{}%
+ \csgdef{Xendinplaceofpagenumber@#1}{0pt}%
+ \csgdef{Xendtxtbeforenotes@#1}{}%
+ \newtoggle{Xendfirstnote@#1}%Not a hook, but used to apply Xendtxtbeforenotes
+
\fi%
\listxadd{\@series}{#1}
}
@@ -5328,12 +5339,14 @@
\newhookcommand at series{Xendhangindent}%
- \newhooktoggle at series{Xendpagenumberonlyfirst}%
- \newhooktoggle at series{Xendpagenumberonlyfirstifsingle}%
- \newhooktoggle at series{Xendpagenumberonlyfirstintwo}%
- \newhookcommand at series{Xendsympagenum}%
- \newhookcommand at series{Xendinplaceofpagenumber}%
+ \newhooktoggle at series{Xendpagenumberonlyfirst}%
+ \newhooktoggle at series{Xendpagenumberonlyfirstifsingle}%
+ \newhooktoggle at series{Xendpagenumberonlyfirstintwo}%
+ \newhookcommand at series{Xendsympagenum}%
+ \newhookcommand at series{Xendinplaceofpagenumber}%
+ \newhookcommand at series{Xendtxtbeforenotes}%
+
\fi
\newhooktoggle at series{Xendlineflag}[apprefwithpage,SErefwithpage]
\newhookcommand at series{Xendtwolines}[apprefwithpage,SErefwithpage]
More information about the tex-live-commits
mailing list