The release 2015 of LaTeX has included features of the etex.sty package. However, it does not have included the \reserveinserts command.

My questions is very simple: what is the mechanism to use to have the same feature as \reserveinserts.

My other question is: does http://latex-project.org/ltnews/ltnews22.pdf the correct file which explain this change?

  • eledmac specifies a whole load of packages twice (xargs,etoolbox,suffix,xstring,etoolbox,ifluatex,ragged2e} and does \reserveinserts{32} twice so allocating 64 inserts. It would be better if it just specified the packages once, and did \ifx\reserveinserts\@undefined\else\reserveinserts{32}\fi – David Carlisle May 28 '15 at 13:50
  • I have corrected the bug for loading twice time package in the last version (1.23.1). I will add the test on \reserveinserts. Many thanks. – Maïeul May 28 '15 at 13:55

You should not need to use \reserveinserts at all. If you need an insert just use \newinsert and allocate one.

This isn't really a change, so is not mentioned in latex news 22. \reserveinserts was not previously in the format so the fact that it is not in the format now is not a change, and if you load etex.sty then that package's allocation will still be used, and \reserveinserts will work as before.

So the only change is that in most cases it is now better not to load the etex package and instead use the format allocation macros.

  • so the need of \reserveinserts is not more required because of the change ? but for the user who used previous version of LaTeX, it was useful to prevent conflitc? – Maïeul May 28 '15 at 11:53
  • (ps : in my case, the problem is that I was loading etex via etoolbox, and etoolbox now don't load it.) – Maïeul May 28 '15 at 11:54
  • @Maïeul it wasn't very useful as far as I can see:-) If there is a plausible use case I could add something to elocalloc which is adding some other less used bits of etex.sty back, but currently I don't see any real need. – David Carlisle May 28 '15 at 11:55
  • @Maïeul OK so that's a change in etoolbox rather than in latex, so documented in that package's documentation rather than ltnews. – David Carlisle May 28 '15 at 11:57
  • @Maïeul even if a user is using a big class like memoir then \documentclass{memoir} \usepackage{eledmac} there are over 50 inserts available for \newseries on the other hand if the user has \documentclass{memoir} \usepackage{tikz,pstricks} \usepackage{eledmac} then the dimens have been allocated anyway so it would not have been possible to reserve them, and you need to load eledmac earlier. – David Carlisle May 28 '15 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.