summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-14 22:04:15 +0000
committerKarl Berry <karl@freefriends.org>2014-08-14 22:04:15 +0000
commit6390fb977ecb8974cd83582aee6ef5cfd273b8ab (patch)
tree9fe960a14df89e3cdcedf0ddd4a4335ef11272cc /Master/texmf-dist
parent3cff191286e3cb279c738c8a68cec641bb61effd (diff)
eledmac (14aug14)
git-svn-id: svn://tug.org/texlive/trunk@34935 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/eledmac.pdfbin936407 -> 941943 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/eledpar.pdfbin508445 -> 508966 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.pdfbin21174 -> 21171 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.tex2
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/cross-referencing.pdfbin16306 -> 16306 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/indexing.pdfbin19893 -> 19895 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.pdfbin0 -> 31487 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.tex72
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/minimal-parallels.pdfbin12221 -> 12221 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/minimal-verses.pdfbin17124 -> 17125 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.pdfbin24829 -> 24787 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.tex4
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/sections-not-in-line-numbering.pdfbin17150 -> 17148 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/sections-parallel-not-in-line-numbering.pdfbin22220 -> 22218 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-columns.pdfbin29013 -> 29012 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-pages.pdfbin31790 -> 31785 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.pdfbin22789 -> 22784 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/side-notes.pdfbin20233 -> 20121 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/spaces-around-footnote-rule.pdfbin20763 -> 20762 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/tabular.pdfbin0 -> 20672 bytes
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/tabular.tex62
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/examples/text-between-verses-in-parallel.pdfbin16238 -> 16238 bytes
-rw-r--r--Master/texmf-dist/source/latex/eledmac/eledmac.dtx325
-rw-r--r--Master/texmf-dist/source/latex/eledmac/eledpar.dtx86
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledmac.sty217
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledpar.sty49
26 files changed, 626 insertions, 191 deletions
diff --git a/Master/texmf-dist/doc/latex/eledmac/eledmac.pdf b/Master/texmf-dist/doc/latex/eledmac/eledmac.pdf
index 2118697d5d0..e2866b55a89 100644
--- a/Master/texmf-dist/doc/latex/eledmac/eledmac.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/eledmac.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/eledpar.pdf b/Master/texmf-dist/doc/latex/eledmac/eledpar.pdf
index 1edacbfd269..6a6c7d61792 100644
--- a/Master/texmf-dist/doc/latex/eledmac/eledpar.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/eledpar.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.pdf
index 2a8bf54a73d..8c2cded065b 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.tex b/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.tex
index 1154556631a..a1c78fcb33f 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.tex
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/columns-alignment.tex
@@ -18,7 +18,7 @@
\date{}
\maketitle
\begin{abstract}
-This file provide example of setting the alignment of \verb+\Columns+ on the page: right (default), left or center.
+This file provides example of setting the alignment of \verb+\Columns+ on the page: right (default), left or center.
The column are 0.44\verb+\textwidth+, and we use \verb+\columnsposition+.
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/cross-referencing.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/cross-referencing.pdf
index 2c46aa97262..fa2ab378581 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/cross-referencing.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/cross-referencing.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/indexing.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/indexing.pdf
index 83189071132..ec2398a5e47 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/indexing.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/indexing.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.pdf
new file mode 100644
index 00000000000..28bb51dad12
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.tex b/Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.tex
new file mode 100644
index 00000000000..1817455d833
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/line-numbers-in-header.tex
@@ -0,0 +1,72 @@
+\documentclass[]{article}
+\usepackage{fontspec}
+\usepackage{libertineotf}
+\usepackage{polyglossia}
+\setmainlanguage{latin}
+\setotherlanguage{english}
+
+% CONFIG FANCYHDR TO SHOW LEFT/RIGHT MARKS IN HEADERS
+\usepackage{fancyhdr}
+\pagestyle{fancy}
+\fancyhead[LE,LO]{\rightmark}
+\fancyhead[RO,RE]{\leftmark}
+
+
+% CONFIG ELEDMAC TO ADD LINE NUMBER AS LEFT/RIGHT MARKS
+\usepackage{eledmac}
+\makeatletter
+\renewcommand{\do@insidelinehook}{\markboth{\the\line@num}{\the\line@num}}
+\makeatother
+
+\begin{document}
+
+\begin{english}
+\title{Line numbers in headers}
+\maketitle
+\begin{abstract}
+This file provides examples of code to add line numbers in headers.
+
+We use the \LaTeX\ mark system and the \emph{fancyhdr} package.
+We redefine the \verb+do@insidelinehook+ macro, where we add the line number to the \LaTeX\ marks\footnote{Read the \emph{fancyhdr} handbook to understand how \LaTeX\ marks work, especially §~9.}. As we manipulate commands with \verb+@+, we have to use \verb+\makeatletter+.
+
+\end{abstract}
+\end{english}
+
+
+\beginnumbering
+\autopar
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris dapibus scelerisque imperdiet. Aliquam gravida elementum enim facilisis tincidunt. Quisque tempus venenatis velit, ut vestibulum nibh rutrum id. Proin pretium volutpat erat, in faucibus eros tempus sed. Fusce malesuada, sapien et commodo congue, tellus magna interdum purus, a varius arcu odio facilisis lectus. Nullam metus odio, ullamcorper at neque et, consequat interdum sapien. Pellentesque volutpat risus augue, non commodo augue hendrerit eget. Fusce tincidunt tincidunt ultricies. Praesent ut dui non nulla gravida dignissim ac sed velit. Ut porta rutrum diam, eu pellentesque felis tincidunt quis. Donec eget porta dolor. In hac habitasse platea dictumst. Suspendisse mauris lorem, convallis vitae congue at, ultricies nec nulla. Sed in mi mi.
+
+Nullam vel nisi ut lacus luctus malesuada ut vitae lectus. Donec sed mauris aliquet, congue est sed, tincidunt nulla. Ut malesuada, urna vitae luctus volutpat, nulla mauris tincidunt nibh, nec malesuada justo ipsum tempor justo. Donec a laoreet sem. Mauris ut ligula a ipsum tincidunt scelerisque lobortis et enim. Maecenas bibendum elit ut nulla adipiscing commodo. Integer a bibendum sapien. Cras nec sagittis erat, eget dignissim nulla. Etiam vitae feugiat purus, eu mollis eros. Cras non eros id lorem venenatis elementum sit amet et ipsum. Suspendisse a nibh in massa tincidunt varius et eget urna. Nullam sem arcu, pulvinar sed enim non, vulputate pellentesque sem. Quisque vestibulum iaculis laoreet. Integer lacinia eros eget eros elementum, consequat hendrerit urna viverra. Curabitur sem velit, congue nec mi quis, dictum accumsan nisi.
+
+Morbi quis interdum velit. Duis pretium velit magna, eu bibendum diam lacinia sit amet. Donec leo lorem, suscipit vitae eros et, tristique viverra orci. Aenean sed pharetra quam, et imperdiet eros. Nullam eget magna ut odio sodales sagittis eget in tortor. Nunc ac molestie quam. Fusce vitae risus ut lectus tempus facilisis vel vel est. Suspendisse lorem urna, tristique at lectus ut, commodo semper orci. Sed aliquet malesuada justo. Mauris condimentum urna semper lacus sagittis, nec cursus leo cursus. Etiam suscipit sem et nulla lacinia ultricies. Sed a magna viverra, varius magna nec, dignissim nibh. Proin faucibus sem sed risus consequat, non dignissim tortor viverra.
+
+Proin dignissim est et dui venenatis, at tincidunt tortor dignissim. Aenean viverra ante mauris. Praesent interdum nibh vitae purus scelerisque suscipit. Aliquam porta, turpis a rutrum condimentum, nulla libero consectetur ligula, a viverra nisi justo sed tellus. Phasellus adipiscing turpis in varius consequat. Phasellus lorem justo, porttitor sit amet malesuada venenatis, fermentum quis libero. Fusce placerat, tellus viverra sodales suscipit, enim leo semper lorem, vel ullamcorper ipsum est nec massa. Curabitur purus tortor, vehicula at augue id, semper rutrum tortor. Nulla facilisi. Suspendisse nulla ligula, posuere nec commodo a, consectetur in magna.
+
+Vivamus pellentesque mauris et leo pharetra dignissim eget vel justo. Suspendisse potenti. Nunc consectetur velit in accumsan tempor. Cras feugiat tempor ligula, ut aliquet dui placerat quis. Nullam adipiscing lorem blandit lacus interdum faucibus. Sed blandit augue magna, tincidunt luctus velit elementum eget. Nulla eu faucibus est, sit amet laoreet tellus. Suspendisse aliquam arcu in tortor condimentum, sit amet bibendum eros dictum. Suspendisse at commodo nunc. Nullam elementum dolor non interdum commodo. Phasellus tristique mauris sed orci pulvinar, et faucibus purus mollis. Suspendisse potenti.
+
+Integer eleifend risus non felis tincidunt lacinia. Suspendisse tortor risus, ullamcorper at justo quis, scelerisque dapibus nunc. Nunc placerat nunc sed enim tempor congue ac ut ipsum. Morbi quis dui id neque scelerisque volutpat eu eu est. Vestibulum mollis aliquet orci, in pellentesque risus varius a. Nullam tempus lectus sit amet orci malesuada, nec facilisis nibh congue. Sed felis nibh, elementum non tempus quis, aliquet at felis.
+
+Curabitur cursus arcu a quam ornare vehicula. Aenean eleifend auctor velit, id elementum urna pretium quis. Nam facilisis sem lorem, quis dictum urna suscipit eu. Nam malesuada nulla quis eleifend pretium. Curabitur id nisl diam. Ut viverra sit amet massa id lobortis. Pellentesque egestas eros ac mauris faucibus, at condimentum lacus porta. Proin et pulvinar augue. Mauris eu pretium eros. Mauris tempor quam non enim gravida tempor. Cras ultricies condimentum pellentesque. Curabitur nec arcu ac turpis dignissim venenatis tristique nec risus. Morbi magna augue, ultricies ut est ac, scelerisque imperdiet diam. Vivamus ultricies sagittis consectetur. Proin tincidunt diam vitae luctus vestibulum. Aliquam gravida tortor at neque egestas varius.
+
+Nullam ac porta felis, a vestibulum nunc. Suspendisse nisl leo, tincidunt eu porttitor non, lobortis sed tellus. Mauris consectetur varius hendrerit. Integer dapibus purus non arcu sollicitudin rhoncus ac quis tortor. Suspendisse ullamcorper nec ligula non pulvinar. Nulla tempus aliquam arcu sed molestie. Fusce suscipit, tellus quis ultrices rhoncus, lectus ipsum ullamcorper odio, nec vestibulum nibh nisl vel tortor.
+
+Pellentesque augue massa, accumsan nec nibh non, semper vehicula magna. Quisque a diam id tortor consequat facilisis. Pellentesque viverra magna at nulla ullamcorper, at porttitor leo laoreet. Suspendisse tincidunt consectetur tristique. Aenean ultrices lectus vel volutpat rhoncus. Integer adipiscing metus sem, eu congue sapien lacinia ac. Nunc dignissim erat sem, ac consectetur augue luctus ac. Nunc non varius tortor, id dignissim leo. Cras eu dapibus risus. In ut ipsum in odio semper eleifend quis quis turpis. Donec dui ipsum, congue at pretium eget, mollis non libero. Integer imperdiet purus eu velit scelerisque, cursus lacinia orci vulputate. In lectus lectus, cursus at placerat a, semper in purus. Duis iaculis dolor turpis, in eleifend ipsum feugiat eget.
+
+Nam ut nisi sed eros tempus tempor et quis urna. Quisque sed ornare augue. Duis molestie consequat sagittis. Aliquam congue, enim et auctor dignissim, neque libero tincidunt libero, eget sagittis tortor urna vitae ligula. Aliquam erat volutpat. Curabitur nisi nisl, aliquet at massa a, tincidunt interdum justo. Ut ornare volutpat dictum. Donec neque erat, ullamcorper et ligula in, tincidunt consectetur sapien. Vestibulum scelerisque id justo quis porta. Sed non ornare dolor. Integer id tincidunt leo. Nam turpis mi, laoreet non commodo id, mollis id quam.
+
+Cras augue dolor, rhoncus ullamcorper diam vitae, euismod laoreet felis. Quisque eget elit varius, luctus lacus a, auctor nunc. Nulla non porttitor leo. Nullam tincidunt, justo ac consectetur fringilla, neque metus vehicula purus, sit amet mattis est enim vitae orci. In sit amet metus metus. Etiam commodo interdum porttitor. Nulla nec tempor felis, ac pellentesque arcu. Duis ultrices nunc convallis, malesuada lorem a, interdum tortor. Duis ultricies, lectus a ultricies rhoncus, velit elit porta nunc, et dapibus sapien ante at tortor. Integer odio urna, aliquam nec pharetra et, accumsan id nisl. Ut mattis, velit sagittis semper malesuada, elit lectus vulputate magna, sit amet luctus sem risus vel justo. Pellentesque vitae commodo leo.
+
+Proin sed ipsum quam. Vestibulum nec iaculis ante. Donec et euismod mi, at tristique magna. Ut quis viverra urna. Cras ultricies, metus id tempor dapibus, libero velit vestibulum leo, a fringilla nibh lectus eu ante. Etiam dapibus mi non dolor feugiat, non congue ipsum commodo. Etiam justo libero, aliquam eu suscipit sit amet, convallis at leo. Phasellus vitae lacus et nulla consequat semper a eu risus.
+
+Mauris vitae lorem faucibus nibh tincidunt rutrum. Nunc quis luctus augue, eget malesuada metus. Morbi tellus odio, rutrum eget nulla congue, suscipit convallis nunc. Aenean congue non massa id sodales. Curabitur interdum eleifend adipiscing. Nulla suscipit imperdiet diam quis convallis. Curabitur sem lectus, pharetra et sapien nec, tempor interdum orci. Nam eu hendrerit tellus. In iaculis sed turpis nec sagittis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean faucibus dui non neque facilisis, eget feugiat ante rhoncus. Donec hendrerit tempus neque, eu fringilla magna volutpat accumsan. Vestibulum viverra, metus eu tempor hendrerit, justo enim rutrum risus, sit amet tincidunt odio lectus quis mi.
+
+Vivamus vitae augue metus. Curabitur lacinia pulvinar lorem, a dictum velit euismod ut. Mauris non posuere ligula. Quisque vitae felis non odio condimentum adipiscing. Integer sed porttitor ligula, a pharetra turpis. Praesent fermentum malesuada lectus vel gravida. Sed convallis sem et posuere iaculis. Integer auctor tortor aliquam, adipiscing ante condimentum, condimentum sapien. Aenean hendrerit elementum convallis. Integer vel elit accumsan, eleifend nisi at, commodo eros. Sed vitae felis at augue sagittis tempus. Sed volutpat erat vitae orci vestibulum convallis a porttitor justo. Cras sem diam, viverra et pulvinar vel, ornare nec lectus.
+
+Integer id enim vitae purus dignissim iaculis a vitae nulla. Nullam fermentum est a tincidunt tristique. Curabitur luctus arcu quis nisl porta congue. Pellentesque nec ornare justo, eu mattis mi. Sed eget dolor elementum, condimentum massa non, fermentum nulla. Quisque magna justo, pulvinar sed sollicitudin a, hendrerit sed massa. Proin vel pretium augue, vel pharetra enim. Sed ut sapien aliquet, tempor tortor sit amet, fermentum est. Maecenas congue pharetra malesuada. Pellentesque condimentum dolor in aliquet volutpat. Mauris purus lectus, cursus id quam eget, tincidunt ornare sem. Nulla facilisi. Pellentesque placerat in leo vitae tincidunt. Nulla posuere, ligula quis tempus dignissim, enim elit vulputate mauris, nec placerat eros mi eu neque.
+
+Aenean interdum fringilla nisi. Sed sagittis erat ac sapien imperdiet viverra. Donec ut rhoncus turpis, eget mattis risus. Cras consequat mauris quis ipsum malesuada ullamcorper. Nam viverra lobortis turpis. Nulla eget fermentum lorem. Pellentesque eu libero vitae enim tempus eleifend et id augue. Vestibulum vehicula vitae quam et tristique.
+
+\endnumbering
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/minimal-parallels.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/minimal-parallels.pdf
index 7fe71185ad5..753162b9953 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/minimal-parallels.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/minimal-parallels.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/minimal-verses.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/minimal-verses.pdf
index 43bc51a35f6..ce116f74804 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/minimal-verses.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/minimal-verses.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.pdf
index c4b383c2e6c..d8d71f54dd4 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.tex b/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.tex
index d1080316848..1cfd8f5054c 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.tex
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/parallel-column-two-languages.tex
@@ -28,12 +28,12 @@
{\let\newpage\relax\maketitle}
{\small
-This file provides example of typesetting parallel columns in two different language, using eledpar and polyglossia.
+This file provides an example of typesetting parallel columns in two different languages, using eledpar and polyglossia.
The main language is English. The left column is in Russian, the right column in Hebrew.
We have enlarged \verb+\Lcolwidth+ and \verb+\Rcolwidth+ to avoid problem with hyphenations.
-We also used \verb+\eledchapter+, which implies that chapters' titles are printed with line numbering beside.
+We also used \verb+\eledchapter+, which implies that chapter titles are printed with accompanying line numbers.
}
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/sections-not-in-line-numbering.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/sections-not-in-line-numbering.pdf
index 9d6dd4fbb6d..7c7dcdcd63f 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/sections-not-in-line-numbering.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/sections-not-in-line-numbering.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/sections-parallel-not-in-line-numbering.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/sections-parallel-not-in-line-numbering.pdf
index 0d1ae06619e..478a1ad4354 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/sections-parallel-not-in-line-numbering.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/sections-parallel-not-in-line-numbering.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-columns.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-columns.pdf
index b0c4bf7f7f5..683c2783882 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-columns.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-columns.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-pages.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-pages.pdf
index 020021f0d9d..b0627567186 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-pages.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes-in-parallel-pages.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.pdf
index 11c34913ce0..f27e1468de6 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/sections-with-critical-notes.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/side-notes.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/side-notes.pdf
index 1c7de66e2b4..3a33d3796ea 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/side-notes.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/side-notes.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/spaces-around-footnote-rule.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/spaces-around-footnote-rule.pdf
index bc62ede3a92..db861a49c73 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/spaces-around-footnote-rule.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/spaces-around-footnote-rule.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/tabular.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/tabular.pdf
new file mode 100644
index 00000000000..0f683b69d37
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/tabular.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/tabular.tex b/Master/texmf-dist/doc/latex/eledmac/examples/tabular.tex
new file mode 100644
index 00000000000..c96cd971de3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/tabular.tex
@@ -0,0 +1,62 @@
+\documentclass{article}
+\usepackage{fontspec}
+\usepackage{libertineotf}
+\usepackage{polyglossia}
+\setmainlanguage{italian}
+\setotherlanguage{english}
+
+\usepackage{eledmac}
+\firstlinenum{1}
+\linenumincrement{1}%
+
+\begin{document}
+\begin{english}
+\title{Tabulars with eledmac}
+\maketitle
+\begin{abstract}
+This file provides example of using tabular environments with \emph{eledmac}.
+
+We use \verb+edtabularl+, \verb+edtabularc+ and \verb+edtabularr+, with marginal, critical and familiar notes. We also use optional arguments of \verb+\pstart+.
+\end{abstract}
+\end{english}
+
+
+\beginnumbering
+\pstart[\section{Left align}]
+\begin{edtabularl}
+linea prima & linea prima\ledouternote{sidenote l} \\
+linea secunda & linea secunda\footnoteA{familiar footnote A.} \\
+linea tertia & linea \edtext{tertia}{\Afootnote{critical note A}} \\
+linea quarta & linea \edtext{quarta}{\Bfootnote{critical note B}} \\
+linea quinta & linea quinta\footnoteB{familiar footnote B.} \\
+linea sexta & linea sexta
+\end{edtabularl}
+\pend
+
+\pstart[\section{Center align}]
+\begin{edtabularc}
+linea prima & linea prima\ledouternote{sidenote c} \\
+linea secunda & linea secunda\footnoteA{familiar footnote A.} \\
+linea tertia & linea \edtext{tertia}{\Afootnote{critical note A}} \\
+linea quarta & linea \edtext{quarta}{\Bfootnote{critical note B}} \\
+linea quinta & linea quinta\footnoteB{familiar footnote B.} \\
+linea sexta & linea sexta
+\end{edtabularc}
+\pend
+
+
+
+\pstart[\section{Right align}]
+\begin{edtabularr}
+linea prima & linea prima\ledouternote{sidenote r} \\
+linea secunda & linea secunda\footnoteA{familiar footnote A.} \\
+linea tertia & linea \edtext{tertia}{\Afootnote{critical note A}} \\
+linea quarta & linea \edtext{quarta}{\Bfootnote{critical note B}} \\
+linea quinta & linea quinta\footnoteB{familiar footnote B.} \\
+linea sexta & linea sexta
+\end{edtabularr}
+\pend
+
+\endnumbering
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/text-between-verses-in-parallel.pdf b/Master/texmf-dist/doc/latex/eledmac/examples/text-between-verses-in-parallel.pdf
index 5cdef0e7c5a..798798bc42f 100644
--- a/Master/texmf-dist/doc/latex/eledmac/examples/text-between-verses-in-parallel.pdf
+++ b/Master/texmf-dist/doc/latex/eledmac/examples/text-between-verses-in-parallel.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
index 92ece9ba6e0..ebbe1f397f7 100644
--- a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
+++ b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
@@ -51,7 +51,7 @@
%
% \fi
%
-% \CheckSum{9906}
+% \CheckSum{10051}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -202,6 +202,10 @@
% \changes{v1.11.1}{2014/05/29}{Correct a bug when a critical note starts with plus or minus.}
% \changes{v1.12.0}{2014/08/05}{Compatibility with \Lpack{musixtex}.}
% \changes{v1.12.0}{2014/08/05}{Debug eledmac sectioning command after using \cs{resumenumbering}.}
+% \changes{v1.12.3}{2014/08/15}{Underline lemma in \cs{eledxxx} when using draft mode.}
+% \changes{v1.12.3}{2014/08/15}{Correct bug with side and familiar notes in tabular environments.}
+% \changes{v1.12.3}{2014/08/15}{Debug left and side note (bugs added by 1.8.0)}
+% \changes{v1.12.3}{2014/08/15}{Debug \cs{eledxxx} with some paper size}
% \hyphenation{man-u-script man-u-scripts}
%
%
@@ -297,7 +301,7 @@
% \Lpack{poemscol} for poetical works.
%
% \Lpack{eledmac} provides many tools and options. Normally, they are all documented in this file.
-% However, to help people, a ``\href{examples/.}{examples}'' folder is provided, with example for some needs, but not for all.
+% Also provided is a help folder, ``\href{examples/.}{examples}''. The folder contains additional examples (although not for all cases)
%
% To report bugs, please go to ledmac's GitHub page and click ``New Issue'': \url{https://github.com/maieul/ledmac/issues/}. You must open an account with github.com to access my page (maieul/ledmac). GitHub accounts are free for open-source users. You can report bugs in English or in French (better).
%
@@ -683,9 +687,10 @@
% begins again.\par}
% \egend
%
-% \changes{v1.12.0}{2014/08/05}{Optional arguments for \cs{pstart} and \cs{pend}.}
+% \changes{v1.12.0}{2014/08/05}{Optional arguments for \cs{pstart} and \cs{pend}.}\label{pstart:optionalarg}
% Both \cs{pstart} and \cs{pend} can take a optional argument, in brackets.
% Its content will be printed before the beginning of the \cs{pstart} / after the end of the \cs{pend}.
+% If you need to start a \cs{pstart} by brackets, or to add brackets after a \cs{pend}, just add a \cs{\relax} between \cs{pstart}/\cs{pend} and the brackets.
%
% This feature is not needed for normal use of \Lpack{eledmac}, but it is needed when using verse (see~\ref{verse} p.~\pageref{verse}) or \Lpack{eledpar} (see~\ref{eledpar} p.~\pageref{eledpar}).
%
@@ -1389,7 +1394,7 @@
% \DescribeMacro{\parafootsep}
% For paragraphed footnotes (see below), you can chooce the separator between each note by \cs{parafootsep}\oarg{s}\marg{l}. A common separator is a double pipe (\verb+$||$+), which you can set by \cs{parafootsep}\verb+{$||$}+.
%
-% \changes{v1.12.0}{2014/08/05}{New options to ragg paragraphed notes.}
+% \changes{v1.12.0}{2014/08/05}{New options for ragged-paragraph notes}
% \DescribeMacro{\Xragged}
% Text in paragraphed critical notes is justified, but you can use \cs{Xragged}\oarg{s}+{L}+ if you want it to be ragged left, or \cs{Xragged}\oarg{s}+{R} if you want it to be ragged right.
@@ -1405,7 +1410,7 @@
% You can change the vertical space printed before the rule of the critical notes with \cs{beforeXnotes}\oarg{s}\marg{l}.
% The default value is \verb|1.2em plus .6em minus .6em|.
%
-% \textbf{Be careful, the standard \LaTeX\ footnote rule, which is used by \Lpack{eledmac}, decreases 3pt. These 3pt are not changed by this command.}
+% \textbf{Be careful, the standard \LaTeX\ footnote rule, which is used by \Lpack{eledmac}, decreases by 3pt. This 3pt decrease is not changed by this command..}
% \DescribeMacro{\beforenotesX}
%
% You can change the vertical space printed before the rule of the familiar notes with \cs{beforenotesX}\oarg{s}\marg{l}.
@@ -1952,6 +1957,7 @@
% puts \meta{text} in the outer margin.
%
% \changes{v1.12.0}{2014/08/05}{Add \cs{ledinnernote} and \cs{ledouternote} commands.}
+% \changes{v1.12.3}{2014/08/15}{Debug \cs{ledinnernote} and \cs{ledouternote} commands in the top of pages.}
% \DescribeMacro{\ledleftnote}
% \DescribeMacro{\ledrightnote}
% \changes{v1.0}{2012/09/15}{Possibility to have commands in sidenotes.}
@@ -2832,7 +2838,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledmac}[2014/08/07 v1.12.2 LaTeX port of EDMAC]%
+\ProvidesPackage{eledmac}[2014/08/15 v1.12.3 LaTeX port of EDMAC]%
% \end{macrocode}
%
% Generally, these are the modifications to the original.
@@ -2966,6 +2972,7 @@
% All the messages are grouped here as macros. This saves TeX's memory
% when the same message is repeated and also lets them be edited easily.
% \changes{v0.7}{2005/02/21}{Made macros of all messages}
+% \changes{v1.12.3}{2012/08/15}{Add macros for new messages since v0.7}
%
% \begin{macro}{\eledmac@warning}
% Write a warning message.
@@ -2977,6 +2984,7 @@
% \begin{macro}{\eledmac@error}
% Write an error message.
% \changes{v0.2}{2003/07/25}{Added \cs{eledmac@error} and replaced error messages}
+% \changes{v1.12.3}{2014/08/15}{Replaced error messages}
% \begin{macrocode}
\newcommand{\eledmac@error}[2]{\PackageError{eledmac}{#1}{#2}}
% \end{macrocode}
@@ -3142,7 +3150,66 @@
\eledmac@warning{Undefined index file #1}}
% \end{macrocode}
% \end{macro}
-%
+% \begin{macro}{\led@warn@AddfootinsXobsolete}
+% \begin{macro}{\led@warn@Addfootinsobsolete}
+% \begin{macrocode}
+\newcommand{\led@warn@AddfootinsXObsolete}{%
+ \eledmac@warning{AddfootinsX is obsolete in eledmac 1.0. Use newseries instead.}%
+}%
+\newcommand{\led@warn@AddfootinsObsolete}{%
+ \eledmac@warning{Addfootins is obsolete in eledmac 1.0. Use newseries instead.}%
+}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\led@warn@SeriesStillExist}
+% \begin{macrocode}
+\newcommand{\led@warn@SeriesStillExist}[1]{%
+ \eledmac@warning{Series #1 is still existing !}%
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\led@err@ManySidenotes}
+% \begin{macro}{\led@err@ManyLeftnotes}
+% \begin{macro}{\led@err@ManyRightnotes}
+% \begin{macrocode}
+\newcommand{\led@err@ManySidenotes}{%
+ \ifledRcol@%
+ \eledmac@warning{\itemcount@\space sidenotes on line \the\line@numR\space p. \the\page@numR}%
+ \else%
+ \eledmac@warning{\itemcount@\space sidenotes on line \the\line@num\space p. \the\page@num}%
+ \fi%
+}%
+\newcommand{\led@err@ManyLeftnotes}{%
+ \ifledRcol@%
+ \eledmac@warning{\itemcount@\space leftnotes on line \the\line@numR\space p. \the\page@numR}%
+ \else%
+ \eledmac@warning{\itemcount@\space leftnotes on line \the\line@num\space p. \the\page@num}%
+ \fi%
+}%
+\newcommand{\led@err@ManyRightnotes}{%
+ \ifledRcol@%
+ \eledmac@warning{\itemcount@\space rightnotes on line \the\line@numR\space p. \the\page@numR}%
+ \else%
+ \eledmac@warning{\itemcount@\space rightnotes on line \the\line@num\space p. \the\page@num}%
+ \fi%
+}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\led@war@FalseverseDeprecated}
+% \begin{macro}{\led@war@ledxxxDeprecated}
+% \begin{macrocode}
+\newcommand{\led@war@FalseverseDeprecated}{%
+ \eledmac@warning{\string\falseverse\space deprecated. Look at \string\newverse\space instead.}%
+}%
+\newcommand{\led@war@ledxxxDeprecated}[1]{%
+ \eledmac@warning{\string\led#1\space deprecated. Look at \string\e#1 instead.}%
+}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
% \begin{macro}{\led@err@TooManyColumns}
% \begin{macro}{\led@err@UnequalColumns}
% \begin{macro}{\led@err@LowStartColumn}
@@ -3167,6 +3234,20 @@
% \end{macro}
% \end{macro}
%
+% \begin{macro}{\led@err@EdtextWithoutFootnote}
+% \begin{macrocode}
+\newcommand{\led@err@EdtextWithoutFootnote}{%
+ \eledmac@error{edtext without Xfootnote. Check syntaxis.}{\@ehd}%
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\led@error@ImakeidxAfterEledmac}
+% \begin{macrocode}
+\newcommand{\led@error@ImakeidxAfterEledmac}{%
+ \eledmac@error{Imakeidx must be loaded before eledmac.}{\@ehd}%
+}%
+% \end{macrocode}
+% \end{macro}
%
%
% \section{Sectioning commands}
@@ -4847,6 +4928,8 @@
%
% \begin{macro}{\flag@start}
% \begin{macro}{\flag@end}
+% \changes{v1.12.3}{2014/08/15}{\cs{flag@start} and \cs{flag@end} are now defined only one time for eledmac and eledpar}
+% \changes{v1.12.3}{2014/08/15}{\cs{flag@start} send a error message when a \cs{edtext} is done without insert (note)}
% We enclose a lemma marked by \cs{edtext} in
% \cs{flag@start} and \cs{flag@end}: these send the \cs{@ref}
% command to the line-list file. \cs{edtext} is responsible for
@@ -4854,10 +4937,28 @@
% actually gets done by the various footnote macros.
% \begin{macrocode}
\newcommand*{\flag@start}{%
- \edef\next{\write\linenum@out{%
+ \ifledRcol%
+ \edef\next{\write\linenum@outR{%
+ \string\@ref[\the\insert@countR][}}%
+ \next%
+ \ifnum\insert@countR<1%
+ \led@err@EdtextWithoutFootnote%
+ \fi%
+ \else%
+ \edef\next{\write\linenum@out{%
\string\@ref[\the\insert@count][}}%
- \next}
-\newcommand*{\flag@end}{\write\linenum@out{]}}
+ \next%
+ \ifnum\insert@count<1%
+ \led@err@EdtextWithoutFootnote%
+ \fi%
+ \fi}%
+
+\newcommand*{\flag@end}{%
+ \ifledRcol%
+ \write\linenum@outR{]}%
+ \else%
+ \write\linenum@out{]}%
+ \fi}%
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -5145,13 +5246,19 @@
% \end{macro}
%
% \begin{macro}{\dummy@edtext}
-% LaTeX users are not used to delimited arguments, so I provide
+% \LaTeX\ users are not used to delimited arguments, so we provide
% a \cs{edtext} macro as well.
% \begin{macrocode}
\newcommand{\dummy@edtext}[2]{#1}
% \end{macrocode}
% \end{macro}
-%
+%
+% \begin{macro}{\dummy@edtext@showlemma}
+% Some time, we want to obtain only the first argument of \cs{edtext}, while also wrapping it in \cs{showlemma}. For example, when printing a \cs{eledsection}.
+% \begin{macrocode}
+\newcommand{\dummy@edtext@showlemma}[2]{\showlemma{#1}}%
+% \end{macrocode}
+% \end{macro}
%
% We're going to need another macro that takes one argument and ignores
% it entirely. This is supplied by the LaTeX \cs{@gobble}\marg{arg}.
@@ -5755,7 +5862,7 @@
% The \cs{do@line} macro is called by \cs{pend} to
% do all the processing for a single line of text.
% \changes{v1.6.1}{2013/10/27}{Move the call to \cs{inserthangingsymbol} to allow use \cs{hfill} inside.}
-% \changes{v1.12.2}{2014/08/07}{Fix a bug with critical notes a the begining of a page, added by v12.0.0.}
+% \changes{v1.12.2}{2014/08/07}{Fix a bug with critical notes at the tops of pages (added by v12.0.0)}
% \begin{macrocode}
\newcommand*{\l@dunhbox@line}[1]{\unhbox #1}
\newcommand*{\do@line}{%
@@ -5775,7 +5882,7 @@
\check@pb@in@verse
\affixline@num
% \end{macrocode}
-% \changes{v1.12.0}{2014/08/05}{\cs{do@line} is splitted in more little commands.}
+% \changes{v1.12.0}{2014/08/05}{\cs{do@line} is split in more little commands.}
% Depending wether a sectioning command is called at this pstart or not
% we print sectioning command or normal line,
% \begin{macrocode}
@@ -5805,7 +5912,7 @@
% \begin{macro}{\print@eledsection}
% \cs{print@eledsection} to print sectioning command with line number.
% It sets the correct spacing, depending whether a sectioning command was called at previous \cs{pstart}, calls the sectioning command, prints the normal line outside of the paper, to be able to have critical footnotes.
-% Because of this printing, a vertical spacing correction is added.
+% Because of how this prints, a vertical spacing correction is added.
% \begin{macrocode}
\def\print@eledsection{%
\add@inserts\affixside@note%
@@ -5816,10 +5923,10 @@
\@eled@sectioningfalse%
\global\csundef{eled@sectioning@\the\l@dnumpstartsL}%
\if@RTL%
- \hspace{-\paperwidth}%
+ \hspace{-3\paperwidth}%
{\hbox{\l@dunhbox@line{\one@line}}\new@line}%
\else%
- \hspace{\paperwidth}%
+ \hspace{3\paperwidth}%
{\new@line \hbox{\l@dunhbox@line{\one@line}}}%
\fi%
\vskip-\baselineskip%
@@ -8755,7 +8862,7 @@
% Juste for backward compatibility: print a warning message.
% \begin{macrocode}
\newcommand*{\addfootinsX}[1]{%
- \eledmac@warning{AddfootinsX is obsolete in eledmac 1.0. Use newseries instead.}%
+ \led@warn@AddfootinsXObsolete%
\footnormalX{#1}%
\g@addto@macro{\doxtrafeeti}{%
\setbox\@outputbox \vbox{%
@@ -8993,7 +9100,7 @@
% \end{macrocode}
% \subsection{Test if series is still existing}
% \begin{macrocode}
- \xifinlist{#1}{\@series}{\eledmac@warning{Series #1 is still existing !}}
+ \xifinlist{#1}{\@series}{\led@warn@SeriesStillExist{#1}}%
{%
% \end{macrocode}
% \subsection{Create all commands to memorize display options}
@@ -9236,7 +9343,7 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\newhookcommand@series}
-% \cs{newhookcommand@series}\cs{command names} is a generic command to add new commands for new commands hook, like \cs{hsizetwocol}.
+% \cs{newhookcommand@series}\cs{command names} is a generic command to add new commands for hooks, like \cs{hsizetwocol}.
% \begin{macrocode}
\newcommand{\newhookcommand@series}[1]{%
\global\expandafter\newcommand\expandafter*\csname #1\endcsname[2][]{\csuse{setcommand@series}{##1}{#1}{##2}}%
@@ -9312,11 +9419,11 @@
% \end{macrocode}
% \end{macro}
% \begin{macro}{\newhookcommand@series@reload}
-% \changes{v1.8.0}{2013/11/24}{Debug \cs{beforenotesX} and \cs{maxhnotesX} which did'nt work.}
-% \changes{v1.12.0}{2014/08/05}{Debug \cs{beforenotesX} and \cs{maxhnotesX} which did'nt work when called after \cs{footparagraphX}.}
-% \changes{v1.12.0}{2014/08/05}{Debug \cs{beforeXnotes} and \cs{maxhXnotes} which did'nt work when called after \cs{footparagraph}.}
+% \changes{v1.8.0}{2013/11/24}{Debug \cs{beforenotesX} and \cs{maxhnotesX} which didn't work.}
+% \changes{v1.12.0}{2014/08/05}{Debug \cs{beforenotesX} and \cs{maxhnotesX} which didn't work when called after \cs{footparagraphX}.}
+% \changes{v1.12.0}{2014/08/05}{Debug \cs{beforeXnotes} and \cs{maxhXnotes} which didn't work when called after \cs{footparagraph}.}
% \cs{newhookcommand@series@reload} does the same thing as \cs{newhookcommand@series}
-% but the commands created by this macro also reload the series displaying (normal, paragraph, twocol)
+% but the commands created by this macro also reload the series displaying (normal, paragraph, twocol, threecol).
% \begin{macrocode}
\newcommand{\newhookcommand@series@reload}[1]{%
\global\expandafter\newcommand\expandafter*\csname #1\endcsname[2][]{%
@@ -9795,7 +9902,7 @@
% \cs{addfootins} is for backward compatibility, but should'nt be used anymore.
% \begin{macrocode}
\newcommand*{\addfootins}[1]{%
- \eledmac@warning{addfootins is deprecated, use newseries instead}
+ \led@warn@AddfootinsObsolete%
\footnormal{#1}
\g@addto@macro{\@opxtrafeetii}{%
\ifvoid\@nameuse{#1footins}\else
@@ -9976,8 +10083,6 @@
\advancelabel@refs
\fi
\fi
-% \edef\next{\write\@aux{\string\l@dmake@labels\label@refs|{#1}}}%
-% \next}
% \end{macrocode}
% Use code from the kernel \cs{label} command to write the correct
% page number (it seems possible that the original \edmac's \cs{page@num}
@@ -10077,7 +10182,7 @@
% \end{macro}
% \begin{macro}{\wrap@edcrossref}
% \changes{v1.12.1}{2014/08/06}{Fix spurious spaces.}
-% \cs{wrap@edcrossref} is called around all eledmac crossref command, except those which start by x. It adds the hyperlink.
+% \cs{wrap@edcrossref} is called around all eledmac crossref commands, except those which start with x. It adds the hyperlink.
% \begin{macrocode}
\newcommand{\wrap@edcrossref}[2]{%
\ifdef{\hyperlink}%
@@ -10395,7 +10500,7 @@
\newcommand*{\ledrightnote}[1]{\edtext{}{\l@drsnote{#1}}}
\newcommand*{\ledinnernote}[1]{%
- \ifodd\page@num%
+ \ifodd\c@page% Do not use \page@num, because not yet calculated when command is called
\ledleftnote{#1}%
\else%
\ledrightnote{#1}%
@@ -10403,7 +10508,7 @@
}
\newcommand*{\ledouternote}[1]{%
- \ifodd\page@num%
+ \ifodd\c@page% Do not use \page@num, because not yet calculated when command is called
\ledrightnote{#1}%
\else%
\ledleftnote{#1}%
@@ -10590,22 +10695,23 @@
% \begin{macrocode}
\newcommand*{\affixside@note}{%
\def\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\def\do##1{%
\ifnumequal{\itemcount@}{0}%
{%
\appto\sidenotecontent@{##1}}% Not print not separator before the 1st note
{\appto\sidenotecontent@{\sidenotesep ##1}%
}%
- \numdef{\itemcount@}{\itemcount@+1}%
+ \numgdef{\itemcount@}{\itemcount@+1}%
}%
\dolistloop{\l@dcsnotetext}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space sidenotes on line \the\line@num\space p. \the\page@num,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManySidenotes}{}%
% \end{macrocode}
% And we do the same for left and right notes (not movable).
% \begin{macrocode}
\gdef\@templ@d{}%
- \ifx\@templ@d\l@dcsnotetext \else%
+ \gdef\@templ@n{\l@dcsnotetext\l@dcsnotetext@l\l@dcsnotetext@r}%
+ \ifx\@templ@d\@templ@n \else%
\if@twocolumn%
\if@firstcolumn%
\setl@dlp@rbox{##1}{\sidenotecontent@}%
@@ -10620,16 +10726,16 @@
\ifodd\@l@dtempcntb%
\setl@drp@rbox{\sidenotecontent@}%
\gdef\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@l}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space leftnotes on line \the\line@num\space p. \the\page@num,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyLeftnotes}{}%
\setl@dlp@rbox{\sidenotecontent@}%
\else%
\setl@dlp@rbox{\sidenotecontent@}%
\gdef\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@r}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space rightnotes on line \the\line@num\space p. \the\page@num,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyRightnotes}{}%
\setl@drp@rbox{\sidenotecontent@}%
\fi%
\fi%
@@ -10901,7 +11007,7 @@
\@ifpackageloaded{imakeidx}{\eledmac@after@imakeidx@true}{}
\AtBeginDocument{%
\ifeledmac@after@imakeidx@\else%
- \@ifpackageloaded{imakeidx}{\eledmac@error{Imakeidx must be loaded before eledmac.}}{}%
+ \@ifpackageloaded{imakeidx}{\led@error@ImakeidxAfterEledmac}{}%
\fi
}
% \end{macrocode}
@@ -11263,7 +11369,8 @@
\begingroup
\expandafter\let\csname\@currenvir\endcsname\l@dcollect@@body
\edef\processl@denvbody{\expandafter\noexpand\csname\@currenvir\endcsname}%
- \processl@denvbody}
+ \processl@denvbody%
+ }%
% \end{macrocode}
% \end{macro}
@@ -11614,7 +11721,7 @@
\expandafter\noexpand\csname szp@0@\endcsname=\z@
\let\noexpand\sza@penalty\relax\noexpand\fi%
\def\noexpand\falseverse{%
- \noexpand\eledmac@warning{\string\falseverse\space deprecated. Look at \string\newverse\space instead.}
+ \noexpand\led@war@FalseverseDeprecated%
\global\advance\stanza@modulo-\@ne%
\global\advance\stanza@count-\@ne%
\relax\noexpand&\leavevmode\skipnumbering}
@@ -11732,7 +11839,65 @@
% \end{macrocode}
% \end{macro}
-%
+% \begin{macro}{\disable@familiarnotes}
+% \begin{macro}{\restore@familiarnotes}
+% Macros to disable and restore familiar notes, to prevent them from printing multiple times in edtabularx and edarrayx environments.
+% \begin{macrocode}
+\newcommand{\disable@familiarnotes}{%
+ \def\do##1{%
+ \csletcs{footnote@@##1}{footnote##1}%
+ \expandafter\renewcommand \csname footnote##1\endcsname[1]{%
+ \protected@csxdef{@thefnmark##1}{\csuse{thefootnote##1}}%
+ \csuse{@footnotemark##1}%
+ }%
+ }%
+ \dolistloop{\@series}%
+}%
+\newcommand{\restore@familiarnotes}{%
+ \def\do##1{%
+ \csletcs{footnote##1}{footnote@@##1}%
+ }%
+ \dolistloop{\@series}%
+}%
+
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\disable@sidenotes}
+% \begin{macro}{\restore@sidenotes}
+% The sames, for side notes.
+% \begin{macrocode}
+\newcommand{\disable@sidenotes}{%
+ \let\@@ledrightnote\ledrightnote%
+ \let\@@ledleftnote\ledleftnote%
+ \let\@@ledsidenote\ledsidenote%
+ \let\ledrightnote\@gobble%
+ \let\ledleftnote\@gobble%
+ \let\ledsidenote\@gobble%
+}%
+\newcommand{\restore@sidenotes}{%
+ \let\ledrightnote\@@ledrightnote%
+ \let\ledleftnote\@@ledleftnote%
+ \let\ledsidenote\@@ledsidenote%
+}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\disable@notes}
+% \begin{macro}{\restore@notes}
+% Disable/restore side and familiar notes.
+% \begin{macrocode}
+\newcommand{\disable@notes}{%
+ \disable@sidenotes%
+ \disable@familiarnotes%
+}%
+\newcommand{\restore@notes}{%
+ \restore@sidenotes%
+ \restore@familiarnotes%
+}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
% \begin{macro}{\l@dampcount}
% \begin{macro}{\l@dcolcount}
% |\l@dampcount| is a counter for the \& column dividers and
@@ -12155,7 +12320,7 @@
% Typeset (recursively) cells of display math right justified. (was |\rverteilen|)
% \begin{macrocode}
\def\setmcellright #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0%\removelastskip
\let\Next\relax%
\else\l@dcolcount=0%
@@ -12164,7 +12329,9 @@
\else%
\disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{$\displaystyle{#1}$}%
+ \restore@notes%
\letsforverteilen%
\hskip\hilfsskip$\displaystyle{#1}$%
\hskip\edtabcolsep%
@@ -12178,7 +12345,7 @@
% Typeset (recursively) cells of text right justified. (was |\rverteilentext|)
% \begin{macrocode}
\def\settcellright #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0%\removelastskip
\let\Next\relax%
\else\l@dcolcount=0%
@@ -12187,7 +12354,9 @@
\else%
\disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{#1}%
+ \restore@notes%
\letsforverteilen%
\hskip\hilfsskip#1%
\hskip\edtabcolsep%
@@ -12200,15 +12369,17 @@
% Typeset (recursively) cells of display math left justified. (was |\lverteilen|)
% \begin{macrocode}
\def\setmcellleft #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0 \let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\setmcellleft%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{$\displaystyle{#1}$}%
- \letsforverteilen
+ \restore@notes%
+ \letsforverteilen%
$\displaystyle{#1}$\hskip\hilfsskip\hskip\edtabcolsep%
\let\Next=\setmcellleft%
\fi\Next}
@@ -12220,15 +12391,17 @@
% Typeset (recursively) cells of text left justified. (was |\lverteilentext|)
% \begin{macrocode}
\def\settcellleft #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0 \let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\settcellleft%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{#1}%
- \letsforverteilen
+ \restore@notes%
+ \letsforverteilen%
#1\hskip\hilfsskip\hskip\edtabcolsep%
\let\Next=\settcellleft%
\fi\Next}
@@ -12239,14 +12412,16 @@
% Typeset (recursively) cells of display math centered. (was |\zverteilen|)
% \begin{macrocode}
\def\setmcellcenter #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0\let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\setmcellcenter%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{$\displaystyle{#1}$}%
+ \restore@notes%
\letsforverteilen%
\hskip 0.5\hilfsskip$\displaystyle{#1}$\hskip0.5\hilfsskip%
\hskip\edtabcolsep%
@@ -12260,14 +12435,16 @@
% Typeset (recursively) cells of text centered. (new)
% \begin{macrocode}
\def\settcellcenter #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0 \let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\settcellcenter%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{#1}%
+ \restore@notes%
\letsforverteilen%
\hskip 0.5\hilfsskip #1\hskip 0.5\hilfsskip%
\hskip\edtabcolsep%
@@ -12511,7 +12688,6 @@
\ifnum #1>#2\relax
\l@dstartendokfalse
\led@err@ReverseColumns
-%%% \eledmac@error{Start column is greater than end column}{\@ehc}%
\fi
}
@@ -12701,11 +12877,13 @@
% |\measuretbody|\marg{body} measures the tabular \meta{body}.
% \begin{macrocode}
\newcommand{\measuretbody}[1]{%
+ \disable@notes%
\disablel@dtabfeet%
\l@dcolcount=0%
\nullsetzen%
\l@dcolcount=0
\measuretrow #1\\&\\%
+ \restore@notes%
\global\l@dampcount=1}
% \end{macrocode}
@@ -13028,42 +13206,48 @@
% If he did, he should redefine \cs{initnumbering@sectcmd}.
% \begin{macrocode}
\newcommand{\initnumbering@sectcmd}{
- \newcommand{\ledsection}[2][]{\eledmac@warning{\string\ledsection\space deprecated}%
+ \newcommand{\ledsection}[2][]{%
+ \led@war@ledxxxDeprecated{section}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\section[##1]{##2}\leavevmode\vspace{2.3ex \@plus.2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \WithSuffix\newcommand\ledsection*[1]{\eledmac@warning{\string\ledsection*\space deprecated}%
+ \WithSuffix\newcommand\ledsection*[1]{%
+ \led@war@ledxxxDeprecated{section*}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\section*{##1}\leavevmode\vspace{2.3ex \@plus.2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \newcommand{\ledsubsection}[2][]{\eledmac@warning{\string\ledsubsection*\space deprecated}%
+ \newcommand{\ledsubsection}[2][]{%
+ \led@war@ledxxxDeprecated{subsection}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsection[##1]{##2}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \WithSuffix\newcommand\ledsubsection*[1]{\eledmac@warning{\string\ledsubsection*\space deprecated}%
+ \WithSuffix\newcommand\ledsubsection*[1]{%
+ \led@war@ledxxxDeprecated{subsection*}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsection*{##1}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \newcommand{\ledsubsubsection}[2][]{\eledmac@warning{\string\ledsubsubsection*\space deprecated}%
+ \newcommand{\ledsubsubsection}[2][]{%
+ \led@war@ledxxxDeprecated{subsubsection}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsubsection[##1]{##2}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \WithSuffix\newcommand\ledsubsubsection*[1]{\eledmac@warning{\string\ledsubsubsection*\space deprecated}%
+ \WithSuffix\newcommand\ledsubsubsection*[1]{%
+ \led@war@ledxxxDeprecated{subsubsection*}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsubsection*{##1}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
@@ -13071,7 +13255,7 @@
\ifautopar\else\pstart\fi
}
\newcommand\ledchapter[2][]{%
- \eledmac@warning{\string\ledchapter\space deprecated}%
+ \led@war@ledxxxDeprecated{chapter}%
\ifl@dmemoir%
\gdef\ch@pt@c{##1}%
\fi%
@@ -13080,7 +13264,7 @@
\@patchforledchapter\chapter[##1]{##2}%
\pend\pstart}
\WithSuffix\newcommand\ledchapter*[1]{%
- \eledmac@warning{\string\ledchapter*\space deprecated}%
+ \led@war@ledxxxDeprecated{chapter*}%
~\pend\skipnumbering%
\pstart%
\@patchforledchapter\chapter*{##1}\pend%
@@ -13284,7 +13468,7 @@
\pretocmd{\M@sect}
{\let\old@edtext=\edtext%
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -13312,7 +13496,7 @@
\pretocmd{\@mem@old@ssect}
{\let\old@edtext=\edtext%
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -13340,7 +13524,7 @@
\patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{%
\if@eled@sectioning\else%
- \leavevmode\if@openright\cleardoublepage\else\clearpage\fi%No clearpage inside a \eledsection : will make the critical notes not in the same page than title.
+ \leavevmode\if@openright\cleardoublepage\else\clearpage\fi%No clearpage inside a \eledsection : will keep critical notes from printing on the title page.
\fi%
}%
{}%
@@ -13375,7 +13559,7 @@
\pretocmd{\@sect}
{\let\old@edtext=\edtext
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -13403,7 +13587,7 @@
\pretocmd{\@ssect}
{\let\old@edtext=\edtext%
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -13585,18 +13769,18 @@
{%
\ifstrempty{#1}%
{%
- \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter{#2}}%
+ \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter{#2}}%
\global\csdef{eled@sectmark@#3#5}{\let\edtext=\dummy@edtext{}\chaptermark{#2}}%
}%Need for \pairs, because of using parbox.
{%
- \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter[#1]{#2}}%
+ \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter[#1]{#2}}%
\global\csdef{eled@sectmark@#3#5}{\let\edtext=\dummy@edtext{}\chaptermark{#2}}%Need for \pairs, because of using parbox.
}%
}%
{%
\ifstrempty{#1}%
- {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter*{#2}}}
- {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter*[#1]{#2}}}%Bug in LaTeX!
+ {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter*{#2}}}%
+ {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter*[#1]{#2}}}%Bug in LaTeX!
}%
\listcsgadd{eled@sections#5@@}{#3}%
}
@@ -13810,7 +13994,7 @@
% \subsection{Migration to eledmac 1.5.1}\label{change151}
% The version 1.5.1 corrects a bug with \verb+stanzaindentsrepetition+ (cf. p.~\pageref{stanzaindentsrepetition}). This bug had two consequences:
% \begin{enumerate}
-% \item \verb+stanzaindentsrepetition+ did'nt work when its value was greater than 2.
+% \item \verb+stanzaindentsrepetition+ didn't work when its value was greater than 2.
% \item \verb+stanzaindentsrepetition+ worked wrong when its value was equal to 2.
% \end{enumerate}
%
@@ -13840,6 +14024,9 @@
% \item If you have modified \cs{l@reg}, which is not advisable, you must rename it to \cs{@nl@reg}.
% \end{itemize}
%
+% Anyway, there is another problem. If you have text in brackets just after \cs{pstart} or \cs{pend}, the text will be considered an optional argument of \cs{pstart} or \cs{pend} (see \ref{pstart:optionalarg}, p.~\pageref{pstart:optionalarg}).
+% In this case, just add a \cs{\relax} between \cs{pstart}/\cs{pend} and the brackets.
+
% The version 1.12.0 adds new best way to manage section title inside numbered text. Please read §~\ref{eledsection} (p.~\pageref{eledsection}).
% \clearpage
% \bibliographystyle{alpha}
diff --git a/Master/texmf-dist/source/latex/eledmac/eledpar.dtx b/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
index 9d3458ac6b4..0ebc77660de 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{4628}
+% \CheckSum{4593}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -177,6 +177,8 @@
% \changes{v1.8.0}{2014/08/05}{Add, as in eledmac, possibility to insert something after \cs{pend}s / verses.}
% \changes{v1.8.0}{2014/08/05}{Add, as in eledmac, possibility to insert something between \cs{pstart}s / verse.}
% \changes{v1.8.0}{2014/08/05}{Add, as in eledmac, new system of sectioning commands.}
+% \changes{v1.8.2}{2014/08/15}{Debug left and side note (bugs added by 1.8.0)}
+% \changes{v1.8.2}{2014/08/15}{Debug \cs{eledxxx} with some paper size}
% \hyphenation{man-u-script man-u-scripts}
%
%
@@ -219,7 +221,7 @@
% Note that before September 2012, eledpar was called ledpar. The changes from ledmac/ledpar to eledmac/eledpar is explained in ledmac documentation.
%
% \Lpack{eledpar} provides many tools and options. Normally, they are all documented in this file.
-% However, to help people, a ``\href{examples/.}{examples}'' folder is provided, with example for some needs, but not for all.
+% Also provided is a help folder, ``\href{examples/.}{examples}''. The folder contains additional examples (although not for all cases).
%
% To report bugs, please go to ledmac's GitHub page and click ``New Issue'': \url{https://github.com/maieul/ledmac/issues/}. You must open an account with github.com to access my page (maieul/ledmac). GitHub accounts are free for open-source users. You can report bug in English or in French (better).
%
@@ -517,7 +519,10 @@
% Generally speaking, controls like \cs{firstlinenum} or \cs{linenummargin}
% apply to sequential and left texts. To effect right texts only they have
% to be within a \verb?Rightside? environment.
-
+% \DescribeMacro{\lineationR}
+% \cs{lineationR} macro is the equivalent of \Lpack{eledmac} \cs{lineation} macro for the right side.
+% \DescribeMacro{\lineation*}
+% \cs{lineation*} macro is the equivalent of \Lpack{eledmac} \cs{lineation} macro for both sides.
% If you are using the
% \Lpack{babel} package with different languages
% (via, say, \cs{selectlanguage}) for the left and right texts it is
@@ -601,7 +606,6 @@
% This may be useful for parallel columns but for parallel pages it might
% be more appropriate to redefine it as: \\
% \verb?\renewcommand*{\Rlineflag}{}?.
-%
% \DescribeMacro{\printlinesR}
% \DescribeMacro{\ledsavedprintlines}
% The \cs{printlines} macro is ordinarily used to print the line number
@@ -850,7 +854,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledpar}[2014/08/07 v1.8.1 eledmac extension for parallel texts]%
+\ProvidesPackage{eledpar}[2014/08/15 v1.8.2 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.
@@ -910,10 +914,16 @@
%
% All the error and warning messages are collected here as macros.
%
+% \begin{macro}{\eledpar@error}
+% \changes{v1.8.2}{2014/08/15}{Errors specific to eledpar send to eledpar handbook}
+% \begin{macrocode}
+\newcommand{\eledpar@error}[2]{\PackageError{eledpar}{#1}{#2}}
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\led@err@TooManyPstarts}
% \begin{macrocode}
\newcommand*{\led@err@TooManyPstarts}{%
- \eledmac@error{Too many \string\pstart\space without printing.
+ \eledpar@error{Too many \string\pstart\space without printing.
Some text will be lost}{\@ehc}}
% \end{macrocode}
% \end{macro}
@@ -921,7 +931,7 @@
% \begin{macro}{\led@err@BadLeftRightPstarts}
% \begin{macrocode}
\newcommand*{\led@err@BadLeftRightPstarts}[2]{%
- \eledmac@error{The numbers of left (#1) and right (#2)
+ \eledpar@error{The numbers of left (#1) and right (#2)
\string\pstart s do not match}{\@ehc}}
% \end{macrocode}
% \end{macro}
@@ -930,9 +940,9 @@
% \begin{macro}{\led@err@RightOnLeftPage}
% \begin{macrocode}
\newcommand*{\led@err@LeftOnRightPage}{%
- \eledmac@error{The left page has ended on a right page}{\@ehc}}
+ \eledpar@error{The left page has ended on a right page}{\@ehc}}
\newcommand*{\led@err@RightOnLeftPage}{%
- \eledmac@error{The right page has ended on a left page}{\@ehc}}
+ \eledpar@error{The right page has ended on a left page}{\@ehc}}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -1185,6 +1195,16 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\lineation*}
+% \changes{v1.8.2}{2014/08/15}{Add \cs{lineation*}}
+% \cs{lineation*} change the lineation system for the side.
+% \begin{macrocode}
+\WithSuffix\newcommand\lineation*[1]{%
+ \lineation{#1}%
+ \lineationR{#1}%
+}%
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\linenummargin}
% \begin{macro}{\line@marginR}
% You call \cs{linenummargin}\marg{word} to specify which margin you want your
@@ -2066,24 +2086,7 @@
% \cs{flag@start} and \cs{flag@end}: these send the \cs{@ref}
% command to the line-list file.
% \changes{v0.3}{2005/02/04}{Removed extraneous spaces from\cs{flag@end}}
-% \begin{macrocode}
-\renewcommand*{\flag@start}{%
- \ifledRcol
- \edef\next{\write\linenum@outR{%
- \string\@ref[\the\insert@countR][}}%
- \next
- \else
- \edef\next{\write\linenum@out{%
- \string\@ref[\the\insert@count][}}%
- \next
- \fi}
-\renewcommand*{\flag@end}{%
- \ifledRcol
- \write\linenum@outR{]}%
- \else
- \write\linenum@out{]}%
- \fi}
-% \end{macrocode}
+% \changes{v1.8.2}{2014/08/15}{\cs{flag@start} and \cs{flag@end} are now defined only one time for eledmac and eledpar}
% \end{macro}
% \end{macro}
%
@@ -2745,7 +2748,7 @@
% \changes{v0.11}{2012/06/11}{Change \cs{do@lineL} and \cs{do@lineR} to allow line numbering by pstart (like in eledmac 0.15).}
% \changes{v1.8.0}{2014/08/05}{Change \cs{do@lineR} and \cs{do@lineR} to allow new sectioning commands.}
% \begin{macro}{\do@lineL}
-% \changes{v1.8.1}{2014/08/07}{Fix a bug with critical notes a the begining of a page, added by v1.8.0 (?).}
+% \changes{v1.8.1}{2014/08/07}{Fix a bug with critical notes a the begining of a page, (maybe added by v1.8.0) (?).}
% The \cs{do@lineL} macro is called to
% do all the processing for a single line of left text.
% \changes{v0.3}{2005/02/10}{Added \cs{do@lineLhook} to \cs{do@lineL}}
@@ -2814,10 +2817,10 @@
\@eled@sectioningfalse%
\global\csundef{eled@sectioning@\the\l@dpscL}%
\if@RTL%
- \hspace{-\paperwidth}%
+ \hspace{-3\paperwidth}%
{\hbox{\l@dunhbox@line{\one@line}} \new@line}%
\else%
- \hspace{\paperwidth}%
+ \hspace{3\paperwidth}%
{\new@line \hbox{\l@dunhbox@line{\one@line}}}%
\fi%
\vskip\eledsection@correcting@skip%
@@ -3573,8 +3576,8 @@
% \end{macro}
%
-% \changes{v1.3.3}{2012/12/19}{Debug on the left notes of the right column.}
-% \changes{v1.3.4}{2013/07/03}{Allow to use commands in sidenotes, like it was introduced by eledmac 1.0.}
+% \changes{v1.3.3}{2012/12/19}{Debugging the left notes of the right column.}
+% \changes{v1.3.4}{2013/07/03}{Allow use of commands in sidenotes, as introduced by eledmac 1.0.}
% \changes{v1.8.0}{2014/08/05}{\cs{l@dlsnote},\cs{l@drsnote} and \cs{l@dcsnote} defined only one time, in \Lpack{eledmac}. }
% \begin{macro}{\affixside@noteR}
% The right text version of \cs{affixside@note}.
@@ -3582,19 +3585,20 @@
% \begin{macrocode}
\newcommand*{\affixside@noteR}{%
\def\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\def\do##1{%
\ifnumequal{\itemcount@}{0}%
{%
\appto\sidenotecontent@{##1}}% Not print not separator before the 1st note
{\appto\sidenotecontent@{\sidenotesep ##1}%
}%
- \numdef{\itemcount@}{\itemcount@+1}%
+ \numgdef{\itemcount@}{\itemcount@+1}%
}%
\dolistloop{\l@dcsnotetext}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space sidenotes on line \the\line@numR\space p. \the\page@numR,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManySidenotes}{}%
\gdef\@templ@d{}%
- \ifx\@templ@d\l@dcsnotetext \else%
+ \gdef\@templ@n{\l@dcsnotetext\l@dcsnotetext@l\l@dcsnotetext@r}%
+ \ifx\@templ@d\@templ@n \else%
\if@twocolumn%
\if@firstcolumn%
\setl@dlp@rbox{##1}{\sidenotecontent@}%
@@ -3611,14 +3615,14 @@
\gdef\sidenotecontent@{}%
\numdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@l}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space leftnotes on line \the\line@numR\space p. \the\page@numR,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyLeftnotes}{}%
\setl@dlp@rbox{\sidenotecontent@}%
\else%
\setl@dlp@rbox{\sidenotecontent@}%
\gdef\sidenotecontent@{}%
\numdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@r}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space rightnotes on line \the\line@numR\space p. \the\page@numR,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyRightnotes}{}%
\setl@drp@rbox{\sidenotecontent@}%
\fi%
\fi%
@@ -4246,9 +4250,9 @@
% \end{macro}
% \begin{macro}{\print@columnseparator}
% \changes{v1.8.0}{2014/08/05}{Move some code of \cs{Columns} to \cs{print@columnseparator}.}
-% \cs{print@columnseparator} print the colum separator, with spaces around, following user's setting.
+% \cs{print@columnseparator} prints the column separator, with surrounding spaces (as the user has set them).
% We use the \TeX\ \cs{ifdim} instead of \Lpack{etoolbox}
-% to avoid having \cs{hfill} in a \verb+{}+, which delete some (little) space.
+% to avoid having \cs{hfill} in a \verb+{}+, which deletes some space (but not much).
% \begin{macrocode}
\def\print@columnseparator{%
\ifdim\beforecolumnseparator<0pt%
@@ -4320,7 +4324,7 @@
% \end{macro}
% \begin{macro}{\beforecolumnseparator}
% \begin{macro}{\aftercolumnseparator}
-% \cs{beforecolumnseparator} and \cs{aftercolumnseparator} lengths are defined to \verb+-1pt+. If user change them to a positive length, the lengths are used to define blank spaces before / after the column separator, instead of \cs{hfill}.
+% \cs{beforecolumnseparator} and \cs{aftercolumnseparator} lengths are defined to \verb+-1pt+. If user changes them to a positive length, the lengths are used to define blank spaces before / after the column separator, instead of \cs{hfill}.
% \begin{macrocode}
\newlength{\beforecolumnseparator}%
\setlength{\beforecolumnseparator}{-2pt}%
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
index 37d71b7134c..584c5c658ba 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/08/07 v1.12.2 LaTeX port of EDMAC]%
+\ProvidesPackage{eledmac}[2014/08/15 v1.12.3 LaTeX port of EDMAC]%
\newif\ifledfinal
\newif\ifparapparatus@
\newif\ifnoquotation@
@@ -132,6 +132,42 @@
\eledmac@warning{Bad \string\sidenotemmargin\space argument}}
\newcommand*{\led@warn@NoIndexFile}[1]{%
\eledmac@warning{Undefined index file #1}}
+\newcommand{\led@warn@AddfootinsXObsolete}{%
+ \eledmac@warning{AddfootinsX is obsolete in eledmac 1.0. Use newseries instead.}%
+}%
+\newcommand{\led@warn@AddfootinsObsolete}{%
+ \eledmac@warning{Addfootins is obsolete in eledmac 1.0. Use newseries instead.}%
+}%
+\newcommand{\led@warn@SeriesStillExist}[1]{%
+ \eledmac@warning{Series #1 is still existing !}%
+}%
+\newcommand{\led@err@ManySidenotes}{%
+ \ifledRcol@%
+ \eledmac@warning{\itemcount@\space sidenotes on line \the\line@numR\space p. \the\page@numR}%
+ \else%
+ \eledmac@warning{\itemcount@\space sidenotes on line \the\line@num\space p. \the\page@num}%
+ \fi%
+}%
+\newcommand{\led@err@ManyLeftnotes}{%
+ \ifledRcol@%
+ \eledmac@warning{\itemcount@\space leftnotes on line \the\line@numR\space p. \the\page@numR}%
+ \else%
+ \eledmac@warning{\itemcount@\space leftnotes on line \the\line@num\space p. \the\page@num}%
+ \fi%
+}%
+\newcommand{\led@err@ManyRightnotes}{%
+ \ifledRcol@%
+ \eledmac@warning{\itemcount@\space rightnotes on line \the\line@numR\space p. \the\page@numR}%
+ \else%
+ \eledmac@warning{\itemcount@\space rightnotes on line \the\line@num\space p. \the\page@num}%
+ \fi%
+}%
+\newcommand{\led@war@FalseverseDeprecated}{%
+ \eledmac@warning{\string\falseverse\space deprecated. Look at \string\newverse\space instead.}%
+}%
+\newcommand{\led@war@ledxxxDeprecated}[1]{%
+ \eledmac@warning{\string\led#1\space deprecated. Look at \string\e#1 instead.}%
+}%
\newcommand*{\led@err@TooManyColumns}{%
\eledmac@error{Too many columns}{\@ehc}}
\newcommand*{\led@err@UnequalColumns}{%
@@ -143,6 +179,12 @@
\eledmac@error{End column is too high}{\@ehc}}
\newcommand*{\led@err@ReverseColumns}{%
\eledmac@error{Start column is greater than end column}{\@ehc}}
+\newcommand{\led@err@EdtextWithoutFootnote}{%
+ \eledmac@error{edtext without Xfootnote. Check syntaxis.}{\@ehd}%
+}%
+\newcommand{\led@error@ImakeidxAfterEledmac}{%
+ \eledmac@error{Imakeidx must be loaded before eledmac.}{\@ehd}%
+}%
\newcount\section@num
\section@num=0
\let\extensionchars=\empty
@@ -702,10 +744,28 @@
}
\newcommand*{\flag@start}{%
- \edef\next{\write\linenum@out{%
+ \ifledRcol%
+ \edef\next{\write\linenum@outR{%
+ \string\@ref[\the\insert@countR][}}%
+ \next%
+ \ifnum\insert@countR<1%
+ \led@err@EdtextWithoutFootnote%
+ \fi%
+ \else%
+ \edef\next{\write\linenum@out{%
\string\@ref[\the\insert@count][}}%
- \next}
-\newcommand*{\flag@end}{\write\linenum@out{]}}
+ \next%
+ \ifnum\insert@count<1%
+ \led@err@EdtextWithoutFootnote%
+ \fi%
+ \fi}%
+
+\newcommand*{\flag@end}{%
+ \ifledRcol%
+ \write\linenum@outR{]}%
+ \else%
+ \write\linenum@out{]}%
+ \fi}%
\newcommand*{\page@start}{}
\newcommand*{\startsub}{\dimen0\lastskip
@@ -745,6 +805,7 @@
\list@create{\end@lemmas}
\long\def\dummy@text#1#2/{#1}
\newcommand{\dummy@edtext}[2]{#1}
+\newcommand{\dummy@edtext@showlemma}[2]{\showlemma{#1}}%
\newcommand*{\no@expands}{%
\let\select@@lemmafont=0%
\let\startsub=\relax \let\endsub=\relax
@@ -978,10 +1039,10 @@
\@eled@sectioningfalse%
\global\csundef{eled@sectioning@\the\l@dnumpstartsL}%
\if@RTL%
- \hspace{-\paperwidth}%
+ \hspace{-3\paperwidth}%
{\hbox{\l@dunhbox@line{\one@line}}\new@line}%
\else%
- \hspace{\paperwidth}%
+ \hspace{3\paperwidth}%
{\new@line \hbox{\l@dunhbox@line{\one@line}}}%
\fi%
\vskip-\baselineskip%
@@ -2268,7 +2329,7 @@
}
\newcommand*{\addfootinsX}[1]{%
- \eledmac@warning{AddfootinsX is obsolete in eledmac 1.0. Use newseries instead.}%
+ \led@warn@AddfootinsXObsolete%
\footnormalX{#1}%
\g@addto@macro{\doxtrafeeti}{%
\setbox\@outputbox \vbox{%
@@ -2351,7 +2412,7 @@
}
\newcommand{\@series}{}
\newcommand{\newseries@}[1]{
- \xifinlist{#1}{\@series}{\eledmac@warning{Series #1 is still existing !}}
+ \xifinlist{#1}{\@series}{\led@warn@SeriesStillExist{#1}}%
{%
\newtoggle{Xlemmadisablefontselection@#1}
\newtoggle{Xendlemmadisablefontselection@#1}
@@ -2794,7 +2855,7 @@
}
\newcommand*{\addfootins}[1]{%
- \eledmac@warning{addfootins is deprecated, use newseries instead}
+ \led@warn@AddfootinsObsolete%
\footnormal{#1}
\g@addto@macro{\@opxtrafeetii}{%
\ifvoid\@nameuse{#1footins}\else
@@ -3028,7 +3089,7 @@
\newcommand*{\ledrightnote}[1]{\edtext{}{\l@drsnote{#1}}}
\newcommand*{\ledinnernote}[1]{%
- \ifodd\page@num%
+ \ifodd\c@page% Do not use \page@num, because not yet calculated when command is called
\ledleftnote{#1}%
\else%
\ledrightnote{#1}%
@@ -3036,7 +3097,7 @@
}
\newcommand*{\ledouternote}[1]{%
- \ifodd\page@num%
+ \ifodd\c@page% Do not use \page@num, because not yet calculated when command is called
\ledrightnote{#1}%
\else%
\ledleftnote{#1}%
@@ -3151,19 +3212,20 @@
\newcommand{\sidenotesep}{, }
\newcommand*{\affixside@note}{%
\def\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\def\do##1{%
\ifnumequal{\itemcount@}{0}%
{%
\appto\sidenotecontent@{##1}}% Not print not separator before the 1st note
{\appto\sidenotecontent@{\sidenotesep ##1}%
}%
- \numdef{\itemcount@}{\itemcount@+1}%
+ \numgdef{\itemcount@}{\itemcount@+1}%
}%
\dolistloop{\l@dcsnotetext}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space sidenotes on line \the\line@num\space p. \the\page@num,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManySidenotes}{}%
\gdef\@templ@d{}%
- \ifx\@templ@d\l@dcsnotetext \else%
+ \gdef\@templ@n{\l@dcsnotetext\l@dcsnotetext@l\l@dcsnotetext@r}%
+ \ifx\@templ@d\@templ@n \else%
\if@twocolumn%
\if@firstcolumn%
\setl@dlp@rbox{##1}{\sidenotecontent@}%
@@ -3178,16 +3240,16 @@
\ifodd\@l@dtempcntb%
\setl@drp@rbox{\sidenotecontent@}%
\gdef\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@l}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space leftnotes on line \the\line@num\space p. \the\page@num,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyLeftnotes}{}%
\setl@dlp@rbox{\sidenotecontent@}%
\else%
\setl@dlp@rbox{\sidenotecontent@}%
\gdef\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@r}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space rightnotes on line \the\line@num\space p. \the\page@num,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyRightnotes}{}%
\setl@drp@rbox{\sidenotecontent@}%
\fi%
\fi%
@@ -3329,7 +3391,7 @@
\@ifpackageloaded{imakeidx}{\eledmac@after@imakeidx@true}{}
\AtBeginDocument{%
\ifeledmac@after@imakeidx@\else%
- \@ifpackageloaded{imakeidx}{\eledmac@error{Imakeidx must be loaded before eledmac.}}{}%
+ \@ifpackageloaded{imakeidx}{\led@error@ImakeidxAfterEledmac}{}%
\fi
}
\newcommand{\pagelinesep}{-}
@@ -3507,7 +3569,8 @@
\begingroup
\expandafter\let\csname\@currenvir\endcsname\l@dcollect@@body
\edef\processl@denvbody{\expandafter\noexpand\csname\@currenvir\endcsname}%
- \processl@denvbody}
+ \processl@denvbody%
+ }%
\def\l@dpush@begins#1\begin#2{%
\ifx\end#2\else b\expandafter\l@dpush@begins\fi}
@@ -3600,7 +3663,7 @@
\expandafter\noexpand\csname szp@0@\endcsname=\z@
\let\noexpand\sza@penalty\relax\noexpand\fi%
\def\noexpand\falseverse{%
- \noexpand\eledmac@warning{\string\falseverse\space deprecated. Look at \string\newverse\space instead.}
+ \noexpand\led@war@FalseverseDeprecated%
\global\advance\stanza@modulo-\@ne%
\global\advance\stanza@count-\@ne%
\relax\noexpand&\leavevmode\skipnumbering}
@@ -3650,6 +3713,44 @@
\let\edrowfill=0%
}
+\newcommand{\disable@familiarnotes}{%
+ \def\do##1{%
+ \csletcs{footnote@@##1}{footnote##1}%
+ \expandafter\renewcommand \csname footnote##1\endcsname[1]{%
+ \protected@csxdef{@thefnmark##1}{\csuse{thefootnote##1}}%
+ \csuse{@footnotemark##1}%
+ }%
+ }%
+ \dolistloop{\@series}%
+}%
+\newcommand{\restore@familiarnotes}{%
+ \def\do##1{%
+ \csletcs{footnote##1}{footnote@@##1}%
+ }%
+ \dolistloop{\@series}%
+}%
+
+\newcommand{\disable@sidenotes}{%
+ \let\@@ledrightnote\ledrightnote%
+ \let\@@ledleftnote\ledleftnote%
+ \let\@@ledsidenote\ledsidenote%
+ \let\ledrightnote\@gobble%
+ \let\ledleftnote\@gobble%
+ \let\ledsidenote\@gobble%
+}%
+\newcommand{\restore@sidenotes}{%
+ \let\ledrightnote\@@ledrightnote%
+ \let\ledleftnote\@@ledleftnote%
+ \let\ledsidenote\@@ledsidenote%
+}%
+\newcommand{\disable@notes}{%
+ \disable@sidenotes%
+ \disable@familiarnotes%
+}%
+\newcommand{\restore@notes}{%
+ \restore@sidenotes%
+ \restore@familiarnotes%
+}%
\newcount\l@dampcount
\l@dampcount=1\relax
\newcount\l@dcolcount
@@ -3838,7 +3939,7 @@
\def\edlabel##1{\xedlabel{##1}}}
\def\setmcellright #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0%\removelastskip
\let\Next\relax%
\else\l@dcolcount=0%
@@ -3847,7 +3948,9 @@
\else%
\disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{$\displaystyle{#1}$}%
+ \restore@notes%
\letsforverteilen%
\hskip\hilfsskip$\displaystyle{#1}$%
\hskip\edtabcolsep%
@@ -3855,7 +3958,7 @@
\fi\Next}
\def\settcellright #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0%\removelastskip
\let\Next\relax%
\else\l@dcolcount=0%
@@ -3864,48 +3967,56 @@
\else%
\disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{#1}%
+ \restore@notes%
\letsforverteilen%
\hskip\hilfsskip#1%
\hskip\edtabcolsep%
\let\Next=\settcellright%
\fi\Next}
\def\setmcellleft #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0 \let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\setmcellleft%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{$\displaystyle{#1}$}%
- \letsforverteilen
+ \restore@notes%
+ \letsforverteilen%
$\displaystyle{#1}$\hskip\hilfsskip\hskip\edtabcolsep%
\let\Next=\setmcellleft%
\fi\Next}
\def\settcellleft #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0 \let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\settcellleft%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{#1}%
- \letsforverteilen
+ \restore@notes%
+ \letsforverteilen%
#1\hskip\hilfsskip\hskip\edtabcolsep%
\let\Next=\settcellleft%
\fi\Next}
\def\setmcellcenter #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0\let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\setmcellcenter%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{$\displaystyle{#1}$}%
+ \restore@notes%
\letsforverteilen%
\hskip 0.5\hilfsskip$\displaystyle{#1}$\hskip0.5\hilfsskip%
\hskip\edtabcolsep%
@@ -3913,14 +4024,16 @@
\fi\Next}
\def\settcellcenter #1&{\def\edlabel##1{}%
- \let\edindex\nulledindex
+ \let\edindex\nulledindex
\ifx #1\\ \ifnum\l@dcolcount=0 \let\Next\relax%
\else\l@dcolcount=0%
\let\Next=\settcellcenter%
\fi%
\else \disablel@dtabfeet%
\stepl@dcolcount%
+ \disable@notes%
\setbox\hilfsbox=\hbox{#1}%
+ \restore@notes%
\letsforverteilen%
\hskip 0.5\hilfsskip #1\hskip 0.5\hilfsskip%
\hskip\edtabcolsep%
@@ -4023,7 +4136,6 @@
\ifnum #1>#2\relax
\l@dstartendokfalse
\led@err@ReverseColumns
-%%% \eledmac@error{Start column is greater than end column}{\@ehc}%
\fi
}
@@ -4113,11 +4225,13 @@
\enablel@dtabfeet}
\newcommand{\measuretbody}[1]{%
+ \disable@notes%
\disablel@dtabfeet%
\l@dcolcount=0%
\nullsetzen%
\l@dcolcount=0
\measuretrow #1\\&\\%
+ \restore@notes%
\global\l@dampcount=1}
\newcommand{\ltab}[1]{%
@@ -4246,42 +4360,48 @@
\usingedtext
\newcommand{\initnumbering@sectcmd}{
- \newcommand{\ledsection}[2][]{\eledmac@warning{\string\ledsection\space deprecated}%
+ \newcommand{\ledsection}[2][]{%
+ \led@war@ledxxxDeprecated{section}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\section[##1]{##2}\leavevmode\vspace{2.3ex \@plus.2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \WithSuffix\newcommand\ledsection*[1]{\eledmac@warning{\string\ledsection*\space deprecated}%
+ \WithSuffix\newcommand\ledsection*[1]{%
+ \led@war@ledxxxDeprecated{section*}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\section*{##1}\leavevmode\vspace{2.3ex \@plus.2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \newcommand{\ledsubsection}[2][]{\eledmac@warning{\string\ledsubsection*\space deprecated}%
+ \newcommand{\ledsubsection}[2][]{%
+ \led@war@ledxxxDeprecated{subsection}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsection[##1]{##2}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \WithSuffix\newcommand\ledsubsection*[1]{\eledmac@warning{\string\ledsubsection*\space deprecated}%
+ \WithSuffix\newcommand\ledsubsection*[1]{%
+ \led@war@ledxxxDeprecated{subsection*}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsection*{##1}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \newcommand{\ledsubsubsection}[2][]{\eledmac@warning{\string\ledsubsubsection*\space deprecated}%
+ \newcommand{\ledsubsubsection}[2][]{%
+ \led@war@ledxxxDeprecated{subsubsection}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsubsection[##1]{##2}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
\vspace{-2\parskip}\vspace{-2\baselineskip}%
\ifautopar\else\pstart\fi
}
- \WithSuffix\newcommand\ledsubsubsection*[1]{\eledmac@warning{\string\ledsubsubsection*\space deprecated}%
+ \WithSuffix\newcommand\ledsubsubsection*[1]{%
+ \led@war@ledxxxDeprecated{subsubsection*}%
\leavevmode\pend\vspace{3.5ex \@plus 1ex \@minus .2ex}\ifl@dpairing\else\skipnumbering\fi%
\pstart%
\leavevmode\ifledsecnolinenumber\skipnumbering\fi\subsubsection*{##1}\leavevmode\vspace{1.5ex \@plus .2ex}\skipnumbering\pend%
@@ -4289,7 +4409,7 @@
\ifautopar\else\pstart\fi
}
\newcommand\ledchapter[2][]{%
- \eledmac@warning{\string\ledchapter\space deprecated}%
+ \led@war@ledxxxDeprecated{chapter}%
\ifl@dmemoir%
\gdef\ch@pt@c{##1}%
\fi%
@@ -4298,7 +4418,7 @@
\@patchforledchapter\chapter[##1]{##2}%
\pend\pstart}
\WithSuffix\newcommand\ledchapter*[1]{%
- \eledmac@warning{\string\ledchapter*\space deprecated}%
+ \led@war@ledxxxDeprecated{chapter*}%
~\pend\skipnumbering%
\pstart%
\@patchforledchapter\chapter*{##1}\pend%
@@ -4420,7 +4540,7 @@
\pretocmd{\M@sect}
{\let\old@edtext=\edtext%
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -4448,7 +4568,7 @@
\pretocmd{\@mem@old@ssect}
{\let\old@edtext=\edtext%
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -4476,7 +4596,7 @@
\patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{%
\if@eled@sectioning\else%
- \leavevmode\if@openright\cleardoublepage\else\clearpage\fi%No clearpage inside a \eledsection : will make the critical notes not in the same page than title.
+ \leavevmode\if@openright\cleardoublepage\else\clearpage\fi%No clearpage inside a \eledsection : will keep critical notes from printing on the title page.
\fi%
}%
{}%
@@ -4511,7 +4631,7 @@
\pretocmd{\@sect}
{\let\old@edtext=\edtext
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -4539,7 +4659,7 @@
\pretocmd{\@ssect}
{\let\old@edtext=\edtext%
- \let\edtext=\dummy@edtext%
+ \let\edtext=\dummy@edtext@showlemma%
}
{}
{}
@@ -4674,18 +4794,18 @@
{%
\ifstrempty{#1}%
{%
- \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter{#2}}%
+ \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter{#2}}%
\global\csdef{eled@sectmark@#3#5}{\let\edtext=\dummy@edtext{}\chaptermark{#2}}%
}%Need for \pairs, because of using parbox.
{%
- \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter[#1]{#2}}%
+ \global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter[#1]{#2}}%
\global\csdef{eled@sectmark@#3#5}{\let\edtext=\dummy@edtext{}\chaptermark{#2}}%Need for \pairs, because of using parbox.
}%
}%
{%
\ifstrempty{#1}%
- {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter*{#2}}}
- {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext\chapter*[#1]{#2}}}%Bug in LaTeX!
+ {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter*{#2}}}%
+ {\global\csdef{eled@sectioning@#3#5}{\let\edtext=\dummy@edtext@showlemma\chapter*[#1]{#2}}}%Bug in LaTeX!
}%
\listcsgadd{eled@sections#5@@}{#3}%
}
@@ -4786,6 +4906,7 @@
\fi%
\fi\fi\fi%
}
+
\endinput
%%
%% End of file `eledmac.sty'.
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty
index 77d996a63d1..bf98ff1bd66 100644
--- a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty
+++ b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty
@@ -22,9 +22,8 @@
%%
%% This work consists of the files listed in the README file.
%%
-
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledpar}[2014/08/07 v1.8.1 eledmac extension for parallel texts]%
+\ProvidesPackage{eledpar}[2014/08/15 v1.8.2 eledmac extension for parallel texts]%
\newif\ifshiftedpstarts
\let\shiftedversestrue\shiftedpstartstrue
@@ -42,16 +41,17 @@
\newdimen\Rcolwidth
\Rcolwidth=0.45\textwidth
+\newcommand{\eledpar@error}[2]{\PackageError{eledpar}{#1}{#2}}
\newcommand*{\led@err@TooManyPstarts}{%
- \eledmac@error{Too many \string\pstart\space without printing.
+ \eledpar@error{Too many \string\pstart\space without printing.
Some text will be lost}{\@ehc}}
\newcommand*{\led@err@BadLeftRightPstarts}[2]{%
- \eledmac@error{The numbers of left (#1) and right (#2)
+ \eledpar@error{The numbers of left (#1) and right (#2)
\string\pstart s do not match}{\@ehc}}
\newcommand*{\led@err@LeftOnRightPage}{%
- \eledmac@error{The left page has ended on a right page}{\@ehc}}
+ \eledpar@error{The left page has ended on a right page}{\@ehc}}
\newcommand*{\led@err@RightOnLeftPage}{%
- \eledmac@error{The right page has ended on a left page}{\@ehc}}
+ \eledpar@error{The right page has ended on a left page}{\@ehc}}
\newcount\section@numR
\section@numR=\z@
\pst@rtedLfalse
@@ -182,6 +182,10 @@
\fi
\fi
\fi}}
+\WithSuffix\newcommand\lineation*[1]{%
+ \lineation{#1}%
+ \lineationR{#1}%
+}%
\newcount\line@marginR
\renewcommand*{\linenummargin}[1]{{%
\l@dgetline@margin{#1}%
@@ -623,22 +627,6 @@
\write\linenum@out{\string\@nl[\the\c@page][\thepage]}}
\newcommand*{\new@lineR}{%
\write\linenum@outR{\string\@nl[\the\c@page][\thepage]}}
-\renewcommand*{\flag@start}{%
- \ifledRcol
- \edef\next{\write\linenum@outR{%
- \string\@ref[\the\insert@countR][}}%
- \next
- \else
- \edef\next{\write\linenum@out{%
- \string\@ref[\the\insert@count][}}%
- \next
- \fi}
-\renewcommand*{\flag@end}{%
- \ifledRcol
- \write\linenum@outR{]}%
- \else
- \write\linenum@out{]}%
- \fi}
\renewcommand*{\startsub}{\dimen0\lastskip
\ifdim\dimen0>0pt \unskip \fi
\ifledRcol \write\linenum@outR{\string\sub@on}%
@@ -1025,10 +1013,10 @@
\@eled@sectioningfalse%
\global\csundef{eled@sectioning@\the\l@dpscL}%
\if@RTL%
- \hspace{-\paperwidth}%
+ \hspace{-3\paperwidth}%
{\hbox{\l@dunhbox@line{\one@line}} \new@line}%
\else%
- \hspace{\paperwidth}%
+ \hspace{3\paperwidth}%
{\new@line \hbox{\l@dunhbox@line{\one@line}}}%
\fi%
\vskip\eledsection@correcting@skip%
@@ -1493,19 +1481,20 @@
\newcommand*{\affixside@noteR}{%
\def\sidenotecontent@{}%
- \numdef{\itemcount@}{0}%
+ \numgdef{\itemcount@}{0}%
\def\do##1{%
\ifnumequal{\itemcount@}{0}%
{%
\appto\sidenotecontent@{##1}}% Not print not separator before the 1st note
{\appto\sidenotecontent@{\sidenotesep ##1}%
}%
- \numdef{\itemcount@}{\itemcount@+1}%
+ \numgdef{\itemcount@}{\itemcount@+1}%
}%
\dolistloop{\l@dcsnotetext}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space sidenotes on line \the\line@numR\space p. \the\page@numR,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManySidenotes}{}%
\gdef\@templ@d{}%
- \ifx\@templ@d\l@dcsnotetext \else%
+ \gdef\@templ@n{\l@dcsnotetext\l@dcsnotetext@l\l@dcsnotetext@r}%
+ \ifx\@templ@d\@templ@n \else%
\if@twocolumn%
\if@firstcolumn%
\setl@dlp@rbox{##1}{\sidenotecontent@}%
@@ -1522,14 +1511,14 @@
\gdef\sidenotecontent@{}%
\numdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@l}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space leftnotes on line \the\line@numR\space p. \the\page@numR,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyLeftnotes}{}%
\setl@dlp@rbox{\sidenotecontent@}%
\else%
\setl@dlp@rbox{\sidenotecontent@}%
\gdef\sidenotecontent@{}%
\numdef{\itemcount@}{0}%
\dolistloop{\l@dcsnotetext@r}%
- \ifnumgreater{\itemcount@}{1}{\eledmac@warning{\itemcount@\space rightnotes on line \the\line@numR\space p. \the\page@numR,}}{}%
+ \ifnumgreater{\itemcount@}{1}{\led@err@ManyRightnotes}{}%
\setl@drp@rbox{\sidenotecontent@}%
\fi%
\fi%