line numbering of sectioning commands
Arguments of sectioning comands longer than one line are numbered as a single line. The section of the MWE is runing over two lines, but it will be numbered as one line.
\documentclass[twoside,12pt]{book} \usepackage{polyglossia,fontspec,xunicode} \usepackage{libertineotf} \setmainlanguage{english}
\usepackage{eledmac} \linenumincrement{1} \firstlinenum{1}
\begin{document}
\beginnumbering \beforeeledchapter \pstart \eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}} \pend
\pstart \eledsection{long section long section long section long section long section\ledsidenote{section}} \pend
\pstart text text text text text text text text text text text text text text text text text \pend \endnumbering
\end{document}
hum, it will be difficult to solve this problem. Especially in the case of a chapter… did the "chapter" text must be numbering.
A title is a semantic unity, and have only one number is "normal".
I will do some test...
Simple solution:
\documentclass[twoside,12pt]{book}
\usepackage{polyglossia,fontspec,xunicode}
\usepackage{libertineotf}
\setmainlanguage{english}
\usepackage{eledmac}
\linenumincrement{1}
\firstlinenum{1}
\begin{document}
\beginnumbering
\beforeeledchapter
\pstart
\eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}}
\pend
\pstart
\eledsection{long section long section long \\ section long section long section\ledsidenote{section}}
\pend
\pstart
text text text text text text text text text text text text text text text text text
\pend
\endnumbering
\end{document}
indeed, in this particular cas it correctly count the line number but it does not print it. The problem must be solved in eledmac, to add the line number when printing each line...
Thank you for your rapid verifying, and also thanks to Domenico for the proposal! -----Original-Nachricht----- Betreff: Re: [ledmac] line numbering of sectioning commands (#197) Datum: Tue, 26 Aug 2014 10:59:29 +0200 Von: Maïeul Rouquette [email protected] An: maieul/ledmac [email protected] hum, it will be difficult to solve this problem. Especially in the case of a chapter… did the "chapter" text must be numbering. A title is a semantic unity, and have only one number is "normal". I will do some test... —Reply to this email directly or view it on GitHub.