summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/eledmac/eledpar.dtx')
-rw-r--r--Master/texmf-dist/source/latex/eledmac/eledpar.dtx37
1 files changed, 25 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/eledmac/eledpar.dtx b/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
index bcee41d4e4c..83fa97d288c 100644
--- a/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
+++ b/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
@@ -51,7 +51,7 @@
%
% \fi
%
-% \CheckSum{3904}
+% \CheckSum{3928}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -117,7 +117,7 @@
%
% \newcommand{\dtxfilename}{\texttt{eledpar.dtx}}
% \GetFileInfo{eledpar.sty}
-% ^^A Have the changes in the right order : see http://tex.stackexchange.com/a/74113/7712
+% ^^A Put changes in the right order : see http://tex.stackexchange.com/a/74113/7712
%\makeatletter
% \let\org@changes@\changes@
% \def\my@changes v#1.#2#3\@nil{%
@@ -718,7 +718,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledpar}[2012/11/01 v1.2.1 eledmac extension for parallel texts]
+\ProvidesPackage{eledpar}[2012/11/16 v1.3 eledmac extension for parallel texts]
% \end{macrocode}
% With the option `shiftedpstarts' a long pstart one the left side (or in the right side) don't make a blank on the corresponding pstart, but the blank is put on the bottom of the page. Consequently, the pstarts on the parallel pages are shifted, but the shifted stop at every end of pages.
@@ -925,9 +925,8 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\initnumbering@sectcountR}
-% \changes{v1.2.1}{2012/11/01}{The counter of the right section are define only one time.}
-% For we want the numbering of the section commands in the right side to be not continous
-% with the numbering of the rightside
+% \changes{v1.2.1}{2012/11/01}{For the right section, the counter is defined only once.}
+% We don't want the numbering of the right-side section commands to be continuous with the numbering of the left side,
% we switch the \LaTeX\ counter in \cs{numberingR}.
% \begin{macrocode}
\newcounter{chapterR}
@@ -2058,7 +2057,7 @@
% \edtext{#1}{#2}
% \end{verbatim}
%
-%
+% \changes{v1.3}{2012/11/16}{Manage RTL language.}
% \begin{macro}{\critext}
% Now we begin \cs{critext} itself.
%
@@ -2073,7 +2072,10 @@
\ifledRcol \global\insert@countR \z@
\else \global\insert@count \z@ \fi
\ignorespaces #2\relax
- \flag@start
+ \@ifundefined{xpg@main@language}{%if not polyglossia
+ \flag@start}%
+ {\if@RTL\flag@end\else\flag@start\fi% be careful on the direction of writing with polyglossia
+ }%
\endgroup
\showlemma{#1}%
\ifx\end@lemmas\empty \else
@@ -2081,7 +2083,11 @@
\x@lemma
\global\let\x@lemma=\relax
\fi
- \flag@end}
+ \@ifundefined{xpg@main@language}{%if not polyglossia
+ \flag@end}%
+ {\if@RTL\flag@start\else\flag@end\fi% be careful on the direction of writing with polyglossia
+ }
+ }
% \end{macrocode}
% \end{macro}
%
@@ -2095,7 +2101,10 @@
\ifledRcol \global\insert@countR \z@
\else \global\insert@count \z@ \fi
\ignorespaces #2\relax
- \flag@start
+ \@ifundefined{xpg@main@language}{%if not polyglossia
+ \flag@start}%
+ {\if@RTL\flag@end\else\flag@start\fi% be careful on the direction of writing with polyglossia
+ }%
\endgroup
\showlemma{#1}%
\ifx\end@lemmas\empty \else
@@ -2103,7 +2112,11 @@
\x@lemma
\global\let\x@lemma=\relax
\fi
- \flag@end}
+ \@ifundefined{xpg@main@language}{%if not polyglossia
+ \flag@end}%
+ {\if@RTL\flag@start\else\flag@end\fi% be careful on the direction of writing with polyglossia
+ }
+}
% \end{macrocode}
% \end{macro}
@@ -2311,7 +2324,7 @@
% \begin{macro}{\pstartL}
% \begin{macro}{\pstartR}
% changes{v1.1}{2012/09/25}{Add \cs{labelpstarttrue} (from eledmac).}
-% changes{v1.1.1}{2012/10/01}{Correct \cs{pstartR} of bug introduced by 1.1.}
+% changes{v1.1.1}{2012/10/01}{Correct \cs{pstartR} bug introduced by 1.1.}
% \cs{pstart} starts the paragraph by
% clearing the \cs{inserts@list} list and other
% relevant variables, and then arranges for the