4

I read in the l3keys2e documentation that this package was obsolete.

What is the new way of dealing with package options? At the moment, I'm using \ProcessKeysPackageOptions.

1 Answer 1

6

Yes, we have integrated into the kernel a very slightly modified method:

\ProcessKeyOptions [ <family> ]

There is no 'just the package' command in the kernel, as this behaviour did not match that of the 'classical' \ProcessOptions command.

5
  • By 'no "just the package" command' do you just mean there's no command to process just the options given for this package?
    – cfr
    Sep 22, 2023 at 15:38
  • 2
    I mean there's not a direct equivalent of \ProcessKeysPackageOptions, only of \ProcessKeysOptions: we talked about this in the team, and the conclusion was that the options to \documentclass have always been intended to be global so packages should not just 'ignore' them .
    – Joseph Wright
    Sep 22, 2023 at 15:45
  • Thanks. That's what I thought you must mean, but wasn't entirely sure.
    – cfr
    Sep 22, 2023 at 15:49
  • Is there a simple tutorial to migrate from the old style to the new one?
    – projetmbc
    Sep 22, 2023 at 19:03
  • Here is a link talking about that: tex.stackexchange.com/questions/648584/… .
    – projetmbc
    Sep 22, 2023 at 19:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .