mhelvens / latex-pkgloader

a LaTeX package for managing the options and loading order of other packages
LaTeX Project Public License v1.3c
33 stars 3 forks source link

Cannot load pkgloader #6

Closed jnyrup closed 8 years ago

jnyrup commented 8 years ago

Trying to typeset the following throws multiple errors.

\RequirePackage{pkgloader}
\documentclass{article}
\usepackage{algorithm}
\usepackage{hyperref}
\usepackage{float}
\LoadPackagesNow
\begin{document}
\end{document}

Here is the log.

mhelvens commented 8 years ago

Right. This is, in fact, a bug in the withargs package. It uses the \int_case:nnn function, which was removed in a recent update of expl3. The function is now called \int_case:nnF. As a quick fix, try to replace the function name in withargs.sty. (Alternatively, use an earlier version of expl3.)

I'll try to get out a fixed version as soon as possible, but it may have to wait a week or so. In the meantime, I'd like to hear if the above fix works for you.

Thanks!

jnyrup commented 8 years ago

Patching withargs.sty solves the problem.

Thanks!

mhelvens commented 8 years ago

Good to hear. But withargs is also a package of mine, so I still need to fix it. ;-)