From 892d45439f1e0dc5132527cf616984b1f640643f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Sep 2014 22:36:56 +0000 Subject: eledmac (12sep14) git-svn-id: svn://tug.org/texlive/trunk@35158 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/eledmac/eledmac.sty | 27 ++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex/eledmac') 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}% -- cgit v1.2.3