On 15/08/2010 21:43, Arno Trautmann wrote:
> Hi all,
>
> is there a possibility to use package options, i.e.
>
> \usepackage[figure]{mypackage}
>
> via expl3? I didn’t find anything in l3keys – do I have to use xkeyval
> for package option processing?
>
> cheers
> Arno
>
Hello Arno,
This is what l3keys2e is for: l3keys does the 'LaTeX3' side, l3keys2e
does the 'LaTeX2e interface' part. You want
\RequirePackage{l3keys2e}
\ProcessKeysOptions{<module>}
or
\RequirePackage{l3keys2e}
\ProcessKeysPackageOptions{<module>}
depending on whether global options should be parsed.
--
Joseph Wright