summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/eledmac/eledmac.sty')
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledmac.sty101
1 files changed, 55 insertions, 46 deletions
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
index 815165548b2..3db143e93d6 100644
--- a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
+++ b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
@@ -24,7 +24,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledmac}[2013/10/09 v1.6.0 LaTeX port of EDMAC]
+\ProvidesPackage{eledmac}[2013/10/27 v1.6.1 LaTeX port of EDMAC]
\newif\ifledfinal
\newif\ifparapparatus@
\newif\ifnoquotation@
@@ -901,53 +901,62 @@
\numberpstartfalse
\newif\iflabelpstart
\labelpstartfalse
-\newcommand*{\pstart}{
-\if@nobreak
-\let\@oldnobreak\@nobreaktrue
-\else
-\let\@oldnobreak\@nobreakfalse
-\fi
-\@nobreaktrue
-\ifnumbering \else
- \led@err@PstartNotNumbered
- \beginnumbering
- \fi
- \ifnumberedpar@
- \led@err@PstartInPstart
- \pend
- \fi
+\newcommand*{\pstart}{%
+\if@nobreak%
+ \let\@oldnobreak\@nobreaktrue%
+\else%
+ \let\@oldnobreak\@nobreakfalse%
+\fi%
+\@nobreaktrue%
+\ifnumbering \else%
+ \led@err@PstartNotNumbered%
+ \beginnumbering%
+ \fi%
+ \ifnumberedpar@%
+ \led@err@PstartInPstart%
+ \pend%
+ \fi%
\list@clear{\inserts@list}%
- \global\let\next@insert=\empty
- \begingroup\normal@pars
- \global\setbox\raw@text=\vbox\bgroup\ifautopar\else\ifnumberpstart\ifinstanza\else\ifsidepstartnum\else\thepstart\fi\fi\fi\fi
- \numberedpar@true
- \iflabelpstart\protected@edef\@currentlabel
- {\p@pstart\thepstart}\fi
+ \global\let\next@insert=\empty%
+ \begingroup\normal@pars%
+ \global\setbox\raw@text=\vbox\bgroup%
+ \ifautopar\else%
+ \ifnumberpstart%
+ \ifinstanza\else%
+ \ifsidepstartnum\else%
+ \thepstart%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \numberedpar@true%
+ \iflabelpstart\protected@edef\@currentlabel%
+ {\p@pstart\thepstart}\fi%
}
-\newcommand*{\pend}{\ifnumbering \else
- \led@err@PendNotNumbered
- \fi
- \ifnumberedpar@ \else
- \led@err@PendNoPstart
- \fi
- \l@dzeropenalties
- \endgraf\global\num@lines=\prevgraf\egroup
- \global\par@line=0
- \csnumdef{pstartline}{0}
- \loop\ifvbox\raw@text
+\newcommand*{\pend}{\ifnumbering \else%
+ \led@err@PendNotNumbered%
+ \fi%
+ \ifnumberedpar@ \else%
+ \led@err@PendNoPstart%
+ \fi%
+ \l@dzeropenalties%
+ \endgraf\global\num@lines=\prevgraf\egroup%
+ \global\par@line=0%
+ \csnumdef{pstartline}{0}%
+ \loop\ifvbox\raw@text%
\csnumdef{pstartline}{\pstartline+1}%
- \do@line
+ \do@line%
\ifbypstart@%
\ifnumequal{\pstartline}{1}{\setline{1}\resetprevline@}{}%
- \fi
- \repeat
- \flush@notes
- \endgroup
- \ignorespaces
- \ifnumberpstart
- \pstartnumtrue
- \fi
- \@oldnobreak
+ \fi%
+ \repeat%
+ \flush@notes%
+ \endgroup%
+ \ignorespaces%
+ \ifnumberpstart%
+ \pstartnumtrue%
+ \fi%
+ \@oldnobreak%
\addtocounter{pstart}{1}}
\newcommand*{\l@dzeropenalties}{%
@@ -993,9 +1002,9 @@
\fi
\affixline@num
\affixpstart@num
- \hb@xt@ \linewidth{\do@insidelinehook\inserthangingsymbol\l@dld@ta\add@inserts\affixside@note
+ \hb@xt@ \linewidth{\do@insidelinehook\l@dld@ta\add@inserts\affixside@note
\l@dlsn@te
- {\ledllfill\hb@xt@ \wd\one@line{\new@line\l@dunhbox@line{\one@line}}\ledrlfill\l@drd@ta%
+ {\ledllfill\hb@xt@ \wd\one@line{\new@line\inserthangingsymbol\l@dunhbox@line{\one@line}}\ledrlfill\l@drd@ta%
\l@drsn@te
}}}%
\newcommand*{\do@linehook}{}
@@ -3213,7 +3222,7 @@
\newcommand{\inserthangingsymbol}{%
\ifinserthangingsymbol%
\ifinstanza%
- \hfill\hangingsymbol%
+ \hangingsymbol%
\fi%
\fi%
}