paddymcall / SARIT-pdf-conversions

XML to PDF for SARIT texts
https://github.com/sarit/SARIT-corpus
2 stars 1 forks source link

linenumbering around labels #8

Closed paddymcall closed 8 years ago

paddymcall commented 8 years ago

There are labes with attribute type="head" in the document. It seems the reledmac linenumbering brakes around them. What exactly is the problem in the latex file?

ppasedach commented 8 years ago

It is connected to \autopar. See the example below. If you want to get rid of it anyway, it will solve this one, too.

\documentclass{memoir}
\usepackage{lipsum,reledmac}
\firstlinenum{1} \linenumincrement{1}

\begin{document}
\beginnumbering
%\autopar
\pstart % Comment out this line for testing \autopar.

\lipsum[1]

\begin{center}
something
\end{center}

\lipsum[2]
\pend % Comment out this line for testing \autopar.
\endnumbering
\end{document}