paddymcall / SARIT-pdf-conversions

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

Indentation of verses broken #37

Open ppasedach opened 8 years ago

ppasedach commented 8 years ago

selection_103

paddymcall commented 8 years ago

please indicate source of this: revision + filename + linenumber (or xpath)

ppasedach commented 8 years ago

https://github.com/ppasedach/SARIT-corpus/blob/8ff956809441cb2d6451af6f794b1a4aa4e7709e/haravijaya.xml , starting at line 82 roughly.

paddymcall commented 8 years ago

This seems like a reledmac issue:

problem:

\documentclass{article}%

\usepackage{reledmac}
\setlength{\stanzaindentbase}{20pt}
\setstanzaindents{3,2,2}
% \setstanzapenalties{1,5000,10500}

\begin{document}
\begingroup
\beginnumbering% beginning numbering from div depth=0

\section{chapter 1}     
\stanza[\smallbreak]
there was an old party of lyme who married three wives at one time \&[\smallbreak]

\endnumbering% ending numbering from div
\endgroup
\end{document}

no problem:

\documentclass{article}%

\usepackage{reledmac}
\setlength{\stanzaindentbase}{20pt}
\setstanzaindents{3,2,2}
% \setstanzapenalties{1,5000,10500}

\begin{document}

\section{chapter 1}     
\begingroup
\beginnumbering% beginning numbering from div depth=0

\stanza[\smallbreak]
there was an old party of lyme who married three wives at one time \&[\smallbreak]

\endnumbering% ending numbering from div
\endgroup
\end{document}

in the latter example, the section is outside the numbering.