From d2eaed0a00c74cf42ca7420db4facc90d91b6b75 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Sep 2014 21:39:42 +0000 Subject: eledmac (25sep14) git-svn-id: svn://tug.org/texlive/trunk@35257 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/eledmac/eledmac.dtx | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx index c7d383b7086..27ee63af1d9 100644 --- a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx +++ b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx @@ -51,7 +51,7 @@ % % \fi % -% \CheckSum{10305} +% \CheckSum{10307} % % \makeatletter % \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters @@ -207,6 +207,8 @@ % \changes{v1.12.3}{2014/08/15}{Debug left and right notes (bugs added by 1.12.0)} % \changes{v1.12.3}{2014/08/15}{Debug \cs{eledxxx} with some paper size} % \changes{v1.12.4}{2014/08/25}{Debug spurious page breaks before \cs{chapter} (bug added by 1.12.0)} +% \changes{v1.13.1}{2014/09/25}{Debug quotation environment inside of a \cs{pstart} when preceded by a sectioning command.} +% \changes{v1.13.1}{2014/09/25}{Combing back of page and line breaking penalties's management, deleted by error in v0.17.} % \hyphenation{man-u-script man-u-scripts} % % @@ -691,7 +693,7 @@ % \changes{v1.12.0}{2014/08/05}{Optional arguments for \cs{pstart} and \cs{pend}.}\label{pstart:optionalarg} % Both \cs{pstart} and \cs{pend} can take a optional argument, in brackets. % Its content will be printed before the beginning of the \cs{pstart} / after the end of the \cs{pend}. -% If you need to start a \cs{pstart} by brackets, or to add brackets after a \cs{pend}, just add a \cs{\relax} between \cs{pstart}/\cs{pend} and the brackets. +% If you need to start a \cs{pstart} by brackets, or to add brackets after a \cs{pend}, just add a \cs{relax} between \cs{pstart}/\cs{pend} and the brackets. % % This feature is not needed for normal use of \Lpack{eledmac}, but it is needed when using verse (see~\ref{verse} p.~\pageref{verse}) or \Lpack{eledpar} (see~\ref{eledpar} p.~\pageref{eledpar}). % @@ -2454,7 +2456,9 @@ % The \verb+quotation+ and \verb+quote+ environment can be used so that same definition/note appears both inside and outside a numbered section. % The typographical consequences will resemble the outside numbered sections, based on the styles of the \emph{book} class. % However, if you use a package that redefines these environments, these redefinitions won't be available inside the numbering section. -% You must open the quotation environments inside a \cs{start}-\cs{pend} block, not outside. +% You must open the quotation environments inside a \cs{start}-\cs{pend} block, not outside. +% A quotation environment MUST not be opened immediately after a \cs{pstart} +% and MUST not be closed immediately before a \cs{pend}. % % In some case, you don't want these environments be redefined in numbered section. % You can load the package with the option \verb+noquotation+ to prevent this redefinition. @@ -2850,7 +2854,7 @@ % \begin{macrocode} %<*code> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eledmac}[2014/09/16 v1.13.0 LaTeX port of EDMAC]% +\ProvidesPackage{eledmac}[2014/09/25 v1.13.1 LaTeX port of EDMAC]% % \end{macrocode} % % Generally, these are the modifications to the original. @@ -5713,7 +5717,7 @@ % Beware: everything that occurs between \cs{pstart} and \cs{pend} % is happening within a group; definitions must be global if you want % them to survive past the end of the paragraph. -% +% \changes{v1.13.1}{2014/09/25}{Add \cs{l@dzeropenalties} in \cs{pstart}} % \begin{macrocode} \newcounter{pstart} @@ -5756,6 +5760,7 @@ \iflabelpstart\protected@edef\@currentlabel% {\p@pstart\thepstart} \fi% + \l@dzeropenalties% } % \end{macrocode} % \end{macro} @@ -5947,6 +5952,7 @@ % \end{macro} % \end{macro} % +% \changes{v1.13.1}{2014/09/25}{Coming back of add@penalties, deleted by version 0.17!} % \begin{macro}{\print@line} % \begin{macrocode} % \cs{print@line} is for normal line, i. e line without sectioning command. @@ -5958,6 +5964,7 @@ {\ledllfill\hb@xt@ \wd\one@line{\new@line\inserthangingsymbol \l@dunhbox@line{\one@line}}\ledrlfill\l@drd@ta% \l@drsn@te }}% + \add@penalties% } % \end{macrocode} % \end{macro} @@ -14328,7 +14335,7 @@ % \end{itemize} % % Anyway, there is another problem. If you have text in brackets just after \cs{pstart} or \cs{pend}, the text will be considered an optional argument of \cs{pstart} or \cs{pend} (see \ref{pstart:optionalarg}, p.~\pageref{pstart:optionalarg}). -% In this case, just add a \cs{\relax} between \cs{pstart}/\cs{pend} and the brackets. +% In this case, just add a \cs{relax} between \cs{pstart}/\cs{pend} and the brackets. % The version 1.12.0 adds new best way to manage section title inside numbered text. Please read ยง~\ref{eledsection} (p.~\pageref{eledsection}). % \clearpage -- cgit v1.2.3