paddymcall / SARIT-pdf-conversions

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

! Package eledmac Error: \beginnumbering...\endnumbering without \pstart. #5

Closed ppasedach closed 8 years ago

ppasedach commented 8 years ago

Some eledmac problem:

! Package eledmac Error: \beginnumbering...\endnumbering without \pstart.

See the eledmac package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

\GenericError  ...                                
                                                  \endgroup 
\endnumbering ...0\led@err@NumberingWithoutPstart 
                                                  \fi \ifl@dpairing \global ...

\pausenumbering ...ar@pausetrue \fi \endnumbering 
                                                  \global \numberingtrue 
l.165 ^^I    \pausenumbering

The corresponding section in the tex file:

            \begingroup
            \beginnumbering% beginning numbering from div depth=0
            \autopar

            \pausenumbering

\part*{Index of verses in the Pramā\-ṇavā\-rttika}
            \resumenumbering

The problem appears to be the use of \pausenumbering after \autopar without an actual paragraph in between (which would supply the \pstart latex is missing).

paddymcall commented 8 years ago

Tried to improve this in https://github.com/paddymcall/SARIT-pdf-conversions/commit/7d6dbcc5991e48bf4a0af9dd0dd05cc960c3e21e, please see if this fixes it.