diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/eledmac/eledmac.sty | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty index f3b9a98be4e..04e18190549 100644 --- a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty +++ b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty @@ -25,7 +25,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eledmac}[2014/09/07 v1.12.7 LaTeX port of EDMAC]% +\ProvidesPackage{eledmac}[2014/09/12 v1.12.8 LaTeX port of EDMAC]% \newif\ifledfinal \newif\ifparapparatus@ \newif\ifnoquotation@ @@ -747,29 +747,29 @@ \IfStrEqCase{\led@pb@setting}{{before}{\relax}{after}{\relax}}[\write\linenum@out{\string\@nl[\the\c@page][\thepage]}]% } +\newif\if@noneed@Footnote%Bool to check if we have to print a error message + \newcommand*{\flag@start}{% \ifledRcol% \edef\next{\write\linenum@outR{% \string\@ref[\the\insert@countR][}}% \next% \ifnum\insert@countR<1% - \led@err@EdtextWithoutFootnote% + \if@noneed@Footnote\else% + \led@err@EdtextWithoutFootnote% + \fi% \fi% \else% \edef\next{\write\linenum@out{% \string\@ref[\the\insert@count][}}% \next% \ifnum\insert@count<1% - \led@err@EdtextWithoutFootnote% + \if@noneed@Footnote\else% + \led@err@EdtextWithoutFootnote% + \fi% \fi% \fi}% -\newcommand*{\flag@end}{% - \ifledRcol% - \write\linenum@outR{]}% - \else% - \write\linenum@out{]}% - \fi}% \newcommand*{\page@start}{} \newcommand*{\startsub}{\dimen0\lastskip @@ -866,8 +866,16 @@ \flag@end}% {\if@RTL\flag@start\else\flag@end\fi% With polyglossia, you must track whether the language reads left to right (English) or right to left (Arabic). }% + \global\@noneed@Footnotefalse% } +\newcommand*{\flag@end}{% + \ifledRcol% + \write\linenum@outR{]}% + \else% + \write\linenum@out{]}% + \fi}% + \newif\ifnumberline \numberlinetrue \newcommand*{\set@line}{% @@ -2525,6 +2533,7 @@ \footnormalX{#1} \global\expandafter\newcommand\csname #1endnote\endcsname[2]{{\newlinechar='40 + \global\@noneed@Footnotetrue% \newcommand{\content}{##1}% \immediate\write\l@d@end{\expandafter\string\csname #1end\endcsname% {\ifnumberedpar@\l@d@nums\fi}% |