ledmac icon indicating copy to clipboard operation
ledmac copied to clipboard

Prose text with verses and pstartnumber

Open Doc73 opened this issue 8 years ago • 3 comments

Dear Maieul, please, give a look to this MWE:

% !TeX program = xelatex
% !TeX encoding = UTF-8
% !TeX spellcheck = it_IT

\documentclass[11pt,a4paper]{book}

\usepackage{libertine}
\usepackage{polyglossia}

\usepackage[noeledsec,noledgroup,series={A,B,C}]{reledmac}
\usepackage[continuousnumberingwithcolumns]{reledpar}

\begin{document}
\beginnumbering
\numberpstarttrue

\pstart%
First pstart
\pend

\pstart
Second pstart, containing a verse:
\pend

\numberpstartfalse
\setstanzaindents{5,2,1,1}
\stanza
Nel mezzo del cammin di nostra vita&
mi ritrovai per una selva oscura,&
ché la diritta via era smarrita.\&

%\setcounter{pstart}{3}
\numberpstarttrue
\pstart
Third pstart
\pend

\numberpstartfalse
\endnumbering

\end{document}

I'd expect that third pstart have number 3, but it receives number 6, as if each verse had been counted as a paragraph.

Doc73 avatar Sep 05 '17 16:09 Doc73

yes, technically, each verse is a pstart.

The main problem is that when \numberpstartfalse is set, the counter is also increased.

I hesitate to change this feature, because that could have not desirable effect

But in parallel typesetting, that is not the behavior. I will look on this point as soon as possible

maieul avatar Sep 05 '17 16:09 maieul

Ok! In the meanwhile, I'll fix pstart number by \setcounter{pstart}{3}

Doc73 avatar Sep 05 '17 16:09 Doc73

the problem happens with 5a9a0f52abec925c34f81b50b086d49d16b3801c which was done to solve #49.

So I have to look carefuly to avoid breaking this feature.

maieul avatar Sep 05 '17 17:09 maieul