# Error when compiling with Tex Live 2015: eledmac package

I've just recently upgraded to Tex Live 2015 and I have several files using eledmac package. With the new distribution I get this error in my .log file:

    /usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:84: Undefined control sequence.

l.84 \reserveinserts
{32}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:84: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.84 \reserveinserts{3
2}
(/usr/local/texlive/2015/texmf-dist/tex/latex/bigfoot/suffix.sty) (/usr/local/texlive/2015/texmf-dist/tex/generic/xstring/xstring.sty (/usr/local/texlive/2015/texmf-dist/tex/generic/xstring/xstring.tex)) (/usr/local/texlive/2015/texmf-dist/tex/latex/ms/ragged2e.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/ms/everysel.sty))
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:98: Undefined control sequence.

l.98 \reserveinserts
{32}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:98: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.98 \reserveinserts{3
2}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}

)


It's obviously related to eledmac package. Any hints on how can I get this fixed?

Thanks

• an update for that went to ctan I'm sure (doesn't seem to have made it to tl update yet) for now you can just do \def\reseveinserts#1{} so the error goes. – David Carlisle Jun 16 '15 at 16:35

install the last version of eledmac which is in the CTAN, or wait for install by tlmgr. That is linked to the change of etoolbox behavior with the last version LaTeX 2015. It has been fixed, but between the frozen of TeXLive 2014 and the release of TeXLive2015.

you can also add

\usepackage{etex}


I have created an updated eledmac.sty from the latest version of the package. It did not solve the problem for me. Neither when I added \usepackage{etex}.