summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eledmac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-12 22:36:56 +0000
committerKarl Berry <karl@freefriends.org>2014-09-12 22:36:56 +0000
commit892d45439f1e0dc5132527cf616984b1f640643f (patch)
tree4e83588a8e74b995d9e5c2905e8c4cb57566b7b5 /Master/texmf-dist/tex/latex/eledmac
parent36889e093f11a778300205a25efea334b6942c7b (diff)
eledmac (12sep14)
git-svn-id: svn://tug.org/texlive/trunk@35158 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eledmac')
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledmac.sty27
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}%