summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/eledmac/eledmac.dtx')
-rw-r--r--Master/texmf-dist/source/latex/eledmac/eledmac.dtx24
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
index 464685a4b0f..92ece9ba6e0 100644
--- a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
+++ b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
@@ -30,7 +30,7 @@
hyperindex=false
]{hyperref}
\usepackage[utf8]{inputenc}
-\providecommand{\phantomsection}{} % just in case hyperref is not used
+\usepackage[english]{babel}
\usepackage{graphicx,eledmac}
\makeatletter
\@mparswitchfalse
@@ -51,7 +51,7 @@
%
% \fi
%
-% \CheckSum{9904}
+% \CheckSum{9906}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -293,11 +293,13 @@
% also provides for index entries keyed to both page and line numbers.
% Multiple series of the familiar numbered footnotes are also available.
%
-% Other LaTeX packages for critical editions include EDNOTES, and
+% Other \LaTeX\ packages for critical editions include EDNOTES, and
% \Lpack{poemscol} for poetical works.
%
-%
-% To report bugs, please go to ledmac's GitHub page and click "New Issue": \url{https://github.com/maieul/ledmac/issues/}. You must open an account with github.com to access my page (maieul/ledmac). GitHub accounts are free for open-source users. You can report bugs in English or in French.
+% \Lpack{eledmac} provides many tools and options. Normally, they are all documented in this file.
+% However, to help people, a ``\href{examples/.}{examples}'' folder is provided, with example for some needs, but not for all.
+%
+% To report bugs, please go to ledmac's GitHub page and click ``New Issue'': \url{https://github.com/maieul/ledmac/issues/}. You must open an account with github.com to access my page (maieul/ledmac). GitHub accounts are free for open-source users. You can report bugs in English or in French (better).
%
% You can subscribe to the eledmac mail list in:\\ \url{http://geekographie.maieul.net/146}
% \end{abstract}
@@ -2639,8 +2641,8 @@
%
% Peter Wilson has developed the Ledpar package
% as an extension to \Eledmac{} specifically for parallel typesetting
-% of critical texts. This also cooperates with the \Lpack{babel}
-% package for typesetting in multiple languages. The package has been called \emph{eledpar} since September 2012.
+% of critical texts. This also cooperates with the \Lpack{babel} / \Lpack{polyglossia}
+% packages for typesetting in multiple languages. The package has been called \emph{eledpar} since September 2012.
% He also developed
% the \Lpack{ledarab} package for
@@ -2830,7 +2832,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledmac}[2014/08/06 v1.12.1 LaTeX port of EDMAC]%
+\ProvidesPackage{eledmac}[2014/08/07 v1.12.2 LaTeX port of EDMAC]%
% \end{macrocode}
%
% Generally, these are the modifications to the original.
@@ -5753,6 +5755,7 @@
% The \cs{do@line} macro is called by \cs{pend} to
% do all the processing for a single line of text.
% \changes{v1.6.1}{2013/10/27}{Move the call to \cs{inserthangingsymbol} to allow use \cs{hfill} inside.}
+% \changes{v1.12.2}{2014/08/07}{Fix a bug with critical notes a the begining of a page, added by v12.0.0.}
% \begin{macrocode}
\newcommand*{\l@dunhbox@line}[1]{\unhbox #1}
\newcommand*{\do@line}{%
@@ -5771,7 +5774,6 @@
\fi
\check@pb@in@verse
\affixline@num
- \add@inserts\affixside@note
% \end{macrocode}
% \changes{v1.12.0}{2014/08/05}{\cs{do@line} is splitted in more little commands.}
% Depending wether a sectioning command is called at this pstart or not
@@ -5791,7 +5793,8 @@
% \cs{print@line} is for normal line, i. e line without sectioning command.
\def\print@line{
\affixpstart@num%
- \hb@xt@ \linewidth{\do@insidelinehook\l@dld@ta
+ \hb@xt@ \linewidth{\do@insidelinehook\l@dld@ta%
+ \add@inserts\affixside@note%
\l@dlsn@te
{\ledllfill\hb@xt@ \wd\one@line{\new@line\inserthangingsymbol \l@dunhbox@line{\one@line}}\ledrlfill\l@drd@ta%
\l@drsn@te
@@ -5805,6 +5808,7 @@
% Because of this printing, a vertical spacing correction is added.
% \begin{macrocode}
\def\print@eledsection{%
+ \add@inserts\affixside@note%
\numdef{\temp@}{\l@dnumpstartsL-1}%
\xifinlist{\temp@}{\eled@sections@@}{\@nobreaktrue}{\@nobreakfalse}%
\@eled@sectioningtrue%